RelationalEntityTypeExtensions.FindMappingFragment 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
FindMappingFragment(IReadOnlyEntityType, StoreObjectIdentifier) |
Returns the entity 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(IMutableEntityType, StoreObjectIdentifier) |
Returns the entity 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(IEntityType, StoreObjectIdentifier) |
Returns the entity 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(IConventionEntityType, StoreObjectIdentifier) |
Returns the entity 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(IReadOnlyEntityType, StoreObjectIdentifier)
Returns the entity 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.IReadOnlyEntityType entityType, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member FindMappingFragment : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType * StoreObjectIdentifier -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityTypeMappingFragment
<Extension()>
Public Function FindMappingFragment (entityType As IReadOnlyEntityType, ByRef storeObject As StoreObjectIdentifier) As IReadOnlyEntityTypeMappingFragment
Parameters
- entityType
- IReadOnlyEntityType
The entity type.
- storeObject
- StoreObjectIdentifier
The identifier of a table-like store object.
Returns
An object that represents an entity type mapping fragment.
Applies to
FindMappingFragment(IMutableEntityType, StoreObjectIdentifier)
Returns the entity 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.IMutableEntityTypeMappingFragment? FindMappingFragment (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member FindMappingFragment : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * StoreObjectIdentifier -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityTypeMappingFragment
<Extension()>
Public Function FindMappingFragment (entityType As IMutableEntityType, ByRef storeObject As StoreObjectIdentifier) As IMutableEntityTypeMappingFragment
Parameters
- entityType
- IMutableEntityType
The entity type.
- storeObject
- StoreObjectIdentifier
The identifier of a table-like store object.
Returns
An object that represents an entity type mapping fragment.
Applies to
FindMappingFragment(IEntityType, StoreObjectIdentifier)
Returns the entity 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.IEntityType entityType, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member FindMappingFragment : Microsoft.EntityFrameworkCore.Metadata.IEntityType * StoreObjectIdentifier -> Microsoft.EntityFrameworkCore.Metadata.IEntityTypeMappingFragment
<Extension()>
Public Function FindMappingFragment (entityType As IEntityType, ByRef storeObject As StoreObjectIdentifier) As IEntityTypeMappingFragment
Parameters
- entityType
- IEntityType
The entity type.
- storeObject
- StoreObjectIdentifier
The identifier of a table-like store object.
Returns
An object that represents an entity type mapping fragment.
Applies to
FindMappingFragment(IConventionEntityType, StoreObjectIdentifier)
Returns the entity 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.IConventionEntityTypeMappingFragment? FindMappingFragment (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member FindMappingFragment : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * StoreObjectIdentifier -> Microsoft.EntityFrameworkCore.Metadata.IConventionEntityTypeMappingFragment
<Extension()>
Public Function FindMappingFragment (entityType As IConventionEntityType, ByRef storeObject As StoreObjectIdentifier) As IConventionEntityTypeMappingFragment
Parameters
- entityType
- IConventionEntityType
The entity type.
- storeObject
- StoreObjectIdentifier
The identifier of a table-like store object.
Returns
An object that represents an entity type mapping fragment.
Applies to
Entity Framework