Share via


RelationalKeyExtensions.FindSharedObjectRootKey Method

Definition

Overloads

FindSharedObjectRootKey(IConventionKey, StoreObjectIdentifier)

Finds the first IConventionKey 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.

FindSharedObjectRootKey(IKey, StoreObjectIdentifier)

Finds the first IConventionKey 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.

FindSharedObjectRootKey(IMutableKey, StoreObjectIdentifier)

Finds the first IMutableKey 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.

FindSharedObjectRootKey(IReadOnlyKey, StoreObjectIdentifier)

Finds the first IKey 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.

FindSharedObjectRootKey(IConventionKey, StoreObjectIdentifier)

Source:
RelationalKeyExtensions.cs
Source:
RelationalKeyExtensions.cs
Source:
RelationalKeyExtensions.cs
Source:
RelationalKeyExtensions.cs
Source:
RelationalKeyExtensions.cs

Finds the first IConventionKey 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.IConventionKey FindSharedObjectRootKey (this Microsoft.EntityFrameworkCore.Metadata.IConventionKey key, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
public static Microsoft.EntityFrameworkCore.Metadata.IConventionKey? FindSharedObjectRootKey (this Microsoft.EntityFrameworkCore.Metadata.IConventionKey key, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member FindSharedObjectRootKey : Microsoft.EntityFrameworkCore.Metadata.IConventionKey * StoreObjectIdentifier -> Microsoft.EntityFrameworkCore.Metadata.IConventionKey
<Extension()>
Public Function FindSharedObjectRootKey (key As IConventionKey, ByRef storeObject As StoreObjectIdentifier) As IConventionKey

Parameters

key
IConventionKey

The key.

storeObject
StoreObjectIdentifier

The identifier of the containing store object.

Returns

The key found, or null if none was found.

Applies to

FindSharedObjectRootKey(IKey, StoreObjectIdentifier)

Source:
RelationalKeyExtensions.cs
Source:
RelationalKeyExtensions.cs
Source:
RelationalKeyExtensions.cs
Source:
RelationalKeyExtensions.cs
Source:
RelationalKeyExtensions.cs

Finds the first IConventionKey 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.IKey FindSharedObjectRootKey (this Microsoft.EntityFrameworkCore.Metadata.IKey key, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
public static Microsoft.EntityFrameworkCore.Metadata.IKey? FindSharedObjectRootKey (this Microsoft.EntityFrameworkCore.Metadata.IKey key, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member FindSharedObjectRootKey : Microsoft.EntityFrameworkCore.Metadata.IKey * StoreObjectIdentifier -> Microsoft.EntityFrameworkCore.Metadata.IKey
<Extension()>
Public Function FindSharedObjectRootKey (key As IKey, ByRef storeObject As StoreObjectIdentifier) As IKey

Parameters

key
IKey

The key.

storeObject
StoreObjectIdentifier

The identifier of the containing store object.

Returns

The key found, or null if none was found.

Applies to

FindSharedObjectRootKey(IMutableKey, StoreObjectIdentifier)

Source:
RelationalKeyExtensions.cs
Source:
RelationalKeyExtensions.cs
Source:
RelationalKeyExtensions.cs
Source:
RelationalKeyExtensions.cs
Source:
RelationalKeyExtensions.cs

Finds the first IMutableKey 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.IMutableKey FindSharedObjectRootKey (this Microsoft.EntityFrameworkCore.Metadata.IMutableKey key, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
public static Microsoft.EntityFrameworkCore.Metadata.IMutableKey? FindSharedObjectRootKey (this Microsoft.EntityFrameworkCore.Metadata.IMutableKey key, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member FindSharedObjectRootKey : Microsoft.EntityFrameworkCore.Metadata.IMutableKey * StoreObjectIdentifier -> Microsoft.EntityFrameworkCore.Metadata.IMutableKey
<Extension()>
Public Function FindSharedObjectRootKey (key As IMutableKey, ByRef storeObject As StoreObjectIdentifier) As IMutableKey

Parameters

key
IMutableKey

The key.

storeObject
StoreObjectIdentifier

The identifier of the containing store object.

Returns

The key found, or null if none was found.

Applies to

FindSharedObjectRootKey(IReadOnlyKey, StoreObjectIdentifier)

Source:
RelationalKeyExtensions.cs
Source:
RelationalKeyExtensions.cs
Source:
RelationalKeyExtensions.cs
Source:
RelationalKeyExtensions.cs

Finds the first IKey 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.IReadOnlyKey? FindSharedObjectRootKey (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyKey key, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member FindSharedObjectRootKey : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyKey * StoreObjectIdentifier -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyKey
<Extension()>
Public Function FindSharedObjectRootKey (key As IReadOnlyKey, ByRef storeObject As StoreObjectIdentifier) As IReadOnlyKey

Parameters

key
IReadOnlyKey

The key.

storeObject
StoreObjectIdentifier

The identifier of the containing store object.

Returns

The key found, or null if none was found.

Applies to