MigrationsAnnotationProvider.ForRemove 方法

定义

重载

ForRemove(IRelationalModel)

获取更改给定 IRelationalModel 的特定于提供程序的迁移注释。

ForRemove(IViewColumn)

在删除给定 时获取给定 IViewColumn 的提供程序特定的批注。

ForRemove(IView)

在删除给定 时获取给定 IView 的提供程序特定的批注。

ForRemove(IUniqueConstraint)

在删除给定 时获取提供程序 IUniqueConstraint 特定的迁移注释。

ForRemove(ITableIndex)

在删除给定 时获取提供程序 ITableIndex 特定的迁移注释。

ForRemove(ITable)

在删除给定 时获取提供程序 ITable 特定的迁移注释。

ForRemove(ISequence)

在删除/更改给定 时获取提供程序 ISequence 特定的迁移批注。

默认实现返回空集合。

ForRemove(IProperty)

在删除/更改给定 时获取提供程序 IProperty 特定的迁移批注。

默认实现返回空集合。

ForRemove(IForeignKeyConstraint)

在删除给定 时获取提供程序 IForeignKeyConstraint 特定的迁移注释。

ForRemove(IKey)

在删除/更改给定 时获取提供程序 IKey 特定的迁移批注。

默认实现返回空集合。

ForRemove(IIndex)

在删除/更改给定 时获取提供程序 IIndex 特定的迁移批注。

默认实现返回空集合。

ForRemove(IForeignKey)

在删除/更改给定 时获取提供程序 IForeignKey 特定的迁移批注。

默认实现返回空集合。

ForRemove(IEntityType)

在删除/更改给定 时获取提供程序 IEntityType 特定的迁移批注。

默认实现返回空集合。

ForRemove(IColumn)

在删除给定 时获取提供程序 IColumn 特定的迁移注释。

ForRemove(ICheckConstraint)

在删除/更改给定 时获取提供程序 ICheckConstraint 特定的迁移批注。

默认实现返回空集合。

ForRemove(IModel)

在删除/更改给定 时获取提供程序 IModel 特定的迁移批注。

默认实现返回空集合。

ForRemove(IRelationalModel)

Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs

获取更改给定 IRelationalModel 的特定于提供程序的迁移注释。

public virtual 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>
override this.ForRemove : Microsoft.EntityFrameworkCore.Metadata.IRelationalModel -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function ForRemove (model As IRelationalModel) As IEnumerable(Of IAnnotation)

参数

model
IRelationalModel

数据库模型。

返回

批注。

实现

适用于

ForRemove(IViewColumn)

Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs

在删除给定 时获取给定 IViewColumn 的提供程序特定的批注。

public virtual 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>
override this.ForRemove : Microsoft.EntityFrameworkCore.Metadata.IViewColumn -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function ForRemove (column As IViewColumn) As IEnumerable(Of IAnnotation)

参数

column
IViewColumn

列。

返回

批注。

实现

适用于

ForRemove(IView)

Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs

在删除给定 时获取给定 IView 的提供程序特定的批注。

public virtual 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>
override this.ForRemove : Microsoft.EntityFrameworkCore.Metadata.IView -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function ForRemove (view As IView) As IEnumerable(Of IAnnotation)

参数

view
IView

视图。

返回

批注。

实现

适用于

ForRemove(IUniqueConstraint)

Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs

在删除给定 时获取提供程序 IUniqueConstraint 特定的迁移注释。

public virtual 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>
override this.ForRemove : Microsoft.EntityFrameworkCore.Metadata.IUniqueConstraint -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function ForRemove (constraint As IUniqueConstraint) As IEnumerable(Of IAnnotation)

参数

constraint
IUniqueConstraint

唯一约束。

返回

批注。

实现

适用于

ForRemove(ITableIndex)

Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs

在删除给定 时获取提供程序 ITableIndex 特定的迁移注释。

public virtual 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>
override this.ForRemove : Microsoft.EntityFrameworkCore.Metadata.ITableIndex -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function ForRemove (index As ITableIndex) As IEnumerable(Of IAnnotation)

参数

index
ITableIndex

索引。

返回

批注。

实现

适用于

ForRemove(ITable)

Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs

在删除给定 时获取提供程序 ITable 特定的迁移注释。

public virtual 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>
override this.ForRemove : Microsoft.EntityFrameworkCore.Metadata.ITable -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function ForRemove (table As ITable) As IEnumerable(Of IAnnotation)

