RelationalEntityTypeExtensions.RemoveMappingFragment 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
RemoveMappingFragment(IConventionEntityType, StoreObjectIdentifier) |
Removes 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. |
RemoveMappingFragment(IMutableEntityType, StoreObjectIdentifier) |
Removes 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. |
RemoveMappingFragment(IConventionEntityType, StoreObjectIdentifier)
Removes 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? RemoveMappingFragment (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member RemoveMappingFragment : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * StoreObjectIdentifier -> Microsoft.EntityFrameworkCore.Metadata.IConventionEntityTypeMappingFragment
<Extension()>
Public Function RemoveMappingFragment (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
The removed IConventionEntityTypeMappingFragment or null
if no overrides for the given store object were found or the existing overrides were configured from a higher source.
Applies to
RemoveMappingFragment(IMutableEntityType, StoreObjectIdentifier)
Removes 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? RemoveMappingFragment (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member RemoveMappingFragment : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * StoreObjectIdentifier -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityTypeMappingFragment
<Extension()>
Public Function RemoveMappingFragment (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
The removed IMutableEntityTypeMappingFragment or null
if no overrides for the given store object were found.
Applies to
Entity Framework