Click or drag to resize
IEntityPropertyProjector Interface
Interface for defining the IEntityPropertyProjector type which is used for entity property projections when projecting an entityview's content onto another data store format.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.3.0.0 (5.3.0)
Syntax
public interface IEntityPropertyProjector : IProjector

The IEntityPropertyProjector type exposes the following members.

Properties
  NameDescription
Public propertyAlternativeValueProducer
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.
Public propertyDefaultValueProducer
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.
Public propertyProjectedResultName
Name for the projection result. Projection result consumers can use this name to further handle the projection result.
(Inherited from IProjector.)
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.
(Inherited from IProjector.)
Public propertyValueFilter
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.
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
(Inherited from IProjector.)
Public propertyValueProducerFuncParameterIndices
Gets or sets the parameter indices array to use with ValueProducer. If ValueProducerFunc is null, this array is ignored.
(Inherited from IProjector.)
Public propertyValueType
Gets or sets the type of the value returned by the value producer or producers routine of the projector.
(Inherited from IProjector.)
Top
Methods
  NameDescription
Public methodProjectEntityProperty
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)
Top
See Also