RelationalIndexExtensions.FindSharedObjectRootIndex 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
FindSharedObjectRootIndex(IConventionIndex, StoreObjectIdentifier) |
Finds the first IConventionIndex that is mapped to the same index 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. |
FindSharedObjectRootIndex(IIndex, StoreObjectIdentifier) |
Finds the first IConventionIndex that is mapped to the same index 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. |
FindSharedObjectRootIndex(IMutableIndex, StoreObjectIdentifier) |
Finds the first IMutableIndex that is mapped to the same index 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. |
FindSharedObjectRootIndex(IReadOnlyIndex, StoreObjectIdentifier) |
Finds the first IIndex that is mapped to the same index 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. |
FindSharedObjectRootIndex(IConventionIndex, StoreObjectIdentifier)
Finds the first IConventionIndex that is mapped to the same index 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.IConventionIndex FindSharedObjectRootIndex (this Microsoft.EntityFrameworkCore.Metadata.IConventionIndex index, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
public static Microsoft.EntityFrameworkCore.Metadata.IConventionIndex? FindSharedObjectRootIndex (this Microsoft.EntityFrameworkCore.Metadata.IConventionIndex index, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member FindSharedObjectRootIndex : Microsoft.EntityFrameworkCore.Metadata.IConventionIndex * StoreObjectIdentifier -> Microsoft.EntityFrameworkCore.Metadata.IConventionIndex
<Extension()>
Public Function FindSharedObjectRootIndex (index As IConventionIndex, ByRef storeObject As StoreObjectIdentifier) As IConventionIndex
Parameters
- index
- IConventionIndex
The index.
- storeObject
- StoreObjectIdentifier
The identifier of the containing store object.
Returns
The index found, or null
if none was found.
Applies to
FindSharedObjectRootIndex(IIndex, StoreObjectIdentifier)
Finds the first IConventionIndex that is mapped to the same index 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.IIndex FindSharedObjectRootIndex (this Microsoft.EntityFrameworkCore.Metadata.IIndex index, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
public static Microsoft.EntityFrameworkCore.Metadata.IIndex? FindSharedObjectRootIndex (this Microsoft.EntityFrameworkCore.Metadata.IIndex index, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member FindSharedObjectRootIndex : Microsoft.EntityFrameworkCore.Metadata.IIndex * StoreObjectIdentifier -> Microsoft.EntityFrameworkCore.Metadata.IIndex
<Extension()>
Public Function FindSharedObjectRootIndex (index As IIndex, ByRef storeObject As StoreObjectIdentifier) As IIndex
Parameters
- index
- IIndex
The index.
- storeObject
- StoreObjectIdentifier
The identifier of the containing store object.
Returns
The index found, or null
if none was found.
Applies to
FindSharedObjectRootIndex(IMutableIndex, StoreObjectIdentifier)
Finds the first IMutableIndex that is mapped to the same index 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.IMutableIndex FindSharedObjectRootIndex (this Microsoft.EntityFrameworkCore.Metadata.IMutableIndex index, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
public static Microsoft.EntityFrameworkCore.Metadata.IMutableIndex? FindSharedObjectRootIndex (this Microsoft.EntityFrameworkCore.Metadata.IMutableIndex index, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member FindSharedObjectRootIndex : Microsoft.EntityFrameworkCore.Metadata.IMutableIndex * StoreObjectIdentifier -> Microsoft.EntityFrameworkCore.Metadata.IMutableIndex
<Extension()>
Public Function FindSharedObjectRootIndex (index As IMutableIndex, ByRef storeObject As StoreObjectIdentifier) As IMutableIndex
Parameters
- index
- IMutableIndex
The index.
- storeObject
- StoreObjectIdentifier
The identifier of the containing store object.
Returns
The index found, or null
if none was found.
Applies to
FindSharedObjectRootIndex(IReadOnlyIndex, StoreObjectIdentifier)
Finds the first IIndex that is mapped to the same index 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.IReadOnlyIndex? FindSharedObjectRootIndex (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex index, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member FindSharedObjectRootIndex : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex * StoreObjectIdentifier -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex
<Extension()>
Public Function FindSharedObjectRootIndex (index As IReadOnlyIndex, ByRef storeObject As StoreObjectIdentifier) As IReadOnlyIndex
Parameters
- index
- IReadOnlyIndex
The index.
- storeObject
- StoreObjectIdentifier
The identifier of the containing store object.
Returns
The index found, or null
if none was found.
Applies to
Entity Framework