Table of Contents

Class AddFieldOperation

Namespace
eQuantic.Core.Data.Migration
Assembly
eQuantic.Core.Data.dll

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

entityType Type
field LambdaExpression

Properties

Field

The member selector — the member exists on the entity; the operation adds its stored column.

public LambdaExpression Field { get; }

Property Value

LambdaExpression