MetaAccessor<TEntity,TMember> 类
定义
MetaAccessor 类的一个强类型版本。A strongly typed version of the MetaAccessor class.
generic <typename TEntity, typename TMember>
public ref class MetaAccessor abstract : System::Data::Linq::Mapping::MetaAccessor
public abstract class MetaAccessor<TEntity,TMember> : System.Data.Linq.Mapping.MetaAccessor
type MetaAccessor<'Entity, 'Member> = class
inherit MetaAccessor
Public MustInherit Class MetaAccessor(Of TEntity, TMember)
Inherits MetaAccessor
类型参数
- TEntity
源的类型。The type of the source.
- TMember
该源的成员的类型。The type of the member of that source.
- 继承
构造函数
| MetaAccessor<TEntity,TMember>() |
初始化 MetaAccessor<TEntity,TMember> 类的新实例。Initializes a new instance of the MetaAccessor<TEntity,TMember> class. |
属性
| Type |
获取此访问器访问的成员的类型。Gets the type of the member accessed by this accessor. |
方法
| Equals(Object) |
确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
| GetBoxedValue(Object) |
指定对其设置值或从其获取值的一个对象。Specifies an object on which to set a value or from which to get a value. |
| GetHashCode() |
作为默认哈希函数。Serves as the default hash function. (继承自 Object) |
| GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
| GetValue(TEntity) |
指定强类型值。Specifies the strongly typed value. |
| HasAssignedValue(Object) |
指定该实例是否包含已分配的值。Specifies whether the instance has an assigned value. (继承自 MetaAccessor) |
| HasLoadedValue(Object) |
指定该实例是否包含从延迟的源加载的值。Specifies whether the instance has a value loaded from a deferred source. (继承自 MetaAccessor) |
| HasValue(Object) |
指定该实例是否包含已加载或分配的值。Specifies whether the instance has a loaded or assigned value. (继承自 MetaAccessor) |
| MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
| SetBoxedValue(Object, Object) |
指定对其设置装箱值的实例。Specifies an instance on which to set the boxed value. |
| SetValue(TEntity, TMember) |
指定对其设置强类型值的实例。Specifies an instance on which to set the strongly typed value. |
| ToString() |
返回表示当前对象的字符串。Returns a string that represents the current object. (继承自 Object) |