Click or drag to resize
EntityProperty Class
Class which at runtime represents an entity property, and which is used in Predicate expressions for filtering and sorting in-memory using EntityView(2) objects. Both selfservicing and adapter use this class.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.ORMSupportClassesEntityProperty

Namespace: SD.LLBLGen.Pro.ORMSupportClasses
Assembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntax
[SerializableAttribute]
public class EntityProperty : IEntityFieldCore, 
	IFieldInfo, IEntityFieldCoreInterpret

The EntityProperty type exposes the following members.

Constructors
  NameDescription
Public methodEntityProperty(PropertyDescriptor)
Initializes a new instance of the EntityProperty class.
Public methodEntityProperty(String)
Initializes a new instance of the EntityProperty class.
Top
Properties
  NameDescription
Public propertyActAsDerivedTableField
Gets or sets a value indicating whether this field should be threated as a derived table field. This is necessary when this field is in a query and targets a derived table while this field is actually a full entity field (so it has field info). If this flag is true, the field will result in objectAlias.Alias instead of persistenceinfo.Fieldname as alias (alias only if required)
Public propertyActualContainingObjectName
Not Implemented
Public propertyAggregateFunctionToApply
Not implemented
Public propertyAlias
Setter not implemented
Public propertyContainingObjectName
Not implemented
Public propertyCurrentValue
Not implemented
Public propertyDataType
Returns the datatype of the entityproperty. Only valid after this entityproperty has been evaluated with an entity.
Public propertyDbValue
Not implemented
Public propertyExpressionToApply
The expression to apply to this field in a select list, update statement or predicate. Expression is applied before AggregateFunctionToApply.
Public propertyFieldIndex
Not implemented
Public propertyFunctionCallToApply
The database function call to apply on this field in a selectlist, update statement or predicate or expression. FunctionCallToApply is applied before ExpressionToApply.
Public propertyIsChanged
Not implemented
Public propertyIsForeignKey
Not implemented
Public propertyIsInMultiTargetEntity
Not Implemented
Public propertyIsNull
Not implemented
Public propertyIsNullable
Not implemented
Public propertyIsOfEnumDataType
Gets a value indicating whether the DataType is an enum type. This is a helper boolean so it doesn't have to be determined for every field set during a fetch.
Public propertyIsPrimaryKey
Not implemented
Public propertyIsReadOnly
Not implemented
Public propertyLinkedSubTypeFields
Gets linkedSubTypeFields
Public propertyLinkedSuperTypeField
Not implemented
Public propertyMaxLength
Not implemented
Public propertyName
The name of the property. Name cannot be of zero length nor can they consist of solely spaces. Leading and trailing spaces are trimmed.
Public propertyObjectAlias
Not implemented
Public propertyPrecision
Not implemented
Public propertyRealDataType
Gets the real datatype. This is the underlying datatype of DataType and if that's a Nullable(Of T) it's the type of T. This is a helper property so it's not determined over and over again for every field during a fetch.
Public propertyScale
Not implemented
Top
Methods
  NameDescription
