RelationalTypeBaseExtensions.GetMappingFragments 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
GetMappingFragments(ITypeBase, StoreObjectType) |
Returns all configured type mapping fragments of the given type. This method is typically used by database providers (and other extensions). It is generally not used in application code. |
GetMappingFragments(IReadOnlyTypeBase, StoreObjectType) |
Returns all configured type mapping fragments of the given type. This method is typically used by database providers (and other extensions). It is generally not used in application code. |
GetMappingFragments(ITypeBase) |
Returns all configured type mapping fragments. This method is typically used by database providers (and other extensions). It is generally not used in application code. |
GetMappingFragments(IReadOnlyTypeBase) |
Returns all configured type mapping fragments. This method is typically used by database providers (and other extensions). It is generally not used in application code. |
GetMappingFragments(ITypeBase, StoreObjectType)
Returns all configured type mapping fragments of the given type.
This method is typically used by database providers (and other extensions). It is generally not used in application code.
public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IEntityTypeMappingFragment> GetMappingFragments (this Microsoft.EntityFrameworkCore.Metadata.ITypeBase typeBase, Microsoft.EntityFrameworkCore.Metadata.StoreObjectType storeObjectType);
static member GetMappingFragments : Microsoft.EntityFrameworkCore.Metadata.ITypeBase * Microsoft.EntityFrameworkCore.Metadata.StoreObjectType -> seq<Microsoft.EntityFrameworkCore.Metadata.IEntityTypeMappingFragment>
<Extension()>
Public Function GetMappingFragments (typeBase As ITypeBase, storeObjectType As StoreObjectType) As IEnumerable(Of IEntityTypeMappingFragment)
Parameters
- typeBase
- ITypeBase
The type.
- storeObjectType
- StoreObjectType
The type of store object to get the mapping fragments for.
Returns
The configured type mapping fragments.
Applies to
GetMappingFragments(IReadOnlyTypeBase, StoreObjectType)
Returns all configured type mapping fragments of the given type.
This method is typically used by database providers (and other extensions). It is generally not used in application code.
public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityTypeMappingFragment> GetMappingFragments (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyTypeBase typeBase, Microsoft.EntityFrameworkCore.Metadata.StoreObjectType storeObjectType);
static member GetMappingFragments : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyTypeBase * Microsoft.EntityFrameworkCore.Metadata.StoreObjectType -> seq<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityTypeMappingFragment>
<Extension()>
Public Function GetMappingFragments (typeBase As IReadOnlyTypeBase, storeObjectType As StoreObjectType) As IEnumerable(Of IReadOnlyEntityTypeMappingFragment)
Parameters
- typeBase
- IReadOnlyTypeBase
The type.
- storeObjectType
- StoreObjectType
The type of store object to get the mapping fragments for.
Returns
The configured type mapping fragments.
Applies to
GetMappingFragments(ITypeBase)
Returns all configured type mapping fragments.
This method is typically used by database providers (and other extensions). It is generally not used in application code.
public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IEntityTypeMappingFragment> GetMappingFragments (this Microsoft.EntityFrameworkCore.Metadata.ITypeBase typeBase);
static member GetMappingFragments : Microsoft.EntityFrameworkCore.Metadata.ITypeBase -> seq<Microsoft.EntityFrameworkCore.Metadata.IEntityTypeMappingFragment>
<Extension()>
Public Function GetMappingFragments (typeBase As ITypeBase) As IEnumerable(Of IEntityTypeMappingFragment)
Parameters
- typeBase
- ITypeBase
The type.
Returns
The configured type mapping fragments.
Applies to
GetMappingFragments(IReadOnlyTypeBase)
Returns all configured type mapping fragments.
This method is typically used by database providers (and other extensions). It is generally not used in application code.
public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityTypeMappingFragment> GetMappingFragments (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyTypeBase typeBase);
static member GetMappingFragments : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyTypeBase -> seq<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityTypeMappingFragment>
<Extension()>
Public Function GetMappingFragments (typeBase As IReadOnlyTypeBase) As IEnumerable(Of IReadOnlyEntityTypeMappingFragment)
Parameters
- typeBase
- IReadOnlyTypeBase
The type.
Returns
The configured type mapping fragments.
Applies to
Entity Framework