RelationalEntityTypeExtensions.GetMappingFragments Method

Definition

Overloads

GetMappingFragments(IConventionEntityType)

Returns all configured entity type mapping fragments.

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

GetMappingFragments(IEntityType)

Returns all configured entity type mapping fragments.

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

GetMappingFragments(IMutableEntityType)

Returns all configured entity type mapping fragments.

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

GetMappingFragments(IReadOnlyEntityType)

Returns all configured entity type mapping fragments.

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

GetMappingFragments(IConventionEntityType, StoreObjectType)

Returns all configured entity 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(IEntityType, StoreObjectType)

Returns all configured entity 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(IMutableEntityType, StoreObjectType)

Returns all configured entity 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(IReadOnlyEntityType, StoreObjectType)

Returns all configured entity 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(IConventionEntityType)

Returns all configured entity 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.IConventionEntityTypeMappingFragment> GetMappingFragments (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType);
static member GetMappingFragments : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> seq<Microsoft.EntityFrameworkCore.Metadata.IConventionEntityTypeMappingFragment>
<Extension()>
Public Function GetMappingFragments (entityType As IConventionEntityType) As IEnumerable(Of IConventionEntityTypeMappingFragment)

Parameters

entityType
IConventionEntityType

The entity type.

Returns

The configured entity type mapping fragments.

Applies to

GetMappingFragments(IEntityType)

Returns all configured entity 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.IEntityType entityType);
static member GetMappingFragments : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> seq<Microsoft.EntityFrameworkCore.Metadata.IEntityTypeMappingFragment>
<Extension()>
Public Function GetMappingFragments (entityType As IEntityType) As IEnumerable(Of IEntityTypeMappingFragment)

Parameters

entityType
IEntityType

The entity type.

Returns

The configured entity type mapping fragments.

Applies to

GetMappingFragments(IMutableEntityType)

Returns all configured entity 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.IMutableEntityTypeMappingFragment> GetMappingFragments (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType);
static member GetMappingFragments : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType -> seq<Microsoft.EntityFrameworkCore.Metadata.IMutableEntityTypeMappingFragment>
<Extension()>
Public Function GetMappingFragments (entityType As IMutableEntityType) As IEnumerable(Of IMutableEntityTypeMappingFragment)

Parameters

entityType
IMutableEntityType

The entity type.

Returns

The configured entity type mapping fragments.

Applies to

GetMappingFragments(IReadOnlyEntityType)

Returns all configured entity 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.IReadOnlyEntityType entityType);
static member GetMappingFragments : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> seq<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityTypeMappingFragment>
<Extension()>
Public Function GetMappingFragments (entityType As IReadOnlyEntityType) As IEnumerable(Of IReadOnlyEntityTypeMappingFragment)

Parameters

entityType
IReadOnlyEntityType

The entity type.

Returns

The configured entity type mapping fragments.

Applies to

GetMappingFragments(IConventionEntityType, StoreObjectType)

Returns all configured entity 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.IConventionEntityTypeMappingFragment> GetMappingFragments (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, Microsoft.EntityFrameworkCore.Metadata.StoreObjectType storeObjectType);
static member GetMappingFragments : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * Microsoft.EntityFrameworkCore.Metadata.StoreObjectType -> seq<Microsoft.EntityFrameworkCore.Metadata.IConventionEntityTypeMappingFragment>
<Extension()>
Public Function GetMappingFragments (entityType As IConventionEntityType, storeObjectType As StoreObjectType) As IEnumerable(Of IConventionEntityTypeMappingFragment)

Parameters

entityType
IConventionEntityType

The entity type.

storeObjectType
StoreObjectType

The type of store object to get the mapping fragments for.

Returns

The configured entity type mapping fragments.

Applies to

GetMappingFragments(IEntityType, StoreObjectType)

Returns all configured entity 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.IEntityType entityType, Microsoft.EntityFrameworkCore.Metadata.StoreObjectType storeObjectType);
static member GetMappingFragments : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Metadata.StoreObjectType -> seq<Microsoft.EntityFrameworkCore.Metadata.IEntityTypeMappingFragment>
<Extension()>
Public Function GetMappingFragments (entityType As IEntityType, storeObjectType As StoreObjectType) As IEnumerable(Of IEntityTypeMappingFragment)

Parameters

entityType
IEntityType

The entity type.

storeObjectType
StoreObjectType

The type of store object to get the mapping fragments for.

Returns

The configured entity type mapping fragments.

Applies to

GetMappingFragments(IMutableEntityType, StoreObjectType)

Returns all configured entity 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.IMutableEntityTypeMappingFragment> GetMappingFragments (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, Microsoft.EntityFrameworkCore.Metadata.StoreObjectType storeObjectType);
static member GetMappingFragments : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * Microsoft.EntityFrameworkCore.Metadata.StoreObjectType -> seq<Microsoft.EntityFrameworkCore.Metadata.IMutableEntityTypeMappingFragment>
<Extension()>
Public Function GetMappingFragments (entityType As IMutableEntityType, storeObjectType As StoreObjectType) As IEnumerable(Of IMutableEntityTypeMappingFragment)

Parameters

entityType
IMutableEntityType

The entity type.

storeObjectType
StoreObjectType

The type of store object to get the mapping fragments for.

Returns

The configured entity type mapping fragments.

Applies to

GetMappingFragments(IReadOnlyEntityType, StoreObjectType)

Returns all configured entity 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.IReadOnlyEntityType entityType, Microsoft.EntityFrameworkCore.Metadata.StoreObjectType storeObjectType);
static member GetMappingFragments : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType * Microsoft.EntityFrameworkCore.Metadata.StoreObjectType -> seq<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityTypeMappingFragment>
<Extension()>
Public Function GetMappingFragments (entityType As IReadOnlyEntityType, storeObjectType As StoreObjectType) As IEnumerable(Of IReadOnlyEntityTypeMappingFragment)

Parameters

entityType
IReadOnlyEntityType

The entity type.

storeObjectType
StoreObjectType

The type of store object to get the mapping fragments for.

Returns

The configured entity type mapping fragments.

Applies to