Click or drag to resize

DataValueProjector Class

General class which defines the projection result and destination of a value in an object[] array.
Inheritance Hierarchy

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.5.0.0 (5.5.18.1019)
Syntax
[SerializableAttribute]
public class DataValueProjector : IDataValueProjector, 
	IProjector

The DataValueProjector type exposes the following members.

Constructors
  NameDescription
Public methodDataValueProjector(String, Int32)
Initializes a new instance of the DataValueProjector class.
Public methodDataValueProjector(String, Int32, Type)
Initializes a new instance of the DataValueProjector class.
Public methodDataValueProjector(String, Int32, Type, Boolean)
Initializes a new instance of the DataValueProjector class.
Public methodDataValueProjector(String, Int32, Type, Boolean, ProjectionValueProducerFunc, Int32)
Initializes a new instance of the DataValueProjector class.
Top
Properties
  NameDescription
Public propertyProjectedResultName
Name for the projection result. Projection result consumers can use this name to further handle the projection result.
Public propertySetUsingCTorHint
Flag which hints the projector engine how to set the destination element: via the constructor (true) or on another way (false). This flag can be ignored by the projector engine if values can better be set otherwise.
Public propertyValueIndex
Gets or sets the index of the value to return when Projectvalue is called.
Public propertyValueProducerFunc
Gets or sets the delegate to use to produce a value for this projector out of the list of object values. Be sure to set ValueProducerFuncParameterIndices if the delegate contained inside ValueProducerFunc requires any input values from the list of values to project
Public propertyValueProducerFuncParameterIndices
Gets or sets the parameter indices array to use with ValueProducer. If ValueProducerFunc is null, this array is ignored.
Public propertyValueType
Gets or sets the type of the value returned by the value producer or producers routine of the projector.
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.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodProjectValue
Projects the entity through this entity property projector and results into a single value, based on what the DefaultValueProducer is and what filter is specified (if any)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodValuePostProcess
Postprocesses the value passed in, which is the projection result determined by ProjectValue. Use this routine to post-process this value if you want to perform post-processing per value.
Top
See Also