Share via


EntityRecordInfo Constructor

Definition

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.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public EntityRecordInfo (System.Data.Entity.Core.Metadata.Edm.EntityType metadata, System.Collections.Generic.IEnumerable<System.Data.Entity.Core.Metadata.Edm.EdmMember> memberInfo, System.Data.Entity.Core.EntityKey entityKey, System.Data.Entity.Core.Metadata.Edm.EntitySet entitySet);
new System.Data.Entity.Core.Common.EntityRecordInfo : System.Data.Entity.Core.Metadata.Edm.EntityType * seq<System.Data.Entity.Core.Metadata.Edm.EdmMember> * System.Data.Entity.Core.EntityKey * System.Data.Entity.Core.Metadata.Edm.EntitySet -> System.Data.Entity.Core.Common.EntityRecordInfo

Parameters

metadata
EntityType

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

memberInfo
IEnumerable<EdmMember>

An enumerable collection of EdmMember objects that represent column information.

entityKey
EntityKey

The key for the entity.

entitySet
EntitySet

The entity set to which the entity belongs.

Attributes

Applies to