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.
Assembly: EntityFramework (in EntityFramework.dll)
System.Data.Entity.Core.Mapping.MappingItem
System.Data.Entity.Core.Mapping.StructuralTypeMapping
System.Data.Entity.Core.Mapping.MappingFragment
Name | Description | |
---|---|---|
![]() | MappingFragment(EntitySet, TypeMapping, Boolean) | Creates a MappingFragment instance. |
Name | Description | |
---|---|---|
![]() | Conditions | Gets a read-only collection of property mapping conditions.(Overrides StructuralTypeMapping.Conditions.) |
![]() | MakeColumnsDistinct | Gets a flag that indicates whether to include 'DISTINCT' when generating queries. |
![]() | PropertyMappings | Gets a read-only collection of property mappings.(Overrides StructuralTypeMapping.PropertyMappings.) |
![]() | StoreEntitySet | Gets the EntitySet corresponding to the table or view being mapped. |
![]() | TypeMapping | Gets the TypeMapping that contains this MappingFragment. |
Name | Description | |
---|---|---|
![]() | AddCondition(ConditionPropertyMapping) | Adds a property mapping condition.(Overrides StructuralTypeMapping.AddCondition(ConditionPropertyMapping).) |
![]() | AddPropertyMapping(PropertyMapping) | Adds a property mapping.(Overrides StructuralTypeMapping.AddPropertyMapping(PropertyMapping).) |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | RemoveCondition(ConditionPropertyMapping) | Removes a property mapping condition.(Overrides StructuralTypeMapping.RemoveCondition(ConditionPropertyMapping).) |
![]() | RemovePropertyMapping(PropertyMapping) | Removes a property mapping.(Overrides StructuralTypeMapping.RemovePropertyMapping(PropertyMapping).) |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.