共用方式為


SqlServerSharedTableConvention.AreCompatible 方法

定義

多載

AreCompatible(IIndex, IIndex, StoreObjectIdentifier)

取得值,指出對應至相同資料表索引的兩個索引是否相容。

AreCompatible(IKey, IKey, StoreObjectIdentifier)

取得值,指出對應至相同條件約束的兩個索引鍵是否相容。

AreCompatible(IReadOnlyIndex, IReadOnlyIndex, StoreObjectIdentifier)

取得值,指出對應至相同資料表索引的兩個索引是否相容。

AreCompatible(IReadOnlyKey, IReadOnlyKey, StoreObjectIdentifier)

取得值,指出對應至相同條件約束的兩個索引鍵是否相容。

AreCompatible(IIndex, IIndex, StoreObjectIdentifier)

來源:
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)

來源:
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)

來源:
SqlServerSharedTableConvention.cs
來源:
SqlServerSharedTableConvention.cs
來源:
SqlServerSharedTableConvention.cs
來源:
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)

來源:
SqlServerSharedTableConvention.cs
來源:
SqlServerSharedTableConvention.cs
來源:
SqlServerSharedTableConvention.cs
來源:
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 如果相容,則為

適用於