| EntityPropertyProjector Constructor (IEntityFieldCore, String, IPredicate, IEntityFieldCore, Type, Boolean) | 
  
    Namespace: 
   SD.LLBLGen.Pro.ORMSupportClasses
    Assembly:
   SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.11.0.0 (5.11.23.1114)
 Syntax
Syntaxpublic EntityPropertyProjector(
	IEntityFieldCore defaultValueProvider,
	string projectedResultName,
	IPredicate valueFilter,
	IEntityFieldCore alternativeValueProducer,
	Type valueType,
	bool setUsingCTorHint
)
Public Sub New ( 
	defaultValueProvider As IEntityFieldCore,
	projectedResultName As String,
	valueFilter As IPredicate,
	alternativeValueProducer As IEntityFieldCore,
	valueType As Type,
	setUsingCTorHint As Boolean
)
Parameters
- defaultValueProvider
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityFieldCore
 The default value provider object.This object produces the value returned by ProjectEntityProperty if ValueFilter isn't set or resolves to true
            for the entity passed into ProjectEntityProperty. Can't be null
- projectedResultName
- Type: SystemString
 Name for the projection result. Projection result consumers can use this name to further handle the projection result.
            Can't be null / empty string
- valueFilter
- Type: SD.LLBLGen.Pro.ORMSupportClassesIPredicate
 The value filter which can be used to select between the DefaultValueProducer and the AlternativeValueProducer. If set to null,
            alternativeValueProducer is ignored.
- alternativeValueProducer
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityFieldCore
 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. Can't be null if valuefilter is specified
- valueType
- Type: SystemType
 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
- setUsingCTorHint
- Type: SystemBoolean
 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.
 See Also
See Also