MappingFragment Class

 

Represents the metadata for mapping fragment. A set of mapping fragments makes up the Set mappings( EntitySet, AssociationSet or CompositionSet ) Each MappingFragment provides mapping for those properties of a type that map to a single table.

Namespace:   System.Data.Entity.Core.Mapping
Assembly:  EntityFramework (in EntityFramework.dll)


public class MappingFragment : StructuralTypeMapping

NameDescription
System_CAPS_pubmethodMappingFragment(EntitySet, TypeMapping, Boolean)

Creates a MappingFragment instance.

NameDescription
System_CAPS_pubpropertyConditions

Gets a read-only collection of property mapping conditions.(Overrides StructuralTypeMapping.Conditions.)

System_CAPS_pubpropertyMakeColumnsDistinct

Gets a flag that indicates whether to include 'DISTINCT' when generating queries.

System_CAPS_pubpropertyPropertyMappings

Gets a read-only collection of property mappings.(Overrides StructuralTypeMapping.PropertyMappings.)

System_CAPS_pubpropertyStoreEntitySet

Gets the EntitySet corresponding to the table or view being mapped.

System_CAPS_pubpropertyTypeMapping

Gets the TypeMapping that contains this MappingFragment.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.