Click or drag to resize

DataProjectorToCustomClassT Class

Projector to project plain projection data onto a custom class which can be an anonymous type.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.ORMSupportClassesDataProjectorToCustomClassT

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax
public class DataProjectorToCustomClass<T> : IEntityDataProjector, 
	IGeneralDataProjector

Type Parameters

T

The DataProjectorToCustomClassT type exposes the following members.

Constructors
Properties
  NameDescription
Protected propertyCTorInfoUsed
Gets the constructor info used during projections
Public propertyDestination
Gets the destination.
Protected propertyPropertyDescriptors
Gets the property descriptors for the type this projector projects to. These descriptors are cached so multi-row projections are fast.
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
Protected methodAddProjectionResultToContainer
Performs the actual projection. Override this method if you want to perform your own projections.
Protected methodCreateNewInstance
Creates a new instance of T with the ctor arguments specified.
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.)
Protected methodSetupCTorParameterInfo
Sets up the constructor parameters for creation new instances which require values set in the ctor.
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
Remarks
If the type T has a CTor which accepts all the types of the projectors, or when there's no parameterless CTor, it will use the CTor to fill the new objects. In the other situations, it will use property setters to fill the objects.
See Also