RelationalEntityTypeExtensions.IsTableExcludedFromMigrations 方法

定义

重载

IsTableExcludedFromMigrations(IEntityType)

获取一个值,该值指示迁移是否忽略关联的表。

IsTableExcludedFromMigrations(IReadOnlyEntityType)

获取一个值,该值指示迁移是否忽略关联的表。

IsTableExcludedFromMigrations(IReadOnlyEntityType, StoreObjectIdentifier)

获取一个值,该值指示迁移是否忽略指定的表。

IsTableExcludedFromMigrations(IEntityType)

获取一个值,该值指示迁移是否忽略关联的表。

public static bool IsTableExcludedFromMigrations (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
static member IsTableExcludedFromMigrations : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> bool
<Extension()>
Public Function IsTableExcludedFromMigrations (entityType As IEntityType) As Boolean

参数

entityType
IEntityType

实体类型。

返回

一个值,该值指示迁移是否忽略关联的表。

适用于

IsTableExcludedFromMigrations(IReadOnlyEntityType)

获取一个值,该值指示迁移是否忽略关联的表。

public static bool IsTableExcludedFromMigrations (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType entityType);
static member IsTableExcludedFromMigrations : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> bool
<Extension()>
Public Function IsTableExcludedFromMigrations (entityType As IReadOnlyEntityType) As Boolean

参数

entityType
IReadOnlyEntityType

实体类型。

返回

一个值,该值指示迁移是否忽略关联的表。

适用于

IsTableExcludedFromMigrations(IReadOnlyEntityType, StoreObjectIdentifier)

获取一个值,该值指示迁移是否忽略指定的表。

public static bool IsTableExcludedFromMigrations (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType entityType, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member IsTableExcludedFromMigrations : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType * StoreObjectIdentifier -> bool
<Extension()>
Public Function IsTableExcludedFromMigrations (entityType As IReadOnlyEntityType, ByRef storeObject As StoreObjectIdentifier) As Boolean

参数

entityType
IReadOnlyEntityType

实体类型。

storeObject
StoreObjectIdentifier

类似表的存储对象的标识符。

返回

一个值,该值指示迁移是否忽略关联的表。

适用于