IEntityField2 Methods |
The IEntityField2 type exposes the following members.
Name | Description | |
---|---|---|
Clone |
Clones this field instance
(Inherited from IEntityFieldCore.) | |
ForcedCurrentValueWrite(Object) |
Overwrites the current value with the value passed. This bypasses value checking and field properties like readonly.
Used by internal code only. Do not call this from your code.
(Inherited from IEntityFieldCore.) | |
ForcedCurrentValueWrite(Object, Object) |
Overwrites the current value with the value passed. This bypasses value checking and field properties like readonly.
Used by internal code only. Do not call this from your code.
(Inherited from IEntityFieldCore.) | |
GetDiscriminatorColumnFlag |
Gets the discriminator column flag.
(Inherited from IEntityFieldCore.) | |
GetHashCode |
Overrides the GetHashCode() method. It will return the hashcode of the value of the field as the hashcode.
(Inherited from IEntityFieldCore.) | |
GetHashCodeForExpressionKey |
Returns the hashcode for this field which can be used for an expression key. This value is based on the field info hashcode and alias, as well as expression hashcode (if present)
(Inherited from IEntityFieldCore.) | |
ReadDefinitionFromXml |
Deserializes the field's definition data on the xml reader into a field instance
(Inherited from IEntityFieldCore.) | |
ReadXml |
Deserializes the data on the xml reader into a fieldinfo instance
(Inherited from IFieldInfo.) | |
SetAggregateFunction |
Sets the EntityField's AggregateFunctionToApply property
| |
SetExpression |
Sets the Entity Field's ExpressionToToApply property
| |
SetFieldAlias |
Sets the field alias.
| |
SetFieldIndex |
Sets the FieldIndex, if FieldInfo is null. Used in DefineField.
(Inherited from IEntityFieldCore.) | |
SetObjectAlias |
Sets the entity field's ObjectAlias property to the specified value
| |
WriteDefinitionAsXml |
Serializes the field's definition as xml to the writer specified.
(Inherited from IEntityFieldCore.) | |
WriteXml(XmlWriter) |
Serializes object as xml to the writer specified.
(Inherited from IFieldInfo.) | |
WriteXml(XmlWriter, XmlFormatAspect) |
Writes the XML of this Field object to the writer specified
(Inherited from IEntityFieldCore.) |
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(String) | Overloaded.
Specifies the field alias on the field, returning the field.
(Defined by FieldExtensionMethods.) | |
As(String) | Overloaded.
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.) |