This documentation is archived and is not being maintained.

EntityRecordInfo Constructor

Initializes a new EntityRecordInfo object 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


Type: System.Data.Metadata.Edm.EntityType

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

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

An enumerable collection of EdmMember objects that represent column information.

Type: System.Data.EntityKey

The EntityKey that is the key for the entity.

Type: System.Data.Metadata.Edm.EntitySet

An EntitySet object that is the entity set to which the entity belongs.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5 SP1