RelationalIndexExtensions.FindSharedObjectRootIndex Method

Definition

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)

Source:
RelationalIndexExtensions.cs
Source:
RelationalIndexExtensions.cs
Source:
RelationalIndexExtensions.cs
Source:
RelationalIndexExtensions.cs
Source:
RelationalIndexExtensions.cs

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.

C#
public static Microsoft.EntityFrameworkCore.Metadata.IConventionIndex FindSharedObjectRootIndex (this Microsoft.EntityFrameworkCore.Metadata.IConventionIndex index, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
C#
public static Microsoft.EntityFrameworkCore.Metadata.IConventionIndex? FindSharedObjectRootIndex (this Microsoft.EntityFrameworkCore.Metadata.IConventionIndex index, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);

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

Entity Framework Core 9.0 och andra versioner
Produkt Versioner
Entity Framework Core 5.0, 6.0, 7.0, 8.0, 9.0

FindSharedObjectRootIndex(IIndex, StoreObjectIdentifier)

Source:
RelationalIndexExtensions.cs
Source:
RelationalIndexExtensions.cs
Source:
RelationalIndexExtensions.cs
Source:
RelationalIndexExtensions.cs
Source:
RelationalIndexExtensions.cs

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.

C#
public static Microsoft.EntityFrameworkCore.Metadata.IIndex FindSharedObjectRootIndex (this Microsoft.EntityFrameworkCore.Metadata.IIndex index, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
C#
public static Microsoft.EntityFrameworkCore.Metadata.IIndex? FindSharedObjectRootIndex (this Microsoft.EntityFrameworkCore.Metadata.IIndex index, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);

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

Entity Framework Core 9.0 och andra versioner
Produkt Versioner
Entity Framework Core 5.0, 6.0, 7.0, 8.0, 9.0

FindSharedObjectRootIndex(IMutableIndex, StoreObjectIdentifier)

Source:
RelationalIndexExtensions.cs
Source:
RelationalIndexExtensions.cs
Source:
RelationalIndexExtensions.cs
Source:
RelationalIndexExtensions.cs
Source:
RelationalIndexExtensions.cs

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.

C#
public static Microsoft.EntityFrameworkCore.Metadata.IMutableIndex FindSharedObjectRootIndex (this Microsoft.EntityFrameworkCore.Metadata.IMutableIndex index, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
C#
public static Microsoft.EntityFrameworkCore.Metadata.IMutableIndex? FindSharedObjectRootIndex (this Microsoft.EntityFrameworkCore.Metadata.IMutableIndex index, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);

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

Entity Framework Core 9.0 och andra versioner
Produkt Versioner
Entity Framework Core 5.0, 6.0, 7.0, 8.0, 9.0

FindSharedObjectRootIndex(IReadOnlyIndex, StoreObjectIdentifier)

Source:
RelationalIndexExtensions.cs
Source:
RelationalIndexExtensions.cs
Source:
RelationalIndexExtensions.cs
Source:
RelationalIndexExtensions.cs

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.

C#
public static Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex? FindSharedObjectRootIndex (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex index, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);

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 Core 9.0 och andra versioner
Produkt Versioner
Entity Framework Core 6.0, 7.0, 8.0, 9.0