IMigrationsAnnotationProvider.ForRemove Method
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.
Overloads
ForRemove(IViewColumn) |
Gets provider-specific annotations for the given IViewColumn when it is being removed. |
ForRemove(IView) |
Gets provider-specific annotations for the given IView when it is being removed. |
ForRemove(IUniqueConstraint) |
Gets provider-specific Migrations annotations for the given IUniqueConstraint when it is being removed. |
ForRemove(ITableIndex) |
Gets provider-specific Migrations annotations for the given ITableIndex when it is being removed. |
ForRemove(ITable) |
Gets provider-specific Migrations annotations for the given ITable when it is being removed. |
ForRemove(ISequence) |
Gets provider-specific Migrations annotations for the given ISequence when it is being removed. |
ForRemove(IRelationalModel) |
Gets provider-specific Migrations annotations for the given IRelationalModel when it is being altered. |
ForRemove(IProperty) |
Gets provider-specific Migrations annotations for the given IProperty when it is being removed/altered. |
ForRemove(IIndex) |
Gets provider-specific Migrations annotations for the given IIndex when it is being removed/altered. |
ForRemove(IKey) |
Gets provider-specific Migrations annotations for the given IKey when it is being removed/altered. |
ForRemove(IForeignKeyConstraint) |
Gets provider-specific Migrations annotations for the given IForeignKeyConstraint when it is being removed. |
ForRemove(IForeignKey) |
Gets provider-specific Migrations annotations for the given IForeignKey when it is being removed/altered. |
ForRemove(IEntityType) |
Gets provider-specific Migrations annotations for the given IEntityType when it is being removed/altered. |
ForRemove(IColumn) |
Gets provider-specific Migrations annotations for the given IColumn when it is being removed. |
ForRemove(ICheckConstraint) |
Gets provider-specific Migrations annotations for the given ICheckConstraint when it is being removed. |
ForRemove(IModel) |
Gets provider-specific Migrations annotations for the given IModel when it is being removed/altered. |
ForRemove(IViewColumn)
Gets provider-specific annotations for the given IViewColumn when it is being removed.
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> ForRemove (Microsoft.EntityFrameworkCore.Metadata.IViewColumn column);
abstract member ForRemove : Microsoft.EntityFrameworkCore.Metadata.IViewColumn -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function ForRemove (column As IViewColumn) As IEnumerable(Of IAnnotation)
Parameters
- column
- IViewColumn
The column.
Returns
The annotations.
Applies to
ForRemove(IView)
Gets provider-specific annotations for the given IView when it is being removed.
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> ForRemove (Microsoft.EntityFrameworkCore.Metadata.IView view);
abstract member ForRemove : Microsoft.EntityFrameworkCore.Metadata.IView -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function ForRemove (view As IView) As IEnumerable(Of IAnnotation)
Parameters
- view
- IView
The view.
Returns
The annotations.
Applies to
ForRemove(IUniqueConstraint)
Gets provider-specific Migrations annotations for the given IUniqueConstraint when it is being removed.
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> ForRemove (Microsoft.EntityFrameworkCore.Metadata.IUniqueConstraint constraint);
abstract member ForRemove : Microsoft.EntityFrameworkCore.Metadata.IUniqueConstraint -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function ForRemove (constraint As IUniqueConstraint) As IEnumerable(Of IAnnotation)
Parameters
- constraint
- IUniqueConstraint
The unique constraint.
Returns
The annotations.
Applies to
ForRemove(ITableIndex)
Gets provider-specific Migrations annotations for the given ITableIndex when it is being removed.
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> ForRemove (Microsoft.EntityFrameworkCore.Metadata.ITableIndex index);
abstract member ForRemove : Microsoft.EntityFrameworkCore.Metadata.ITableIndex -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function ForRemove (index As ITableIndex) As IEnumerable(Of IAnnotation)
Parameters
- index
- ITableIndex
The index.
Returns
The annotations.
Applies to
ForRemove(ITable)
Gets provider-specific Migrations annotations for the given ITable when it is being removed.
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> ForRemove (Microsoft.EntityFrameworkCore.Metadata.ITable table);
abstract member ForRemove : Microsoft.EntityFrameworkCore.Metadata.ITable -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function ForRemove (table As ITable) As IEnumerable(Of IAnnotation)
Parameters
- table
- ITable
The table.
Returns
The annotations.
Applies to
ForRemove(ISequence)
Gets provider-specific Migrations annotations for the given ISequence when it is being removed.
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> ForRemove (Microsoft.EntityFrameworkCore.Metadata.ISequence sequence);
abstract member ForRemove : Microsoft.EntityFrameworkCore.Metadata.ISequence -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function ForRemove (sequence As ISequence) As IEnumerable(Of IAnnotation)
Parameters
- sequence
- ISequence
The sequence.
Returns
The annotations.
Applies to
ForRemove(IRelationalModel)
Gets provider-specific Migrations annotations for the given IRelationalModel when it is being altered.
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> ForRemove (Microsoft.EntityFrameworkCore.Metadata.IRelationalModel model);
abstract member ForRemove : Microsoft.EntityFrameworkCore.Metadata.IRelationalModel -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function ForRemove (model As IRelationalModel) As IEnumerable(Of IAnnotation)
Parameters
- model
- IRelationalModel
The database model.
Returns
The annotations.
Applies to
ForRemove(IProperty)
Gets provider-specific Migrations annotations for the given IProperty when it is being removed/altered.
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> ForRemove (Microsoft.EntityFrameworkCore.Metadata.IProperty property);
abstract member ForRemove : Microsoft.EntityFrameworkCore.Metadata.IProperty -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function ForRemove (property As IProperty) As IEnumerable(Of IAnnotation)
Parameters
- property
- IProperty
The property.
Returns
The annotations.
Applies to
ForRemove(IIndex)
Gets provider-specific Migrations annotations for the given IIndex when it is being removed/altered.
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> ForRemove (Microsoft.EntityFrameworkCore.Metadata.IIndex index);
abstract member ForRemove : Microsoft.EntityFrameworkCore.Metadata.IIndex -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function ForRemove (index As IIndex) As IEnumerable(Of IAnnotation)
Parameters
- index
- IIndex
The index.
Returns
The annotations.
Applies to
ForRemove(IKey)
Gets provider-specific Migrations annotations for the given IKey when it is being removed/altered.
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> ForRemove (Microsoft.EntityFrameworkCore.Metadata.IKey key);
abstract member ForRemove : Microsoft.EntityFrameworkCore.Metadata.IKey -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function ForRemove (key As IKey) As IEnumerable(Of IAnnotation)
Parameters
- key
- IKey
The key.
Returns
The annotations.
Applies to
ForRemove(IForeignKeyConstraint)
Gets provider-specific Migrations annotations for the given IForeignKeyConstraint when it is being removed.
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> ForRemove (Microsoft.EntityFrameworkCore.Metadata.IForeignKeyConstraint foreignKey);
abstract member ForRemove : Microsoft.EntityFrameworkCore.Metadata.IForeignKeyConstraint -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function ForRemove (foreignKey As IForeignKeyConstraint) As IEnumerable(Of IAnnotation)
Parameters
- foreignKey
- IForeignKeyConstraint
The foreign key.
Returns
The annotations.
Applies to
ForRemove(IForeignKey)
Gets provider-specific Migrations annotations for the given IForeignKey when it is being removed/altered.
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> ForRemove (Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey);
abstract member ForRemove : Microsoft.EntityFrameworkCore.Metadata.IForeignKey -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function ForRemove (foreignKey As IForeignKey) As IEnumerable(Of IAnnotation)
Parameters
- foreignKey
- IForeignKey
The foreign key.
Returns
The annotations.
Applies to
ForRemove(IEntityType)
Gets provider-specific Migrations annotations for the given IEntityType when it is being removed/altered.
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> ForRemove (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
abstract member ForRemove : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function ForRemove (entityType As IEntityType) As IEnumerable(Of IAnnotation)
Parameters
- entityType
- IEntityType
The entity type.
Returns
The annotations.
Applies to
ForRemove(IColumn)
Gets provider-specific Migrations annotations for the given IColumn when it is being removed.
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> ForRemove (Microsoft.EntityFrameworkCore.Metadata.IColumn column);
abstract member ForRemove : Microsoft.EntityFrameworkCore.Metadata.IColumn -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function ForRemove (column As IColumn) As IEnumerable(Of IAnnotation)
Parameters
- column
- IColumn
The column.
Returns
The annotations.
Applies to
ForRemove(ICheckConstraint)
Gets provider-specific Migrations annotations for the given ICheckConstraint when it is being removed.
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> ForRemove (Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint checkConstraint);
abstract member ForRemove : Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function ForRemove (checkConstraint As ICheckConstraint) As IEnumerable(Of IAnnotation)
Parameters
- checkConstraint
- ICheckConstraint
The check constraint.
Returns
The annotations.
Applies to
ForRemove(IModel)
Gets provider-specific Migrations annotations for the given IModel when it is being removed/altered.
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> ForRemove (Microsoft.EntityFrameworkCore.Metadata.IModel model);
abstract member ForRemove : Microsoft.EntityFrameworkCore.Metadata.IModel -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function ForRemove (model As IModel) As IEnumerable(Of IAnnotation)
Parameters
- model
- IModel
The model.
Returns
The annotations.
Applies to
Entity Framework