Click or drag to resize

ValueListProjectionDefinition Class

Projection definition for a projection of a list of data of one or more columns into a list of values or a set of objects.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.LinqSupportClassesProjectionDefinition
    SD.LLBLGen.Pro.LinqSupportClassesValueListProjectionDefinition

Namespace:  SD.LLBLGen.Pro.LinqSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.9.0.0 (5.9.0)
Syntax
public class ValueListProjectionDefinition : ProjectionDefinition

The ValueListProjectionDefinition type exposes the following members.

Constructors
  NameDescription
Public methodValueListProjectionDefinition
Initializes a new instance of the ValueListProjectionDefinition class.
Top
Properties
  NameDescription
Public propertyDataValueProjectors
Gets or sets the data value projectors to use. These projectors are the elements fed to the projection engine to do the projection of the data resulted by the query. For every target element there's one DataValueProjector element defined. It can be that there are less or more elements in this list than there are in the QueryElements.
Public propertyDestinationType
Gets or sets the type of the destination.
Public propertyIsSingleValueList
Gets the value indicating whether the result will be a valuelist with a set of values instead of objects into which the result is projected (true) or a set of objects (false). If the projection contains more than one datavalueprojector, this value is false no matter what value it is set to in the CTor.
Public propertyNestedQueries
Gets the list of nested query specifications, which are to be fetched as child sets into this set.
Public propertyPreProjectionDataBuckets
Gets or sets the pre projection data buckets of contained entity projections collected by the projection expression .
Public propertyProjectionFuncIndices
Gets the projection func indices to use with ProjectionInstantiator. This array is the 'indices' array passed to the ProjectionInstantiator lambda. It contains the real indexes in 'values', also passed to the lambda. E.g. an element's value is read as values[indices[x]], where 'x' is the element's index in the original projection lambda.
Public propertyProjectionInstantiatorLambda
Gets or sets the projection instantiator function lambda. This function lambda is a modified version of the projection lambda and produces, when compiled, instances for this projection if the valuelistprojection is a multivalueprojection.
Public propertyQueryElements
Gets the fields for the query to produce. These fields form the select list for the query which is used as the source of the actual projection.
Public propertyRelationsToUse
Relations collection for the relations to traverse to be able to fulfill the projection. These relations are from the fields in the projection specification itself.
Public propertyTypeOfProjection
Gets the type of projection.
(Inherited from ProjectionDefinition.)
Top
Methods
  NameDescription
Public methodAddFieldToProjection(IEntityFieldCore)
Adds the specified field to the projection.
Public methodAddFieldToProjection(IEntityFieldCore, Type)
Adds the specified field to the projection. This routine will both add the field to the query elements and also add a projector to the datavalueprojectors.
Public methodAddFieldToQuery(IEntityFieldCore)
Adds the field to queryelements, doesn't add the field to projectors
Public methodAddFieldToQuery(IEntityFieldCore, Boolean)
Adds the field to queryelements, doesn't add the field to projectors
Public methodAddLambdaAsProducerFuncToProjection
Adds the lambda as producer func to projection. It adds the lambda in compiled form to the datavalueprojectors and all gathered elements to the queryelements.
Public methodAddProjectionListToProjection
Adds the elements in the passed in ProjectionListExpression to this projection.
Public methodAddRelations
Adds the relations.
Public methodCreateAndAddDataValueProjectorToProjection
Adds the data value projector to projection.
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 methodInitClass
Inits the class.
(Inherited from ProjectionDefinition.)
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
See Also