Export (0) Print
Expand All

ObjectMaterializer<TDataReader> Class

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Defines methods for dynamically materializing objects.

System.Object
  System.Data.Linq.SqlClient.Implementation.ObjectMaterializer<TDataReader>

Namespace:  System.Data.Linq.SqlClient.Implementation
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

public abstract class ObjectMaterializer<TDataReader>
where TDataReader : DbDataReader

Type Parameters

TDataReader

The type of the data reader.

The ObjectMaterializer<TDataReader> type exposes the following members.

  NameDescription
Public methodObjectMaterializer<TDataReader>Initializes a new instance of the ObjectMaterializer<TDataReader> class.
Top

  NameDescription
Public propertyCanDeferLoadWhen overridden in a derived class, gets a value that indicates whether deferred loading is enabled.
Top

  NameDescription
Public methodStatic memberConvert<TOutput>Changes the type of each element in a specified sequence.
Public methodStatic memberCreateGroup<TKey, TElement>Creates a group from a specified key and collection of values.
Public methodStatic memberCreateOrderedEnumerable<TElement>Creates an ordered sequence from a specified collection of values.
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodStatic memberErrorAssignmentToNullReturns an exception that indicates that a null value was tried to be assigned to a non-nullable value type.
Public methodExecuteSubQueryWhen overridden in a derived class, executes a query.
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 methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetLinkSource<T>When overridden in a derived class, creates a new deferred source.
Public methodGetNestedLinkSource<T>When overridden in a derived class, creates a new deferred source.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodInsertLookupWhen overridden in a derived class, inserts a value into a data structure.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodReadWhen overridden in a derived class, advances the reader to the next record.
Public methodSendEntityMaterializedWhen overridden in a derived class, invokes the method represented by OnLoadedMethod.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public fieldArgumentsCaptures internal state for the fast materializer.
Public fieldBufferReaderRepresents a reader that reads data rows in a forward-only manner.
Public fieldDataReaderRepresents a data reader.
Public fieldGlobalsCaptures internal state for the fast materializer.
Public fieldLocalsCaptures internal state for the fast materializer.
Public fieldOrdinalsRepresents column ordinals of a data reader.
Top

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

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