语言

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
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
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
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
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
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
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
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
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
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
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

check 约束。

返回

批注。

实现

适用于

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

模型。

返回

批注。

实现

适用于