Public methodAcceptChange
Accepts the change made to this field as final.
Public methodAddLinkedSubTypeField
Adds the linked sub type field to the list of linked subtype fields.
Public methodBeginEdit
Not implemented
Public methodCancelEdit
Not implemented
Public methodClone
Not implemented
Public methodEndEdit
Not implemented
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Overrides ObjectEquals(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 methodForcedChangedWrite
Forces a set of the IsChanged flag for this field.
Public methodForcedCurrentValueWrite(Object)
Not implemented
Public methodForcedCurrentValueWrite(Object, Object)
Not implemented
Public methodForcedIsNullWrite
Forcess a set of the IsNull flag
Public methodGetDiscriminatorColumnFlag
Not implemented
Public methodGetHashCode
Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
(Overrides ObjectGetHashCode.)
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 methodRejectChange
Rejects the value of the current value and resets current value with the original value, and IsChanged will report false.
Public methodSetDbValue
Sets the DbValue property with the value passed in.
Public methodSetFieldIndex
Sets the FieldIndex, if FieldInfo is null. Used in DefineField.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWriteXml
Writes the XML of this Field object to the writer specified
Top
Operators
  NameDescription
Public operatorStatic memberAddition(Object, EntityProperty)
Operator overload for the '+' operator to produce an Expression which represents value + field
Public operatorStatic memberAddition(EntityProperty, EntityField2)
Operator overload for the '+' operator to produce an Expression which represents field + field2
Public operatorStatic memberAddition(EntityProperty, EntityProperty)
Operator overload for the '+' operator to produce an Expression which represents field + field2
Public operatorStatic memberAddition(EntityProperty, Expression)
Operator overload for the '+' operator to produce an Expression which represents field + expression
Public operatorStatic memberAddition(EntityProperty, Object)
Operator overload for the '+' operator to produce an Expression which represents field + value
Public operatorStatic memberAddition(Expression, EntityProperty)
Operator overload for the '+' operator to produce an Expression which represents expression + field
Public operatorStatic memberBitwiseOr
Operator overload for the '|' operator to concatenate sortoperators to a field
Public operatorStatic memberDivision(Object, EntityProperty)
Operator overload for the '/' operator to produce an Expression which represents value / field
Public operatorStatic memberDivision(EntityProperty, EntityField2)
Operator overload for the '/' operator to produce an Expression which represents field / field2
Public operatorStatic memberDivision(EntityProperty, EntityProperty)
Operator overload for the '/' operator to produce an Expression which represents field / field2
Public operatorStatic memberDivision(EntityProperty, Expression)
Operator overload for the '/' operator to produce an Expression which represents field / expression
Public operatorStatic memberDivision(EntityProperty, Object)
Operator overload for the '/' operator to produce an Expression which represents field / value
Public operatorStatic memberDivision(Expression, EntityProperty)
Operator overload for the '/' operator to produce an Expression which represents expression / field
Public operatorStatic memberEquality(EntityProperty, EntityField2)
Operator overload for the '==' operator to produce a FieldCompareExpressionPredicate to represent leftOperand == rigthOperand
Public operatorStatic memberEquality(EntityProperty, EntityProperty)
Operator overload for the '==' operator to produce a FieldCompareExpressionPredicate to represent leftOperand == rigthOperand
Public operatorStatic memberEquality(EntityProperty, Expression)
Operator overload for the '==' operator to produce a FieldCompareExpression predicate.
Public operatorStatic memberEquality(EntityProperty, IList)
Operator overload for the '==' operator to produce a FieldCompareRangePredicate.
Public operatorStatic memberEquality(EntityProperty, Object)
Operator overload for the '==' operator to produce a FieldCompareValue/Null predicate.
Public operatorStatic memberGreaterThan(EntityProperty, EntityField2)
Operator overload for the '>' operator to produce a FieldCompareExpressionPredicate to represent leftOperand > rigthOperand
Public operatorStatic memberGreaterThan(EntityProperty, EntityProperty)
Operator overload for the '>' operator to produce a FieldCompareExpressionPredicate to represent leftOperand > rigthOperand
Public operatorStatic memberGreaterThan(EntityProperty, Expression)
Operator overload for the '>' operator to produce a FieldCompareExpression predicate.
Public operatorStatic memberGreaterThan(EntityProperty, Object)
Operator overload for the '>' operator to produce a FieldCompareValuePredicate.
Public operatorStatic memberGreaterThanOrEqual(EntityProperty, EntityField2)
Operator overload for the '>=' operator to produce a FieldCompareExpressionPredicate to represent leftOperand >= rigthOperand
Public operatorStatic memberGreaterThanOrEqual(EntityProperty, EntityProperty)
Operator overload for the '>=' operator to produce a FieldCompareExpressionPredicate to represent leftOperand >= rigthOperand
Public operatorStatic memberGreaterThanOrEqual(EntityProperty, Expression)
Operator overload for the '>=' operator to produce a FieldCompareExpression predicate.
Public operatorStatic memberGreaterThanOrEqual(EntityProperty, Object)
Operator overload for the '>=' operator to produce a FieldCompareValuePredicate.
Public operatorStatic memberInequality(EntityProperty, EntityField2)
Operator overload for the '!=' operator to produce a FieldCompareExpressionPredicate to represent leftOperand != rigthOperand
Public operatorStatic memberInequality(EntityProperty, EntityProperty)
Operator overload for the '!=' operator to produce a FieldCompareExpressionPredicate to represent leftOperand != rigthOperand
Public operatorStatic memberInequality(EntityProperty, Expression)
Operator overload for the '!=' operator to produce a FieldCompareExpression predicate.
Public operatorStatic memberInequality(EntityProperty, IList)
Operator overload for the '!=' operator to produce a FieldCompareRangePredicate.
Public operatorStatic memberInequality(EntityProperty, Object)
Operator overload for the '!=' operator to produce a FieldCompareValue/Null predicate.
Public operatorStatic memberLessThan(EntityProperty, EntityField2)
Operator overload for the '<' operator to produce a FieldCompareExpressionPredicate to represent leftOperand < rigthOperand
Public operatorStatic memberLessThan(EntityProperty, EntityProperty)
Operator overload for the '<' operator to produce a FieldCompareExpressionPredicate to represent leftOperand < rigthOperand
Public operatorStatic memberLessThan(EntityProperty, Expression)
Operator overload for the '<' operator to produce a FieldCompareExpression predicate.
Public operatorStatic memberLessThan(EntityProperty, Object)
Operator overload for the '<' operator to produce a FieldCompareValuePredicate.
Public operatorStatic memberLessThanOrEqual(EntityProperty, EntityField2)
Operator overload for the '<=' operator to produce a FieldCompareExpressionPredicate to represent leftOperand <= rigthOperand
Public operatorStatic memberLessThanOrEqual(EntityProperty, EntityProperty)
Operator overload for the '<=' operator to produce a FieldCompareExpressionPredicate to represent leftOperand <= rigthOperand
Public operatorStatic memberLessThanOrEqual(EntityProperty, Expression)
Operator overload for the '<=' operator to produce a FieldCompareExpression predicate.
Public operatorStatic memberLessThanOrEqual(EntityProperty, Object)
Operator overload for the '<=' operator to produce a FieldCompareValuePredicate.
Public operatorStatic memberModulus
Operator overload for the '%' operator to produce a FieldLikePredicate.
Public operatorStatic memberMultiply(Object, EntityProperty)
Operator overload for the '*' operator to produce an Expression which represents value * field
Public operatorStatic memberMultiply(EntityProperty, EntityField2)
Operator overload for the '*' operator to produce an Expression which represents field * field2
Public operatorStatic memberMultiply(EntityProperty, EntityProperty)
Operator overload for the '*' operator to produce an Expression which represents field * field2
Public operatorStatic memberMultiply(EntityProperty, Expression)
Operator overload for the '*' operator to produce an Expression which represents field * expression
Public operatorStatic memberMultiply(EntityProperty, Object)
Operator overload for the '*' operator to produce an Expression which represents field * value
Public operatorStatic memberMultiply(Expression, EntityProperty)
Operator overload for the '*' operator to produce an Expression which represents expression * field
Public operatorStatic memberSubtraction(Object, EntityProperty)
Operator overload for the '-' operator to produce an Expression which represents value - field
Public operatorStatic memberSubtraction(EntityProperty, EntityProperty)
Operator overload for the '-' operator to produce an Expression which represents field - field2
Public operatorStatic memberSubtraction(EntityProperty, Expression)
Operator overload for the '-' operator to produce an Expression which represents field - expression
Public operatorStatic memberSubtraction(EntityProperty, Object)
Operator overload for the '-' operator to produce an Expression which represents field - value
Public operatorStatic memberSubtraction(Expression, EntityProperty)
Operator overload for the '-' operator to produce an Expression which represents expression - field
Top
Extension Methods
  NameDescription
Public Extension MethodAddDays
Defines the mapping for the field.AddDays(numberOfDays) method mapping
(Defined by FunctionMappingExtensionMethods.)
Public Extension MethodAddHours
Defines the mapping for the field.AddHours(numberOfHours) method mapping
(Defined by FunctionMappingExtensionMethods.)
Public Extension MethodAddMilliseconds
Defines the mapping for the field.AddMilliseconds(numberOfMilliseconds) method mapping
(Defined by FunctionMappingExtensionMethods.)
Public Extension MethodAddMinutes
Defines the mapping for the field.AddMinutes(numberOfMinutes) method mapping
(Defined by FunctionMappingExtensionMethods.)
Public Extension MethodAddMonths
Defines the mapping for the field.AddMonths(numberOfMonths) method mapping
(Defined by FunctionMappingExtensionMethods.)
Public Extension MethodAddSeconds
Defines the mapping for the field.AddSeconds(numberOfSeconds) method mapping
(Defined by FunctionMappingExtensionMethods.)
Public Extension MethodAddYears
Defines the mapping for the field.AddYears(numberOfYears) method mapping
(Defined by FunctionMappingExtensionMethods.)
Public Extension MethodAs
Specifies the field alias on the field, returning the field.
(Defined by FieldExtensionMethods.)
Public Extension MethodAscending
Creates an ascending sort clause for the field specified
(Defined by SortClauseProducers.)
Public Extension MethodAvg
Places the Avg aggregate function on the field specified
(Defined by AggregateRelatedExtensionMethods.)
Public Extension MethodAvgDistinct
Places the Avg(Distinct) aggregate function on the field specified
(Defined by AggregateRelatedExtensionMethods.)
Public Extension MethodBetween
Creates a Between predicate which is true if the field specified is between valueBegin and valueEnd, valueBegin and valueEnd included.
(Defined by BetweenPredicateProducers.)
Public Extension MethodCastToTResult
Specifies the result type of the field to be TResult
(Defined by FieldExtensionMethods.)
Public Extension MethodChar
Defines the mapping for the field.Char[index] property to method mapping
(Defined by FunctionMappingExtensionMethods.)
Public Extension MethodContains
Creates a Like predicate using the pattern: '%pattern%' for the field specified.
(Defined by StringMethodPredicateProducers.)
Public Extension MethodCount
Places the Count aggregate function on the field specified
(Defined by AggregateRelatedExtensionMethods.)
Public Extension MethodCountBig
Places the CountBig aggregate function on the field specified
(Defined by AggregateRelatedExtensionMethods.)
Public Extension MethodCountBigDistinct
Places the CountBig(Distinct) aggregate function on the field specified
(Defined by AggregateRelatedExtensionMethods.)
Public Extension MethodCountDistinct
Places the Count(Distinct) aggregate function on the field specified
(Defined by AggregateRelatedExtensionMethods.)
Public Extension MethodDate
Defines the mapping for the field.Date property to method mapping
(Defined by FunctionMappingExtensionMethods.)
Public Extension MethodDay
Defines the mapping for the field.Day property to method mapping
(Defined by FunctionMappingExtensionMethods.)
Public Extension MethodDescending
Creates a descending sort clause for the field specified
(Defined by SortClauseProducers.)
Public Extension MethodEndsWith
Creates a Like predicate using the pattern: '%pattern' for the field specified.
(Defined by StringMethodPredicateProducers.)
Public Extension MethodEqual(Object)Overloaded.
Creates an equality comparison predicate between the expression and the value specified. If the value is null or DBNull.Value a null comparison predicate is created
(Defined by EqualOpPredicateProducers.)
Public Extension MethodEqual(IEntityFieldCore)Overloaded.
Creates an equality comparison predicate between the two fields specified.
(Defined by EqualOpPredicateProducers.)
Public Extension MethodEqual(IExpression)Overloaded.
Creates an equality comparison predicate between the field and the expression specified.
(Defined by EqualOpPredicateProducers.)
Public Extension MethodGreaterEqual(Object)Overloaded.
Creates a greater or equal comparison predicate between the expression and the value specified.
(Defined by GreaterEqualOpPredicateProducers.)
Public Extension MethodGreaterEqual(IEntityFieldCore)Overloaded.
Creates a greater or equal comparison predicate between the two fields specified.
(Defined by GreaterEqualOpPredicateProducers.)
Public Extension MethodGreaterEqual(IExpression)Overloaded.
Creates a greater or equal comparison predicate between the field and the expression specified.
(Defined by GreaterEqualOpPredicateProducers.)
Public Extension MethodGreaterThan(Object)Overloaded.
Creates a greater than comparison predicate between the expression and the value specified.
(Defined by GreaterThanOpPredicateProducers.)
Public Extension MethodGreaterThan(IEntityFieldCore)Overloaded.
Creates a greater than comparison predicate between the two fields specified.
(Defined by GreaterThanOpPredicateProducers.)
Public Extension MethodGreaterThan(IExpression)Overloaded.
Creates a greater than comparison predicate between the field and the expression specified.
(Defined by GreaterThanOpPredicateProducers.)
Public Extension MethodHour
Defines the mapping for the field.Hour property to method mapping
(Defined by FunctionMappingExtensionMethods.)
Public Extension MethodIn(Object)Overloaded.
Creates a Field IN (values) predicate
(Defined by InPredicateProducers.)
Public Extension MethodIn(DynamicQuery)Overloaded.
Creates a Field IN (query) predicate
(Defined by InPredicateProducers.)
Public Extension MethodIndexOf
Defines the mapping for the field.IndexOf(value) method mapping
(Defined by FunctionMappingExtensionMethods.)
Public Extension MethodIsNotNull
Generates a negated FieldCompareNull predicate on the field specified.
(Defined by IsNullPredicateProducers.)
Public Extension MethodIsNull
Generates a FieldCompareNull predicate on the field specified.
(Defined by IsNullPredicateProducers.)
Public Extension MethodLength
Defines the mapping for the field.Length property to method mapping, if field represents a string value.
(Defined by FunctionMappingExtensionMethods.)
Public Extension MethodLesserEqual(Object)Overloaded.
Creates a lesser or equal comparison predicate between the expression and the value specified.
(Defined by LesserEqualOpPredicateProducers.)
Public Extension MethodLesserEqual(IEntityFieldCore)Overloaded.
Creates a lesser or equal comparison predicate between the two fields specified.
(Defined by LesserEqualOpPredicateProducers.)
Public Extension MethodLesserEqual(IExpression)Overloaded.
Creates a lesser or equal comparison predicate between the field and the expression specified.
(Defined by LesserEqualOpPredicateProducers.)
Public Extension MethodLesserThan(Object)Overloaded.
Creates a lesser than comparison predicate between the expression and the value specified.
(Defined by LesserThanOpPredicateProducers.)
Public Extension MethodLesserThan(IEntityFieldCore)Overloaded.
Creates a lesser than comparison predicate between the two fields specified.
(Defined by LesserThanOpPredicateProducers.)
Public Extension MethodLesserThan(IExpression)Overloaded.
Creates a lesser than comparison predicate between the field and the expression specified.
(Defined by LesserThanOpPredicateProducers.)
Public Extension MethodLike
Creates a Like predicate for the field specified using the pattern specified. The pattern has to contain the wildcards required.
(Defined by StringMethodPredicateProducers.)
Public Extension MethodMax
Places the Max aggregate function on the field specified
(Defined by AggregateRelatedExtensionMethods.)
Public Extension MethodMillisecond
Defines the mapping for the field.Millisecond property to method mapping
(Defined by FunctionMappingExtensionMethods.)
Public Extension MethodMin
Places the Min aggregate function on the field specified
(Defined by AggregateRelatedExtensionMethods.)
Public Extension MethodMinute
Defines the mapping for the field.Minute property to method mapping
(Defined by FunctionMappingExtensionMethods.)
Public Extension MethodMonth
Defines the mapping for the field.Month property to method mapping
(Defined by FunctionMappingExtensionMethods.)
Public Extension MethodNotBetween
Creates a Between predicate which is true if the field specified is not between valueBegin and valueEnd, valueBegin and valueEnd included.
(Defined by BetweenPredicateProducers.)
Public Extension MethodNotEqual(Object)Overloaded.
Creates a negated equality comparison predicate between the expression and the value specified. If the value is null or DBNull.Value a null comparison predicate is created
(Defined by NotEqualOpPredicateProducers.)
Public Extension MethodNotEqual(IEntityFieldCore)Overloaded.
Creates a negated equality comparison predicate between the two fields specified.
(Defined by NotEqualOpPredicateProducers.)
Public Extension MethodNotEqual(IExpression)Overloaded.
Creates a negated equality comparison predicate between the field and the expression specified.
(Defined by NotEqualOpPredicateProducers.)
Public Extension MethodNotIn(Object)Overloaded.
Creates a NOT (Field IN (values)) predicate
(Defined by InPredicateProducers.)
Public Extension MethodNotIn(DynamicQuery)Overloaded.
Creates a NOT (Field IN (query)) predicate
(Defined by InPredicateProducers.)
Public Extension MethodReplace
Defines the mapping for the field.Replace(oldValue, newValue) method mapping
(Defined by FunctionMappingExtensionMethods.)
Public Extension MethodSecond
Defines the mapping for the field.Second property to method mapping
(Defined by FunctionMappingExtensionMethods.)
Public Extension MethodStartsWith
Creates a Like predicate using the pattern: 'pattern%' for the fieldl specified.
(Defined by StringMethodPredicateProducers.)
Public Extension MethodStDev
Places the StDev aggregate function on the field specified
(Defined by AggregateRelatedExtensionMethods.)
Public Extension MethodStDevDistinct
Places the StDev(Distinct) aggregate function on the field specified
(Defined by AggregateRelatedExtensionMethods.)
Public Extension MethodSubstring(Int32)Overloaded.
Defines the mapping for the field.Substring(startIndex) method mapping
(Defined by FunctionMappingExtensionMethods.)
Public Extension MethodSubstring(Int32, Int32)Overloaded.
Defines the mapping for the field.Substring(startIndex, length) method mapping
(Defined by FunctionMappingExtensionMethods.)
Public Extension MethodSum
Places the Sum aggregate function on the field specified
(Defined by AggregateRelatedExtensionMethods.)
Public Extension MethodSumDistinct
Places the Sum(Distinct) aggregate function on the field specified
(Defined by AggregateRelatedExtensionMethods.)
Public Extension MethodToLower
Defines the mapping for the field.ToLower() method mapping
(Defined by FunctionMappingExtensionMethods.)
Public Extension MethodToUnicode
Defines the mapping for the field.ToUnicode() method mapping
(Defined by FunctionMappingExtensionMethods.)
Public Extension MethodToUpper
Defines the mapping for the field.ToUpper() method mapping
(Defined by FunctionMappingExtensionMethods.)
Public Extension MethodToValueTValue
Placeholder method which is used in a Select(lambda func) projection inside the lambda to specify the type of the result of the passed in field.
(Defined by FieldExtensionMethods.)
Public Extension MethodTrim
Defines the mapping for the field.Trim() method mapping
(Defined by FunctionMappingExtensionMethods.)
Public Extension MethodVariance
Places the Variance aggregate function on the field specified
(Defined by AggregateRelatedExtensionMethods.)
Public Extension MethodVarianceDistinct
Places the Variance(Distinct) aggregate function on the field specified
(Defined by AggregateRelatedExtensionMethods.)
Public Extension MethodYear
Defines the mapping for the field.Year property to method mapping
(Defined by FunctionMappingExtensionMethods.)
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIEntityFieldCoreReadDefinitionFromXml
Deserializes the field's definition data on the xml reader into a field instance
Explicit interface implementationPrivate methodIEntityFieldCoreWriteDefinitionAsXml
Serializes the field's definition as xml to the writer specified.
Explicit interface implementationPrivate methodIEntityFieldCoreInterpretGetValue
Gets the value for the field implementing this interface for the entity passed in.
Explicit interface implementationPrivate methodIFieldInfoReadXml
Deserializes the data on the xml reader into a fieldinfo instance
Explicit interface implementationPrivate methodIFieldInfoWriteXml
Serializes object as xml to the writer specified.
Top
See Also