MetaDataMember 类
定义
表示域对象的字段或属性与数据库表的列之间的映射。Represents the mapping between a field or a property of a domain object into a column of a database table.
public ref class MetaDataMember abstract
public abstract class MetaDataMember
type MetaDataMember = class
Public MustInherit Class MetaDataMember
- 继承
-
MetaDataMember
构造函数
| MetaDataMember() |
初始化 MetaDataMember 类的新实例。Initializes a new instance of the MetaDataMember class. |
属性
| Association |
当在派生类中重写时,获取与此成员对应的 MetaAssociation。When overridden in a derived class, gets the MetaAssociation that corresponds to this member. |
| AutoSync |
在派生类中重写时,获取此成员的读回行为以进行插入和更新操作。When overridden in a derived class, gets the read-back behavior for this member for insert and update operations. |
| CanBeNull |
在派生类中重写时,获取一个值,该值指示是否可以为此成员的值分配 |
| DbType |
在派生类中重写时,获取相应数据库列的类型。When overridden in a derived class, gets the type of the corresponding database column. |
| DeclaringType |
在派生类中重写时,获取包含此数据成员的 MetaType。When overridden in a derived class, gets the MetaType that contains this data member. |
| DeferredSourceAccessor |
在派生类中重写时,获取用于获取并设置此成员的延迟源的访问器。When overridden in a derived class, gets the accessor that is used to get and set the deferred source of this member. |
| DeferredValueAccessor |
在派生类中重写时,获取用于获取并设置此成员的延迟值的访问器(而不会导致提取)。When overridden in a derived class, gets the accessor that is used to get and set the deferred value of this member (without causing fetch). |
| Expression |
在派生类中重写时,获取定义计算列的表达式。When overridden in a derived class, gets the expression that defines a computed column. |
| IsAssociation |
在派生类中重写时,获取一个值,该值指示此成员是否定义关联关系。When overridden in a derived class, gets a value that indicates whether this member defines an association relationship. |
| IsDbGenerated |
在派生类中重写时,获取一个值,该值指示此成员是否由数据库自动生成。When overridden in a derived class, gets a value that indicates whether this member is automatically generated by the database. |
| IsDeferred |
在派生类中重写时,获取一个值,该值指示默认行为是否在延迟的基础上加载此成员。When overridden in a derived class, gets a value that indicates whether the default behavior is to load this member on a deferred basis. |
| IsDiscriminator |
在派生类中重写时,获取一个值,该值指示此成员是否表示继承鉴别器。When overridden in a derived class, gets a value that indicates whether this member represents the inheritance discriminator. |
| IsPersistent |
在派生类中重写时,获取一个值,该值指示此成员是否映射到列(或约束)。When overridden in a derived class, gets a value that indicates whether this member is mapped to a column (or constraint). |
| IsPrimaryKey |
在派生类中重写时,获取一个值,该值指示此成员是否属于该类型的标识。When overridden in a derived class, gets a value that indicates whether this member is part of the type's identity. |
| IsVersion |
在派生类中重写时,获取一个值,该值指示此成员是表示行版本还是时间戳。When overridden in a derived class, gets a value that indicates whether this member represents the row version or timestamp. |
| LoadMethod |
在派生类中重写时,获取用于执行加载操作的 DataContext 方法。When overridden in a derived class, gets the DataContext method that is used to perform load operations. |
| MappedName |
在派生类中重写时,获取数据库中列(或约束)的名称。When overridden in a derived class, gets the name of the column (or constraint) in the database. |
| Member |
在派生类中重写时,获取基础 MemberInfo。When overridden in a derived class, gets the underlying MemberInfo. |
| MemberAccessor |
在派生类中重写时,获取用于获取或设置此成员的值的访问器。When overridden in a derived class, gets the accessor that is used to get or set the value of this member. |
| Name |
在派生类中重写时,获取该成员的名称,该成员名称与 MemberInfo 名称相同。When overridden in a derived class, gets the name of the member, which is the same as the MemberInfo name. |
| Ordinal |
在派生类中重写时,在查询结果的默认布局中获取此成员的序号位置。When overridden in a derived class, gets the ordinal position of this member in the default layout of query results. |
| StorageAccessor |
在派生类中重写时,获取用于获取或设置此成员的存储值的访问器。When overridden in a derived class, gets the accessor that is used to get or set the storage value of this member. |
| StorageMember |
在派生类中重写时,获取存储此成员的数据的成员。When overridden in a derived class, gets the member that stores the data for this member. |
| Type |
在派生类中重写时,获取此成员的类型。When overridden in a derived class, gets the type of this member. |
| UpdateCheck |
在派生类中重写时,获取此成员的开放式并发检查策略。When overridden in a derived class, gets the optimistic concurrency check policy for this member. |
方法
| Equals(Object) |
确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
| GetHashCode() |
作为默认哈希函数。Serves as the default hash function. (继承自 Object) |
| GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
| IsDeclaredBy(MetaType) |
在派生类中重写时,指定是否按指定类型声明此成员。When overridden in a derived class, specifies whether this member is declared by the specified type. |
| MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
| ToString() |
返回表示当前对象的字符串。Returns a string that represents the current object. (继承自 Object) |