RelationalTypeBaseExtensions.FindMappingFragment Method

Definition

Overloads

FindMappingFragment(IReadOnlyTypeBase, StoreObjectIdentifier)

Returns the type mapping for a particular table-like store object.

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

FindMappingFragment(ITypeBase, StoreObjectIdentifier)

Returns the type mapping for a particular table-like store object.

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

FindMappingFragment(IReadOnlyTypeBase, StoreObjectIdentifier)

Returns the type mapping for a particular table-like store 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.IReadOnlyEntityTypeMappingFragment? FindMappingFragment (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyTypeBase typeBase, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member FindMappingFragment : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyTypeBase * StoreObjectIdentifier -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityTypeMappingFragment
<Extension()>
Public Function FindMappingFragment (typeBase As IReadOnlyTypeBase, ByRef storeObject As StoreObjectIdentifier) As IReadOnlyEntityTypeMappingFragment

Parameters

typeBase
IReadOnlyTypeBase

The type.

storeObject
StoreObjectIdentifier

The identifier of a table-like store object.

Returns

An object that represents an type mapping fragment.

Applies to

FindMappingFragment(ITypeBase, StoreObjectIdentifier)

Returns the type mapping for a particular table-like store 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.IEntityTypeMappingFragment? FindMappingFragment (this Microsoft.EntityFrameworkCore.Metadata.ITypeBase typeBase, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member FindMappingFragment : Microsoft.EntityFrameworkCore.Metadata.ITypeBase * StoreObjectIdentifier -> Microsoft.EntityFrameworkCore.Metadata.IEntityTypeMappingFragment
<Extension()>
Public Function FindMappingFragment (typeBase As ITypeBase, ByRef storeObject As StoreObjectIdentifier) As IEntityTypeMappingFragment

Parameters

typeBase
ITypeBase

The type.

storeObject
StoreObjectIdentifier

The identifier of a table-like store object.

Returns

An object that represents an type mapping fragment.

Applies to