Click or drag to resize

DataProjectorToArrayT Class

Custom projector class which is used to project values to an array of type T.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.LinqSupportClassesDataProjectorToArrayT

Namespace:  SD.LLBLGen.Pro.LinqSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.4.0.0 (5.4.0)
Syntax
public class DataProjectorToArray<T> : IEntityDataProjector, 
	IGeneralDataProjector

Type Parameters

T
the type of the array, e.g. object[]

The DataProjectorToArrayT type exposes the following members.

Constructors
  NameDescription
Public methodDataProjectorToArrayT(ListT)
Initializes a new instance of the DataProjectorToArrayT class.
Public methodDataProjectorToArrayT(IList)
Initializes a new instance of the DataProjectorToArrayT class.
Top
Properties
  NameDescription
Public propertyRequiresNewObjectArrayPerRow
Gets a value indicating whether this projector requires a new object array per row. Default is true. If false, the object array passed in as plain result is always the same array. This is useful if the projector copies the data from the rawProjectionResult to the actual instance and doesn't re-use the row anyway. Value is ignored if value projections are required for the projection.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitialize
Initializes the projector, using the projectors if necessary.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIEntityDataProjectorAddProjectionResultToContainer
Adds a new projection result to the container contained into this instance. The container has to be set in the constructor.
Explicit interface implementationPrivate methodIGeneralDataProjectorAddProjectionResultToContainer
Adds a new projection result to the container contained into this instance. The container has to be set in the constructor.
Top
See Also