EntityRecordInfo Constructor (EntityType, IEnumerable<EdmMember>, EntityKey, EntitySet)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the EntityRecordInfo class of a specific entity type with an enumerable collection of data fields and with specific key and entity set information.

Namespace:   System.Data.Common
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public EntityRecordInfo(
	EntityType metadata,
	IEnumerable<EdmMember> memberInfo,
	EntityKey entityKey,
	EntitySet entitySet
)

Parameters

metadata
Type: System.Data.Metadata.Edm.EntityType

The EntityType of the entity represented by the DbDataRecord described by this EntityRecordInfo object.

memberInfo
Type: System.Collections.Generic.IEnumerable<EdmMember>

An enumerable collection of EdmMember objects that represent column information.

entityKey
Type: System.Data.EntityKey

The key for the entity.

entitySet
Type: System.Data.Metadata.Edm.EntitySet

The entity set to which the entity belongs.

.NET Framework
Available since 3.5
Return to top
Show: