EntityRecordInfo 类

定义

提供对实体元数据的访问。Provides access to entity metadata.

public ref class EntityRecordInfo : System::Data::Common::DataRecordInfo
public class EntityRecordInfo : System.Data.Common.DataRecordInfo
type EntityRecordInfo = class
    inherit DataRecordInfo
Public Class EntityRecordInfo
Inherits DataRecordInfo
继承
EntityRecordInfo

构造函数

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

使用数据字段的可枚举集合、特定键和实体集信息初始化新的 EntityRecordInfo 对象。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.

属性

EntityKey

获取实体的 EntityKeyGets the EntityKey for the entity.

FieldMetadata

获取此 FieldMetadata 对象的 DataRecordInfoGets FieldMetadata for this DataRecordInfo object.

(继承自 DataRecordInfo)
RecordType

获取此对象的类型信息作为 TypeUsage 对象。Gets type info for this object as a TypeUsage object.

(继承自 DataRecordInfo)

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于