EntityRecordInfo Constructor (EntityType, IEnumerable<EdmMember>, EntityKey, EntitySet)
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.
Assembly: EntityFramework (in EntityFramework.dll)
[SuppressMessageAttribute("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public EntityRecordInfo( EntityType metadata, IEnumerable<EdmMember> memberInfo, EntityKey entityKey, EntitySet entitySet )
Parameters
- metadata
-
Type:
System.Data.Entity.Core.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.Entity.Core.EntityKey
The key for the entity.
- entitySet
-
Type:
System.Data.Entity.Core.Metadata.Edm.EntitySet
The entity set to which the entity belongs.