AlterOperationBuilder<TOperation> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A builder for IAlterMigrationOperation operations.
public class AlterOperationBuilder<TOperation> : Microsoft.EntityFrameworkCore.Migrations.Operations.Builders.OperationBuilder<TOperation> where TOperation : MigrationOperation, IAlterMigrationOperation
[System.Runtime.CompilerServices.Nullable(new System.Byte[] { 0, 1 })]
public class AlterOperationBuilder<TOperation> : Microsoft.EntityFrameworkCore.Migrations.Operations.Builders.OperationBuilder<TOperation> where TOperation : MigrationOperation, IAlterMigrationOperation
type AlterOperationBuilder<'Operation (requires 'Operation :> MigrationOperation and 'Operation :> IAlterMigrationOperation)> = class
inherit OperationBuilder<'Operation (requires 'Operation :> MigrationOperation and 'Operation :> IAlterMigrationOperation)>
[<System.Runtime.CompilerServices.Nullable(new System.Byte[] { 0, 1 })>]
type AlterOperationBuilder<'Operation (requires 'Operation :> MigrationOperation and 'Operation :> IAlterMigrationOperation)> = class
inherit OperationBuilder<'Operation (requires 'Operation :> MigrationOperation and 'Operation :> IAlterMigrationOperation)>
Public Class AlterOperationBuilder(Of TOperation)
Inherits OperationBuilder(Of TOperation)
Type Parameters
- TOperation
The operation type to build.
- Inheritance
- Attributes
Constructors
| Name | Description |
|---|---|
| AlterOperationBuilder<TOperation>(TOperation) |
Constructs a builder for the given MigrationOperation. |
Properties
| Name | Description |
|---|---|
| Operation |
The MigrationOperation. (Inherited from OperationBuilder<TOperation>) |
Methods
| Name | Description |
|---|---|
| Annotation(String, Object) |
Annotates the MigrationOperation with the given name/value pair. |
| OldAnnotation(String, Object) |
Annotates the MigrationOperation with the given name/value pair as an annotation that was present before the alteration. |
Explicit Interface Implementations
| Name | Description |
|---|---|
| IInfrastructure<TOperation>.Instance | (Inherited from OperationBuilder<TOperation>) |
Extension Methods
| Name | Description |
|---|---|
| GetInfrastructure<T>(IInfrastructure<T>) |
Gets the value from a property that is being hidden using IInfrastructure<T>. This method is typically used by database providers (and other extensions). It is generally not used in application code. |