Class AddFieldOperation
Adds the column/field for an entity member to an existing table (document stores gain fields on write).
public sealed class AddFieldOperation : MigrationOperation
- Inheritance
-
AddFieldOperation
- Inherited Members
Constructors
AddFieldOperation(Type, LambdaExpression)
Adds the column/field for an entity member to an existing table (document stores gain fields on write).
public AddFieldOperation(Type entityType, LambdaExpression field)
Parameters
entityTypeTypefieldLambdaExpression
Properties
Field
The member selector — the member exists on the entity; the operation adds its stored column.
public LambdaExpression Field { get; }