Table of Contents

Class PropertyAccessorCodeFragment

Namespace
Microsoft.EntityFrameworkCore.Design
Assembly
Microsoft.EntityFrameworkCore.dll

Represents a property accessor lambda code fragment.

public class PropertyAccessorCodeFragment
Inheritance
PropertyAccessorCodeFragment
Inherited Members

Constructors

PropertyAccessorCodeFragment(string, IReadOnlyList<string>)

Initializes a new instance of the PropertyAccessorCodeFragment class.

public PropertyAccessorCodeFragment(string parameter, IReadOnlyList<string> properties)

Parameters

parameter string

The name of the lambda's parameter.

properties IReadOnlyList<string>

The list of properties represented by the lambda.

Properties

Parameter

Gets the name of the lambda's parameter.

public virtual string Parameter { get; }

Property Value

string

The name of the paramenter.

Properties

Gets the list of properties represented by the lambda.

public virtual IReadOnlyList<string> Properties { get; }

Property Value

IReadOnlyList<string>

The list of properties.