EntityPropertyProjector Class |
Namespace: SD.LLBLGen.Pro.ORMSupportClasses
The EntityPropertyProjector type exposes the following members.
Name | Description | |
---|---|---|
EntityPropertyProjector(IEntityFieldCore, String) |
Initializes a new instance of the EntityPropertyProjector class.
| |
EntityPropertyProjector(IEntityFieldCore, String, IPredicate, IEntityFieldCore) |
Initializes a new instance of the EntityPropertyProjector class.
| |
EntityPropertyProjector(IEntityFieldCore, String, IPredicate, IEntityFieldCore, Type) |
Initializes a new instance of the EntityPropertyProjector class.
| |
EntityPropertyProjector(IEntityFieldCore, String, IPredicate, IEntityFieldCore, Type, Boolean) |
Initializes a new instance of the EntityPropertyProjector class.
|
Name | Description | |
---|---|---|
AlternativeValueProducer |
Gets or sets the alternative value producer. Only used if ValueFilter is set to a valid filter and that filter resolves to false for the
entity passed into ProjectEntityProperty.
| |
DefaultValueProducer |
Gets or sets the default value producer. This object produces the value returned by ProjectEntityProperty if ValueFilter isn't set or resolves to true
for the entity passed into ProjectEntityProperty.
| |
ProjectedResultName |
Name for the projection result. Projection result consumers can use this name to further handle the projection result.
| |
SetUsingCTorHint |
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.
| |
ValueFilter |
Gets or sets the value filter which can be used to select between the DefaultValueProducer and the AlternativeValueProducer. If this filter isn't
set (null) or set to an IPredicate implementing object and at runtime the filter resolves to true for the entity passed into ProjectEntityProperty,
the DefaultValueProducer is used, otherwise the AlternativeValueProducer. If AlternativeValueProducer isn't set, an
ORMInterpretationException is thrown.
| |
ValueProducerFunc |
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
| |
ValueProducerFuncParameterIndices |
Gets or sets the parameter indices array to use with ValueProducer. If ValueProducerFunc is null, this array is ignored.
| |
ValueType |
Gets or sets the type of the value returned by the value producers. This can be different from the actual value produced as you can change
the type in an override of ValuePostProcess. If not set, it is set by ProjectEntityProperty to the type of the value producer selected
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ProjectEntityProperty |
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)
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
ValuePostProcess |
Postprocesses the value passed in, which is the value produced by the selected value producer in ProjectEntityProperty.
|