Share via


SharedTableConvention.AreCompatible Method

Definition

Overloads

AreCompatible(IReadOnlyKey, IReadOnlyKey, 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(IReadOnlyForeignKey, IReadOnlyForeignKey, StoreObjectIdentifier)

Gets a value indicating whether two foreign keys mapped to the same foreign key constraint are compatible.

AreCompatible(IReadOnlyTrigger, IReadOnlyTrigger, StoreObjectIdentifier)

Gets a value indicating whether two triggers with the same name are compatible.

AreCompatible(IKey, IKey, 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.

AreCompatible(IForeignKey, IForeignKey, StoreObjectIdentifier)

Gets a value indicating whether two foreign keys mapped to the same foreign key constraint are compatible.

AreCompatible(IReadOnlyCheckConstraint, IReadOnlyCheckConstraint, StoreObjectIdentifier)

Gets a value indicating whether two check constraints with the same name are compatible.

AreCompatible(IReadOnlyKey, IReadOnlyKey, StoreObjectIdentifier)

Source:
SharedTableConvention.cs
Source:
SharedTableConvention.cs
Source:
SharedTableConvention.cs
Source:
SharedTableConvention.cs

Gets a value indicating whether two key mapped to the same constraint are compatible.

protected virtual bool AreCompatible (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyKey key, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyKey duplicateKey, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
abstract member AreCompatible : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyKey * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyKey * StoreObjectIdentifier -> bool
override this.AreCompatible : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyKey * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyKey * StoreObjectIdentifier -> bool
Protected Overridable 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

AreCompatible(IReadOnlyIndex, IReadOnlyIndex, StoreObjectIdentifier)

Source:
SharedTableConvention.cs
Source:
SharedTableConvention.cs
Source:
SharedTableConvention.cs
Source:
SharedTableConvention.cs

Gets a value indicating whether two indexes mapped to the same table index are compatible.

protected virtual bool AreCompatible (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex index, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex duplicateIndex, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
abstract member AreCompatible : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex * StoreObjectIdentifier -> bool
override this.AreCompatible : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex * StoreObjectIdentifier -> bool
Protected Overridable 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(IReadOnlyForeignKey, IReadOnlyForeignKey, StoreObjectIdentifier)

Source:
SharedTableConvention.cs
Source:
SharedTableConvention.cs
Source:
SharedTableConvention.cs
Source:
SharedTableConvention.cs

Gets a value indicating whether two foreign keys mapped to the same foreign key constraint are compatible.

protected virtual bool AreCompatible (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey foreignKey, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey duplicateForeignKey, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
abstract member AreCompatible : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey * StoreObjectIdentifier -> bool
override this.AreCompatible : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey * StoreObjectIdentifier -> bool
Protected Overridable Function AreCompatible (foreignKey As IReadOnlyForeignKey, duplicateForeignKey As IReadOnlyForeignKey, storeObject As StoreObjectIdentifier) As Boolean

Parameters

foreignKey
IReadOnlyForeignKey

A foreign key.

duplicateForeignKey
IReadOnlyForeignKey

Another foreign key.

storeObject
StoreObjectIdentifier

The identifier of the store object.

Returns

true if compatible

Applies to

AreCompatible(IReadOnlyTrigger, IReadOnlyTrigger, StoreObjectIdentifier)

Source:
SharedTableConvention.cs
Source:
SharedTableConvention.cs
Source:
SharedTableConvention.cs

Gets a value indicating whether two triggers with the same name are compatible.

protected virtual bool AreCompatible (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyTrigger trigger, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyTrigger duplicateTrigger, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
abstract member AreCompatible : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyTrigger * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyTrigger * StoreObjectIdentifier -> bool
override this.AreCompatible : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyTrigger * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyTrigger * StoreObjectIdentifier -> bool
Protected Overridable Function AreCompatible (trigger As IReadOnlyTrigger, duplicateTrigger As IReadOnlyTrigger, storeObject As StoreObjectIdentifier) As Boolean

Parameters

trigger
IReadOnlyTrigger

A trigger.

duplicateTrigger
IReadOnlyTrigger

Another trigger.

storeObject
StoreObjectIdentifier

The identifier of the store object.

Returns

true if compatible

Applies to

AreCompatible(IKey, IKey, StoreObjectIdentifier)

Source:
SharedTableConvention.cs

Gets a value indicating whether two key mapped to the same constraint are compatible.

protected virtual bool AreCompatible (Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Metadata.IKey duplicateKey, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
abstract member AreCompatible : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Metadata.IKey * StoreObjectIdentifier -> bool
override this.AreCompatible : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Metadata.IKey * StoreObjectIdentifier -> bool
Protected Overridable 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(IIndex, IIndex, StoreObjectIdentifier)

Source:
SharedTableConvention.cs

Gets a value indicating whether two indexes mapped to the same table index are compatible.

protected virtual bool AreCompatible (Microsoft.EntityFrameworkCore.Metadata.IIndex index, Microsoft.EntityFrameworkCore.Metadata.IIndex duplicateIndex, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
abstract member AreCompatible : Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Metadata.IIndex * StoreObjectIdentifier -> bool
override this.AreCompatible : Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Metadata.IIndex * StoreObjectIdentifier -> bool
Protected Overridable 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(IForeignKey, IForeignKey, StoreObjectIdentifier)

Source:
SharedTableConvention.cs

Gets a value indicating whether two foreign keys mapped to the same foreign key constraint are compatible.

protected virtual bool AreCompatible (Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Metadata.IForeignKey duplicateForeignKey, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
abstract member AreCompatible : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Metadata.IForeignKey * StoreObjectIdentifier -> bool
override this.AreCompatible : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Metadata.IForeignKey * StoreObjectIdentifier -> bool
Protected Overridable Function AreCompatible (foreignKey As IForeignKey, duplicateForeignKey As IForeignKey, storeObject As StoreObjectIdentifier) As Boolean

Parameters

foreignKey
IForeignKey

A foreign key.

duplicateForeignKey
IForeignKey

Another foreign key.

storeObject
StoreObjectIdentifier

The identifier of the store object.

Returns

true if compatible

Applies to

AreCompatible(IReadOnlyCheckConstraint, IReadOnlyCheckConstraint, StoreObjectIdentifier)

Source:
SharedTableConvention.cs
Source:
SharedTableConvention.cs
Source:
SharedTableConvention.cs
Source:
SharedTableConvention.cs

Gets a value indicating whether two check constraints with the same name are compatible.

protected virtual bool AreCompatible (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyCheckConstraint checkConstraint, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyCheckConstraint duplicateCheckConstraint, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
abstract member AreCompatible : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyCheckConstraint * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyCheckConstraint * StoreObjectIdentifier -> bool
override this.AreCompatible : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyCheckConstraint * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyCheckConstraint * StoreObjectIdentifier -> bool
Protected Overridable Function AreCompatible (checkConstraint As IReadOnlyCheckConstraint, duplicateCheckConstraint As IReadOnlyCheckConstraint, storeObject As StoreObjectIdentifier) As Boolean

Parameters

checkConstraint
IReadOnlyCheckConstraint

An check constraints.

duplicateCheckConstraint
IReadOnlyCheckConstraint

Another check constraints.

storeObject
StoreObjectIdentifier

The identifier of the store object.

Returns

true if compatible

Applies to