แก้ไข

แชร์ผ่าน


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.

public:
 EntityRecordInfo(System::Data::Metadata::Edm::EntityType ^ metadata, System::Collections::Generic::IEnumerable<System::Data::Metadata::Edm::EdmMember ^> ^ memberInfo, System::Data::EntityKey ^ entityKey, System::Data::Metadata::Edm::EntitySet ^ entitySet);
public EntityRecordInfo (System.Data.Metadata.Edm.EntityType metadata, System.Collections.Generic.IEnumerable<System.Data.Metadata.Edm.EdmMember> memberInfo, System.Data.EntityKey entityKey, System.Data.Metadata.Edm.EntitySet entitySet);
new System.Data.Common.EntityRecordInfo : System.Data.Metadata.Edm.EntityType * seq<System.Data.Metadata.Edm.EdmMember> * System.Data.EntityKey * System.Data.Metadata.Edm.EntitySet -> System.Data.Common.EntityRecordInfo
Public Sub New (metadata As EntityType, memberInfo As IEnumerable(Of EdmMember), entityKey As EntityKey, entitySet As EntitySet)

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.

Applies to