参数

table
ITable

表。

返回

批注。

实现

适用于

ForRemove(ISequence)

Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs

在删除/更改给定 时获取提供程序 ISequence 特定的迁移批注。

默认实现返回空集合。

public virtual 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>
override this.ForRemove : Microsoft.EntityFrameworkCore.Metadata.ISequence -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function ForRemove (sequence As ISequence) As IEnumerable(Of IAnnotation)

参数

sequence
ISequence

序列。

返回

批注。

实现

适用于

ForRemove(IProperty)

Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs

在删除/更改给定 时获取提供程序 IProperty 特定的迁移批注。

默认实现返回空集合。

public virtual 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>
override this.ForRemove : Microsoft.EntityFrameworkCore.Metadata.IProperty -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function ForRemove (property As IProperty) As IEnumerable(Of IAnnotation)

参数

property
IProperty

属性。

返回

批注。

实现

适用于

ForRemove(IForeignKeyConstraint)

Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs

在删除给定 时获取提供程序 IForeignKeyConstraint 特定的迁移注释。

public virtual 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>
override this.ForRemove : Microsoft.EntityFrameworkCore.Metadata.IForeignKeyConstraint -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function ForRemove (foreignKey As IForeignKeyConstraint) As IEnumerable(Of IAnnotation)

参数

foreignKey
IForeignKeyConstraint

外键。

返回

批注。

实现

适用于

ForRemove(IKey)

Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs

在删除/更改给定 时获取提供程序 IKey 特定的迁移批注。

默认实现返回空集合。

public virtual 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>
override this.ForRemove : Microsoft.EntityFrameworkCore.Metadata.IKey -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function ForRemove (key As IKey) As IEnumerable(Of IAnnotation)

参数

key
IKey

键。

返回

批注。

实现

适用于

ForRemove(IIndex)

Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs

在删除/更改给定 时获取提供程序 IIndex 特定的迁移批注。

默认实现返回空集合。

public virtual 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>
override this.ForRemove : Microsoft.EntityFrameworkCore.Metadata.IIndex -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function ForRemove (index As IIndex) As IEnumerable(Of IAnnotation)

参数

index
IIndex

索引。

返回

批注。

实现

适用于

ForRemove(IForeignKey)

Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs

在删除/更改给定 时获取提供程序 IForeignKey 特定的迁移批注。

默认实现返回空集合。

public virtual 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>
override this.ForRemove : Microsoft.EntityFrameworkCore.Metadata.IForeignKey -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function ForRemove (foreignKey As IForeignKey) As IEnumerable(Of IAnnotation)

参数

foreignKey
IForeignKey

外键。

返回

批注。

实现

适用于

ForRemove(IEntityType)

Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs

在删除/更改给定 时获取提供程序 IEntityType 特定的迁移批注。

默认实现返回空集合。

public virtual 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>
override this.ForRemove : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function ForRemove (entityType As IEntityType) As IEnumerable(Of IAnnotation)

参数

entityType
IEntityType

实体类型。

返回

批注。

实现

适用于

ForRemove(IColumn)

Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs

在删除给定 时获取提供程序 IColumn 特定的迁移注释。

public virtual 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>
override this.ForRemove : Microsoft.EntityFrameworkCore.Metadata.IColumn -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function ForRemove (column As IColumn) As IEnumerable(Of IAnnotation)

参数

column
IColumn

列。

返回

批注。

实现

适用于

ForRemove(ICheckConstraint)

Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs

在删除/更改给定 时获取提供程序 ICheckConstraint 特定的迁移批注。

默认实现返回空集合。

public virtual 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>
override this.ForRemove : Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function ForRemove (checkConstraint As ICheckConstraint) As IEnumerable(Of IAnnotation)

参数

checkConstraint
ICheckConstraint

检查约束。

返回

批注。

实现

适用于

ForRemove(IModel)

Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs
Source:
MigrationsAnnotationProvider.cs

在删除/更改给定 时获取提供程序 IModel 特定的迁移批注。

默认实现返回空集合。

public virtual 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>
override this.ForRemove : Microsoft.EntityFrameworkCore.Metadata.IModel -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function ForRemove (model As IModel) As IEnumerable(Of IAnnotation)

参数

model
IModel

模型。

返回

批注。

实现

适用于