EntityProperty Class |
Namespace: SD.LLBLGen.Pro.ORMSupportClasses
The EntityProperty type exposes the following members.
Name | Description | |
---|---|---|
EntityProperty(PropertyDescriptor) |
Initializes a new instance of the EntityProperty class.
| |
EntityProperty(String) |
Initializes a new instance of the EntityProperty class.
|
Name | Description | |
---|---|---|
ActAsDerivedTableField |
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)
| |
ActualContainingObjectName |
Not Implemented
| |
AggregateFunctionToApply |
Not implemented
| |
Alias |
Setter not implemented
| |
ContainingObjectName |
Not implemented
| |
CurrentValue |
Not implemented
| |
DataType |
Returns the datatype of the entityproperty. Only valid after this entityproperty has been evaluated with an entity.
| |
DbValue |
Not implemented
| |
ExpressionToApply |
The expression to apply to this field in a select list, update statement or predicate.
Expression is applied before AggregateFunctionToApply.
| |
FieldIndex |
Not implemented
| |
FunctionCallToApply |
The database function call to apply on this field in a selectlist, update statement or predicate or expression.
FunctionCallToApply is applied before ExpressionToApply.
| |
IsChanged |
Not implemented
| |
IsForeignKey |
Not implemented
| |
IsInMultiTargetEntity |
Not Implemented
| |
IsNull |
Not implemented
| |
IsNullable |
Not implemented
| |
IsOfEnumDataType |
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.
| |
IsPrimaryKey |
Not implemented
| |
IsReadOnly |
Not implemented
| |
LinkedSubTypeFields |
Gets linkedSubTypeFields
| |
LinkedSuperTypeField |
Not implemented
| |
MaxLength |
Not implemented
| |
Name |
The name of the property. Name cannot be of zero length nor can they consist of solely spaces. Leading and trailing spaces are trimmed.
| |
ObjectAlias |
Not implemented
| |
Precision |
Not implemented
| |
RealDataType |
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.
| |
Scale |
Not implemented
|
Name | Description | |
---|---|---|
AcceptChange |
Accepts the change made to this field as final.
| |
AddLinkedSubTypeField |
Adds the linked sub type field to the list of linked subtype fields.
| |
BeginEdit |
Not implemented
| |
CancelEdit |
Not implemented
| |
Clone |
Not implemented
| |
EndEdit |
Not implemented
| |
Equals | (Overrides ObjectEquals(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.) | |
ForcedChangedWrite |
Forces a set of the IsChanged flag for this field.
| |
ForcedCurrentValueWrite(Object) |
Not implemented
| |
ForcedCurrentValueWrite(Object, Object) |
Not implemented
| |
ForcedIsNullWrite |
Forcess a set of the IsNull flag
| |
GetDiscriminatorColumnFlag |
Not implemented
| |
GetHashCode |
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.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RejectChange |
Rejects the value of the current value and resets current value with the original value, and IsChanged will report false.
| |
SetDbValue |
Sets the DbValue property with the value passed in.
| |
SetFieldIndex |
Sets the FieldIndex, if FieldInfo is null. Used in DefineField.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
WriteXml |
Writes the XML of this Field object to the writer specified
|
Name | Description | |
---|---|---|
Addition(Object, EntityProperty) |
Operator overload for the '+' operator to produce an Expression which represents value + field
| |
Addition(EntityProperty, EntityField2) |
Operator overload for the '+' operator to produce an Expression which represents field + field2
| |
Addition(EntityProperty, EntityProperty) |
Operator overload for the '+' operator to produce an Expression which represents field + field2
| |
Addition(EntityProperty, Expression) |
Operator overload for the '+' operator to produce an Expression which represents field + expression
| |
Addition(EntityProperty, Object) |
Operator overload for the '+' operator to produce an Expression which represents field + value
| |
Addition(Expression, EntityProperty) |
Operator overload for the '+' operator to produce an Expression which represents expression + field
| |
BitwiseOr |
Operator overload for the '|' operator to concatenate sortoperators to a field
| |
Division(Object, EntityProperty) |
Operator overload for the '/' operator to produce an Expression which represents value / field
| |
Division(EntityProperty, EntityField2) |
Operator overload for the '/' operator to produce an Expression which represents field / field2
| |
Division(EntityProperty, EntityProperty) |
Operator overload for the '/' operator to produce an Expression which represents field / field2
| |
Division(EntityProperty, Expression) |
Operator overload for the '/' operator to produce an Expression which represents field / expression
| |
Division(EntityProperty, Object) |
Operator overload for the '/' operator to produce an Expression which represents field / value
| |
Division(Expression, EntityProperty) |
Operator overload for the '/' operator to produce an Expression which represents expression / field
| |
Equality(EntityProperty, EntityField2) |
Operator overload for the '==' operator to produce a FieldCompareExpressionPredicate to represent leftOperand == rigthOperand
| |
Equality(EntityProperty, EntityProperty) |
Operator overload for the '==' operator to produce a FieldCompareExpressionPredicate to represent leftOperand == rigthOperand
| |
Equality(EntityProperty, Expression) |
Operator overload for the '==' operator to produce a FieldCompareExpression predicate.
| |
Equality(EntityProperty, IList) |
Operator overload for the '==' operator to produce a FieldCompareRangePredicate.
| |
Equality(EntityProperty, Object) |
Operator overload for the '==' operator to produce a FieldCompareValue/Null predicate.
| |
GreaterThan(EntityProperty, EntityField2) |
Operator overload for the '>' operator to produce a FieldCompareExpressionPredicate to represent leftOperand > rigthOperand
| |
GreaterThan(EntityProperty, EntityProperty) |
Operator overload for the '>' operator to produce a FieldCompareExpressionPredicate to represent leftOperand > rigthOperand
| |
GreaterThan(EntityProperty, Expression) |
Operator overload for the '>' operator to produce a FieldCompareExpression predicate.
| |
GreaterThan(EntityProperty, Object) |
Operator overload for the '>' operator to produce a FieldCompareValuePredicate.
| |
GreaterThanOrEqual(EntityProperty, EntityField2) |
Operator overload for the '>=' operator to produce a FieldCompareExpressionPredicate to represent leftOperand >= rigthOperand
| |
GreaterThanOrEqual(EntityProperty, EntityProperty) |
Operator overload for the '>=' operator to produce a FieldCompareExpressionPredicate to represent leftOperand >= rigthOperand
| |
GreaterThanOrEqual(EntityProperty, Expression) |
Operator overload for the '>=' operator to produce a FieldCompareExpression predicate.
| |
GreaterThanOrEqual(EntityProperty, Object) |
Operator overload for the '>=' operator to produce a FieldCompareValuePredicate.
| |
Inequality(EntityProperty, EntityField2) |
Operator overload for the '!=' operator to produce a FieldCompareExpressionPredicate to represent leftOperand != rigthOperand
| |
Inequality(EntityProperty, EntityProperty) |
Operator overload for the '!=' operator to produce a FieldCompareExpressionPredicate to represent leftOperand != rigthOperand
| |
Inequality(EntityProperty, Expression) |
Operator overload for the '!=' operator to produce a FieldCompareExpression predicate.
| |
Inequality(EntityProperty, IList) |
Operator overload for the '!=' operator to produce a FieldCompareRangePredicate.
| |
Inequality(EntityProperty, Object) |
Operator overload for the '!=' operator to produce a FieldCompareValue/Null predicate.
| |
LessThan(EntityProperty, EntityField2) |
Operator overload for the '<' operator to produce a FieldCompareExpressionPredicate to represent leftOperand < rigthOperand
| |
LessThan(EntityProperty, EntityProperty) |
Operator overload for the '<' operator to produce a FieldCompareExpressionPredicate to represent leftOperand < rigthOperand
| |
LessThan(EntityProperty, Expression) |
Operator overload for the '<' operator to produce a FieldCompareExpression predicate.
| |
LessThan(EntityProperty, Object) |
Operator overload for the '<' operator to produce a FieldCompareValuePredicate.
| |
LessThanOrEqual(EntityProperty, EntityField2) |
Operator overload for the '<=' operator to produce a FieldCompareExpressionPredicate to represent leftOperand <= rigthOperand
| |
LessThanOrEqual(EntityProperty, EntityProperty) |
Operator overload for the '<=' operator to produce a FieldCompareExpressionPredicate to represent leftOperand <= rigthOperand
| |
LessThanOrEqual(EntityProperty, Expression) |
Operator overload for the '<=' operator to produce a FieldCompareExpression predicate.
| |
LessThanOrEqual(EntityProperty, Object) |
Operator overload for the '<=' operator to produce a FieldCompareValuePredicate.
| |
Modulus |
Operator overload for the '%' operator to produce a FieldLikePredicate.
| |
Multiply(Object, EntityProperty) |
Operator overload for the '*' operator to produce an Expression which represents value * field
| |
Multiply(EntityProperty, EntityField2) |
Operator overload for the '*' operator to produce an Expression which represents field * field2
| |
Multiply(EntityProperty, EntityProperty) |
Operator overload for the '*' operator to produce an Expression which represents field * field2
| |
Multiply(EntityProperty, Expression) |
Operator overload for the '*' operator to produce an Expression which represents field * expression
| |
Multiply(EntityProperty, Object) |
Operator overload for the '*' operator to produce an Expression which represents field * value
| |
Multiply(Expression, EntityProperty) |
Operator overload for the '*' operator to produce an Expression which represents expression * field
| |
Subtraction(Object, EntityProperty) |
Operator overload for the '-' operator to produce an Expression which represents value - field
| |
Subtraction(EntityProperty, EntityProperty) |
Operator overload for the '-' operator to produce an Expression which represents field - field2
| |
Subtraction(EntityProperty, Expression) |
Operator overload for the '-' operator to produce an Expression which represents field - expression
| |
Subtraction(EntityProperty, Object) |
Operator overload for the '-' operator to produce an Expression which represents field - value
| |
Subtraction(Expression, EntityProperty) |
Operator overload for the '-' operator to produce an Expression which represents expression - field
|
Name | Description | |
---|---|---|
AddDays |
Defines the mapping for the field.AddDays(numberOfDays) method mapping
(Defined by FunctionMappingExtensionMethods.) | |
AddHours |
Defines the mapping for the field.AddHours(numberOfHours) method mapping
(Defined by FunctionMappingExtensionMethods.) | |
AddMilliseconds |
Defines the mapping for the field.AddMilliseconds(numberOfMilliseconds) method mapping
(Defined by FunctionMappingExtensionMethods.) | |
AddMinutes |
Defines the mapping for the field.AddMinutes(numberOfMinutes) method mapping
(Defined by FunctionMappingExtensionMethods.) | |
AddMonths |
Defines the mapping for the field.AddMonths(numberOfMonths) method mapping
(Defined by FunctionMappingExtensionMethods.) | |
AddSeconds |
Defines the mapping for the field.AddSeconds(numberOfSeconds) method mapping
(Defined by FunctionMappingExtensionMethods.) | |
AddYears |
Defines the mapping for the field.AddYears(numberOfYears) method mapping
(Defined by FunctionMappingExtensionMethods.) | |
As |
Specifies the field alias on the field, returning the field.
(Defined by FieldExtensionMethods.) | |
Ascending |
Creates an ascending sort clause for the field specified
(Defined by SortClauseProducers.) | |
Avg |
Places the Avg aggregate function on the field specified
(Defined by AggregateRelatedExtensionMethods.) | |
AvgDistinct |
Places the Avg(Distinct) aggregate function on the field specified
(Defined by AggregateRelatedExtensionMethods.) | |
Between |
Creates a Between predicate which is true if the field specified is between valueBegin and valueEnd, valueBegin and valueEnd included.
(Defined by BetweenPredicateProducers.) | |
CastToTResult |
Specifies the result type of the field to be TResult
(Defined by FieldExtensionMethods.) | |
Char |
Defines the mapping for the field.Char[index] property to method mapping
(Defined by FunctionMappingExtensionMethods.) | |
Contains |
Creates a Like predicate using the pattern: '%pattern%' for the field specified.
(Defined by StringMethodPredicateProducers.) | |
Count |
Places the Count aggregate function on the field specified
(Defined by AggregateRelatedExtensionMethods.) | |
CountBig |
Places the CountBig aggregate function on the field specified
(Defined by AggregateRelatedExtensionMethods.) | |
CountBigDistinct |
Places the CountBig(Distinct) aggregate function on the field specified
(Defined by AggregateRelatedExtensionMethods.) | |
CountDistinct |
Places the Count(Distinct) aggregate function on the field specified
(Defined by AggregateRelatedExtensionMethods.) | |
Date |
Defines the mapping for the field.Date property to method mapping
(Defined by FunctionMappingExtensionMethods.) | |
Day |
Defines the mapping for the field.Day property to method mapping
(Defined by FunctionMappingExtensionMethods.) | |
Descending |
Creates a descending sort clause for the field specified
(Defined by SortClauseProducers.) | |
EndsWith |
Creates a Like predicate using the pattern: '%pattern' for the field specified.
(Defined by StringMethodPredicateProducers.) | |
Equal(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.) | |
Equal(IEntityFieldCore) | Overloaded.
Creates an equality comparison predicate between the two fields specified.
(Defined by EqualOpPredicateProducers.) | |
Equal(IExpression) | Overloaded.
Creates an equality comparison predicate between the field and the expression specified.
(Defined by EqualOpPredicateProducers.) | |
GreaterEqual(Object) | Overloaded.
Creates a greater or equal comparison predicate between the expression and the value specified.
(Defined by GreaterEqualOpPredicateProducers.) | |
GreaterEqual(IEntityFieldCore) | Overloaded.
Creates a greater or equal comparison predicate between the two fields specified.
(Defined by GreaterEqualOpPredicateProducers.) | |
GreaterEqual(IExpression) | Overloaded.
Creates a greater or equal comparison predicate between the field and the expression specified.
(Defined by GreaterEqualOpPredicateProducers.) | |
GreaterThan(Object) | Overloaded.
Creates a greater than comparison predicate between the expression and the value specified.
(Defined by GreaterThanOpPredicateProducers.) | |
GreaterThan(IEntityFieldCore) | Overloaded.
Creates a greater than comparison predicate between the two fields specified.
(Defined by GreaterThanOpPredicateProducers.) | |
GreaterThan(IExpression) | Overloaded.
Creates a greater than comparison predicate between the field and the expression specified.
(Defined by GreaterThanOpPredicateProducers.) | |
Hour |
Defines the mapping for the field.Hour property to method mapping
(Defined by FunctionMappingExtensionMethods.) | |
In(Object) | Overloaded.
Creates a Field IN (values) predicate
(Defined by InPredicateProducers.) | |
In(DynamicQuery) | Overloaded.
Creates a Field IN (query) predicate
(Defined by InPredicateProducers.) | |
IndexOf |
Defines the mapping for the field.IndexOf(value) method mapping
(Defined by FunctionMappingExtensionMethods.) | |
IsNotNull |
Generates a negated FieldCompareNull predicate on the field specified.
(Defined by IsNullPredicateProducers.) | |
IsNull |
Generates a FieldCompareNull predicate on the field specified.
(Defined by IsNullPredicateProducers.) | |
Length |
Defines the mapping for the field.Length property to method mapping, if field represents a string value.
(Defined by FunctionMappingExtensionMethods.) | |
LesserEqual(Object) | Overloaded.
Creates a lesser or equal comparison predicate between the expression and the value specified.
(Defined by LesserEqualOpPredicateProducers.) | |
LesserEqual(IEntityFieldCore) | Overloaded.
Creates a lesser or equal comparison predicate between the two fields specified.
(Defined by LesserEqualOpPredicateProducers.) | |
LesserEqual(IExpression) | Overloaded.
Creates a lesser or equal comparison predicate between the field and the expression specified.
(Defined by LesserEqualOpPredicateProducers.) | |
LesserThan(Object) | Overloaded.
Creates a lesser than comparison predicate between the expression and the value specified.
(Defined by LesserThanOpPredicateProducers.) | |
LesserThan(IEntityFieldCore) | Overloaded.
Creates a lesser than comparison predicate between the two fields specified.
(Defined by LesserThanOpPredicateProducers.) | |
LesserThan(IExpression) | Overloaded.
Creates a lesser than comparison predicate between the field and the expression specified.
(Defined by LesserThanOpPredicateProducers.) | |
Like |
Creates a Like predicate for the field specified using the pattern specified. The pattern has to contain the wildcards required.
(Defined by StringMethodPredicateProducers.) | |
Max |
Places the Max aggregate function on the field specified
(Defined by AggregateRelatedExtensionMethods.) | |
Millisecond |
Defines the mapping for the field.Millisecond property to method mapping
(Defined by FunctionMappingExtensionMethods.) | |
Min |
Places the Min aggregate function on the field specified
(Defined by AggregateRelatedExtensionMethods.) | |
Minute |
Defines the mapping for the field.Minute property to method mapping
(Defined by FunctionMappingExtensionMethods.) | |
Month |
Defines the mapping for the field.Month property to method mapping
(Defined by FunctionMappingExtensionMethods.) | |
NotBetween |
Creates a Between predicate which is true if the field specified is not between valueBegin and valueEnd, valueBegin and valueEnd included.
(Defined by BetweenPredicateProducers.) | |
NotEqual(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.) | |
NotEqual(IEntityFieldCore) | Overloaded.
Creates a negated equality comparison predicate between the two fields specified.
(Defined by NotEqualOpPredicateProducers.) | |
NotEqual(IExpression) | Overloaded.
Creates a negated equality comparison predicate between the field and the expression specified.
(Defined by NotEqualOpPredicateProducers.) | |
NotIn(Object) | Overloaded.
Creates a NOT (Field IN (values)) predicate
(Defined by InPredicateProducers.) | |
NotIn(DynamicQuery) | Overloaded.
Creates a NOT (Field IN (query)) predicate
(Defined by InPredicateProducers.) | |
Replace |
Defines the mapping for the field.Replace(oldValue, newValue) method mapping
(Defined by FunctionMappingExtensionMethods.) | |
Second |
Defines the mapping for the field.Second property to method mapping
(Defined by FunctionMappingExtensionMethods.) | |
StartsWith |
Creates a Like predicate using the pattern: 'pattern%' for the fieldl specified.
(Defined by StringMethodPredicateProducers.) | |
StDev |
Places the StDev aggregate function on the field specified
(Defined by AggregateRelatedExtensionMethods.) | |
StDevDistinct |
Places the StDev(Distinct) aggregate function on the field specified
(Defined by AggregateRelatedExtensionMethods.) | |
Substring(Int32) | Overloaded.
Defines the mapping for the field.Substring(startIndex) method mapping
(Defined by FunctionMappingExtensionMethods.) | |
Substring(Int32, Int32) | Overloaded.
Defines the mapping for the field.Substring(startIndex, length) method mapping
(Defined by FunctionMappingExtensionMethods.) | |
Sum |
Places the Sum aggregate function on the field specified
(Defined by AggregateRelatedExtensionMethods.) | |
SumDistinct |
Places the Sum(Distinct) aggregate function on the field specified
(Defined by AggregateRelatedExtensionMethods.) | |
ToLower |
Defines the mapping for the field.ToLower() method mapping
(Defined by FunctionMappingExtensionMethods.) | |
ToUnicode |
Defines the mapping for the field.ToUnicode() method mapping
(Defined by FunctionMappingExtensionMethods.) | |
ToUpper |
Defines the mapping for the field.ToUpper() method mapping
(Defined by FunctionMappingExtensionMethods.) | |
ToValueTValue | Overloaded.
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.) | |
ToValueTValue(Int32) | Overloaded.
Placeholder method which is used in a generated lambda from a call to Select<T>>(fields) to specify the type of the result of the passed in field and as well the
ordinal the source field has in the actual projection of the query.
(Defined by FieldExtensionMethods.) | |
Trim |
Defines the mapping for the field.Trim() method mapping
(Defined by FunctionMappingExtensionMethods.) | |
Variance |
Places the Variance aggregate function on the field specified
(Defined by AggregateRelatedExtensionMethods.) | |
VarianceDistinct |
Places the Variance(Distinct) aggregate function on the field specified
(Defined by AggregateRelatedExtensionMethods.) | |
Year |
Defines the mapping for the field.Year property to method mapping
(Defined by FunctionMappingExtensionMethods.) |
Name | Description | |
---|---|---|
IEntityFieldCoreReadDefinitionFromXml |
Deserializes the field's definition data on the xml reader into a field instance
| |
IEntityFieldCoreWriteDefinitionAsXml |
Serializes the field's definition as xml to the writer specified.
| |
IEntityFieldCoreInterpretGetValue |
Gets the value for the field implementing this interface for the entity passed in.
| |
IFieldInfoReadXml |
Deserializes the data on the xml reader into a fieldinfo instance
| |
IFieldInfoWriteXml |
Serializes object as xml to the writer specified.
|