SqlServerSharedTableConvention.AreCompatible Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AreCompatible(IIndex, IIndex, StoreObjectIdentifier) |
Gets a value indicating whether two indexes mapped to the same table index are compatible. |
AreCompatible(IKey, IKey, StoreObjectIdentifier) |
Gets a value indicating whether two key mapped to the same constraint are compatible. |
AreCompatible(IReadOnlyIndex, IReadOnlyIndex, StoreObjectIdentifier) |
Gets a value indicating whether two indexes mapped to the same table index are compatible. |
AreCompatible(IReadOnlyKey, IReadOnlyKey, StoreObjectIdentifier) |
Gets a value indicating whether two key mapped to the same constraint are compatible. |
AreCompatible(IIndex, IIndex, StoreObjectIdentifier)
Gets a value indicating whether two indexes mapped to the same table index are compatible.
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
Parameters
- index
- IIndex
An index.
- duplicateIndex
- IIndex
Another index.
- storeObject
- StoreObjectIdentifier
The identifier of the store object.
Returns
true
if compatible
Applies to
AreCompatible(IKey, IKey, StoreObjectIdentifier)
Gets a value indicating whether two key mapped to the same constraint are compatible.
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
Parameters
- key
- IKey
A key.
- duplicateKey
- IKey
Another key.
- storeObject
- StoreObjectIdentifier
The identifier of the store object.
Returns
true
if compatible
Applies to
AreCompatible(IReadOnlyIndex, IReadOnlyIndex, StoreObjectIdentifier)
Gets a value indicating whether two indexes mapped to the same table index are compatible.
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
Parameters
- index
- IReadOnlyIndex
An index.
- duplicateIndex
- IReadOnlyIndex
Another index.
- storeObject
- StoreObjectIdentifier
The identifier of the store object.
Returns
true
if compatible
Applies to
AreCompatible(IReadOnlyKey, IReadOnlyKey, StoreObjectIdentifier)
Gets a value indicating whether two key mapped to the same constraint are compatible.
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
Parameters
- key
- IReadOnlyKey
A key.
- duplicateKey
- IReadOnlyKey
Another key.
- storeObject
- StoreObjectIdentifier
The identifier of the store object.
Returns
true
if compatible
Applies to
Entity Framework