MappingFragment Constructor (EntitySet, TypeMapping, Boolean)

 

Creates a MappingFragment instance.

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

public MappingFragment(
	EntitySet storeEntitySet,
	TypeMapping typeMapping,
	bool makeColumnsDistinct
)

Parameters

storeEntitySet
Type: System.Data.Entity.Core.Metadata.Edm.EntitySet

The EntitySet corresponding to the table of view being mapped.

typeMapping
Type: System.Data.Entity.Core.Mapping.TypeMapping

The TypeMapping that contains this MappingFragment.

makeColumnsDistinct
Type: System.Boolean

Flag that indicates whether to include 'DISTINCT' when generating queries.