Class MigrationOperation
A single, provider-agnostic operation declared by a Migration through the fluent IMigrationBuilder. A provider's IMigrationExecutor knows how to apply it.
public abstract class MigrationOperation
- Inheritance
-
MigrationOperation
- Derived
- Inherited Members
Constructors
MigrationOperation(Type)
Initializes the operation for the supplied entity type.
protected MigrationOperation(Type entityType)
Parameters
entityTypeTypeThe entity type.
Properties
EntityType
The entity type (collection/container) the operation targets.
public Type EntityType { get; }