Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MetaAccessor(TEntity, TMember) Class

MetaAccessor<TEntity, TMember> Class

A strongly typed version of the MetaAccessor class.

    System.Data.Linq.Mapping.MetaAccessor<TEntity, TMember>

Namespace:  System.Data.Linq.Mapping
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

public abstract class MetaAccessor<TEntity, TMember> : MetaAccessor

Type Parameters


The type of the source.


The type of the member of that source.

The MetaAccessor<TEntity, TMember> type exposes the following members.

Protected methodMetaAccessor<TEntity, TMember>Initializes a new instance of the MetaAccessor<TEntity, TMember> class.

Public propertyTypeGets the type of the member accessed by this accessor. (Overrides MetaAccessor.Type.)

Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetBoxedValueSpecifies an object on which to set a value or from which to get a value. (Overrides MetaAccessor.GetBoxedValue(Object).)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodGetValueSpecifies the strongly typed value.
Public methodHasAssignedValueSpecifies whether the instance has an assigned value. (Inherited from MetaAccessor.)
Public methodHasLoadedValueSpecifies whether the instance has a value loaded from a deferred source. (Inherited from MetaAccessor.)
Public methodHasValueSpecifies whether the instance has a loaded or assigned value. (Inherited from MetaAccessor.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSetBoxedValueSpecifies an instance on which to set the boxed value. (Overrides MetaAccessor.SetBoxedValue(Object, Object).)
Public methodSetValueSpecifies an instance on which to set the strongly typed value.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft