Click or drag to resize

EntityField2 Constructor (String, IExpression, AggregateFunction, Type, String, Int32, Byte, Byte)

Initializes a new instance of the EntityField2 class.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.8.0.0 (5.8.21.0111)
Syntax
protected EntityField2(
	string name,
	IExpression expressionToApply,
	AggregateFunction aggregateFunctionToApply,
	Type dataType,
	string objectAlias,
	int maxLength,
	byte precision,
	byte scale
)

Parameters

name
Type: System.String
The name.
expressionToApply
Type: SD.LLBLGen.Pro.ORMSupportClasses.IExpression
The expression to apply.
aggregateFunctionToApply
Type: SD.LLBLGen.Pro.ORMSupportClasses.AggregateFunction
The aggregate function to apply.
dataType
Type: System.Type
Type of the data.
objectAlias
Type: System.String
The object alias.
maxLength
Type: System.Int32
The maximum length of the field or 0 if not relevant
precision
Type: System.Byte
The precision to use or 0 if not relevant.
scale
Type: System.Byte
The scale to use or 0 if not relevant.
See Also