SqlServerSharedTableConvention.AreCompatible 方法

定义

重载

AreCompatible(IIndex, IIndex, StoreObjectIdentifier)

获取一个值,该值指示映射到同一表索引的两个索引是否兼容。

AreCompatible(IKey, IKey, StoreObjectIdentifier)

获取一个值,该值指示映射到同一约束的两个键是否兼容。

AreCompatible(IReadOnlyIndex, IReadOnlyIndex, StoreObjectIdentifier)

获取一个值,该值指示映射到同一表索引的两个索引是否兼容。

AreCompatible(IReadOnlyKey, IReadOnlyKey, StoreObjectIdentifier)

获取一个值,该值指示映射到同一约束的两个键是否兼容。

AreCompatible(IIndex, IIndex, StoreObjectIdentifier)

Source:
SqlServerSharedTableConvention.cs

获取一个值,该值指示映射到同一表索引的两个索引是否兼容。

protected override bool AreCompatible (Microsoft.EntityFrameworkCore.Metadata.IIndex index, Microsoft.EntityFrameworkCore.Metadata.IIndex duplicateIndex, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
override this.AreCompatible : Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Metadata.IIndex * StoreObjectIdentifier -> bool
Protected Overrides Function AreCompatible (index As IIndex, duplicateIndex As IIndex, storeObject As StoreObjectIdentifier) As Boolean

参数

index
IIndex

一个索引。

duplicateIndex
IIndex

另一个索引。

storeObject
StoreObjectIdentifier

存储对象的标识符。

返回

true 如果兼容

适用于

AreCompatible(IKey, IKey, StoreObjectIdentifier)

Source:
SqlServerSharedTableConvention.cs

获取一个值,该值指示映射到同一约束的两个键是否兼容。

protected override bool AreCompatible (Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Metadata.IKey duplicateKey, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
override this.AreCompatible : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Metadata.IKey * StoreObjectIdentifier -> bool
Protected Overrides Function AreCompatible (key As IKey, duplicateKey As IKey, storeObject As StoreObjectIdentifier) As Boolean

参数

key
IKey

键。

duplicateKey
IKey

另一个键。

storeObject
StoreObjectIdentifier

存储对象的标识符。

返回

true 如果兼容

适用于

AreCompatible(IReadOnlyIndex, IReadOnlyIndex, StoreObjectIdentifier)

Source:
SqlServerSharedTableConvention.cs
Source:
SqlServerSharedTableConvention.cs
Source:
SqlServerSharedTableConvention.cs
Source:
SqlServerSharedTableConvention.cs

获取一个值,该值指示映射到同一表索引的两个索引是否兼容。

protected override bool AreCompatible (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex index, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex duplicateIndex, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
override this.AreCompatible : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex * StoreObjectIdentifier -> bool
Protected Overrides Function AreCompatible (index As IReadOnlyIndex, duplicateIndex As IReadOnlyIndex, storeObject As StoreObjectIdentifier) As Boolean

参数

index
IReadOnlyIndex

一个索引。

duplicateIndex
IReadOnlyIndex

另一个索引。

storeObject
StoreObjectIdentifier

存储对象的标识符。

返回

true 如果兼容

适用于

AreCompatible(IReadOnlyKey, IReadOnlyKey, StoreObjectIdentifier)

Source:
SqlServerSharedTableConvention.cs
Source:
SqlServerSharedTableConvention.cs
Source:
SqlServerSharedTableConvention.cs
Source:
SqlServerSharedTableConvention.cs

获取一个值,该值指示映射到同一约束的两个键是否兼容。

protected override bool AreCompatible (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyKey key, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyKey duplicateKey, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
override this.AreCompatible : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyKey * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyKey * StoreObjectIdentifier -> bool
Protected Overrides Function AreCompatible (key As IReadOnlyKey, duplicateKey As IReadOnlyKey, storeObject As StoreObjectIdentifier) As Boolean

参数

key
IReadOnlyKey

键。

duplicateKey
IReadOnlyKey

另一个键。

storeObject
StoreObjectIdentifier

存储对象的标识符。

返回

true 如果兼容

适用于