Partilhar via


RelationalForeignKeyExtensions.FindSharedObjectRootForeignKey Method

Definition

Overloads

FindSharedObjectRootForeignKey(IConventionForeignKey, StoreObjectIdentifier)

Finds the first IConventionForeignKey that is mapped to the same constraint in a shared table-like object.

This method is typically used by database providers (and other extensions). It is generally not used in application code.

FindSharedObjectRootForeignKey(IForeignKey, StoreObjectIdentifier)

Finds the first IForeignKey that is mapped to the same constraint in a shared table-like object.

This method is typically used by database providers (and other extensions). It is generally not used in application code.

FindSharedObjectRootForeignKey(IMutableForeignKey, StoreObjectIdentifier)

Finds the first IMutableForeignKey that is mapped to the same constraint in a shared table-like object.

This method is typically used by database providers (and other extensions). It is generally not used in application code.

FindSharedObjectRootForeignKey(IReadOnlyForeignKey, StoreObjectIdentifier)

Finds the first IForeignKey that is mapped to the same constraint in a shared table-like object.

This method is typically used by database providers (and other extensions). It is generally not used in application code.

FindSharedObjectRootForeignKey(IConventionForeignKey, StoreObjectIdentifier)

Source:
RelationalForeignKeyExtensions.cs
Source:
RelationalForeignKeyExtensions.cs
Source:
RelationalForeignKeyExtensions.cs
Source:
RelationalForeignKeyExtensions.cs
Source:
RelationalForeignKeyExtensions.cs

Finds the first IConventionForeignKey that is mapped to the same constraint in a shared table-like object.

This method is typically used by database providers (and other extensions). It is generally not used in application code.

public static Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey FindSharedObjectRootForeignKey (this Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey foreignKey, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
public static Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey? FindSharedObjectRootForeignKey (this Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey foreignKey, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member FindSharedObjectRootForeignKey : Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey * StoreObjectIdentifier -> Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey
<Extension()>
Public Function FindSharedObjectRootForeignKey (foreignKey As IConventionForeignKey, ByRef storeObject As StoreObjectIdentifier) As IConventionForeignKey

Parameters

foreignKey
IConventionForeignKey

The foreign key.

storeObject
StoreObjectIdentifier

The identifier of the containing store object.

Returns

The foreign key if found, or null if none was found.

Applies to

FindSharedObjectRootForeignKey(IForeignKey, StoreObjectIdentifier)

Source:
RelationalForeignKeyExtensions.cs
Source:
RelationalForeignKeyExtensions.cs
Source:
RelationalForeignKeyExtensions.cs
Source:
RelationalForeignKeyExtensions.cs
Source:
RelationalForeignKeyExtensions.cs

Finds the first IForeignKey that is mapped to the same constraint in a shared table-like object.

This method is typically used by database providers (and other extensions). It is generally not used in application code.

public static Microsoft.EntityFrameworkCore.Metadata.IForeignKey FindSharedObjectRootForeignKey (this Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
public static Microsoft.EntityFrameworkCore.Metadata.IForeignKey? FindSharedObjectRootForeignKey (this Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member FindSharedObjectRootForeignKey : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * StoreObjectIdentifier -> Microsoft.EntityFrameworkCore.Metadata.IForeignKey
<Extension()>
Public Function FindSharedObjectRootForeignKey (foreignKey As IForeignKey, ByRef storeObject As StoreObjectIdentifier) As IForeignKey

Parameters

foreignKey
IForeignKey

The foreign key.

storeObject
StoreObjectIdentifier

The identifier of the containing store object.

Returns

The foreign key if found, or null if none was found.

Applies to

FindSharedObjectRootForeignKey(IMutableForeignKey, StoreObjectIdentifier)

Source:
RelationalForeignKeyExtensions.cs
Source:
RelationalForeignKeyExtensions.cs
Source:
RelationalForeignKeyExtensions.cs
Source:
RelationalForeignKeyExtensions.cs
Source:
RelationalForeignKeyExtensions.cs

Finds the first IMutableForeignKey that is mapped to the same constraint in a shared table-like object.

This method is typically used by database providers (and other extensions). It is generally not used in application code.

public static Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey FindSharedObjectRootForeignKey (this Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey foreignKey, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
public static Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey? FindSharedObjectRootForeignKey (this Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey foreignKey, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member FindSharedObjectRootForeignKey : Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey * StoreObjectIdentifier -> Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey
<Extension()>
Public Function FindSharedObjectRootForeignKey (foreignKey As IMutableForeignKey, ByRef storeObject As StoreObjectIdentifier) As IMutableForeignKey

Parameters

foreignKey
IMutableForeignKey

The foreign key.

storeObject
StoreObjectIdentifier

The identifier of the containing store object.

Returns

The foreign key if found, or null if none was found.

Applies to

FindSharedObjectRootForeignKey(IReadOnlyForeignKey, StoreObjectIdentifier)

Source:
RelationalForeignKeyExtensions.cs
Source:
RelationalForeignKeyExtensions.cs
Source:
RelationalForeignKeyExtensions.cs
Source:
RelationalForeignKeyExtensions.cs

Finds the first IForeignKey that is mapped to the same constraint in a shared table-like object.

This method is typically used by database providers (and other extensions). It is generally not used in application code.

public static Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey? FindSharedObjectRootForeignKey (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey foreignKey, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member FindSharedObjectRootForeignKey : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey * StoreObjectIdentifier -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey
<Extension()>
Public Function FindSharedObjectRootForeignKey (foreignKey As IReadOnlyForeignKey, ByRef storeObject As StoreObjectIdentifier) As IReadOnlyForeignKey

Parameters

foreignKey
IReadOnlyForeignKey

The foreign key.

storeObject
StoreObjectIdentifier

The identifier of the containing store object.

Returns

The foreign key if found, or null if none was found.

Applies to