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.7.0.0 (5.7.0)
Syntax
protected EntityField2(
	string name,
	IExpression expressionToApply,
	AggregateFunction aggregateFunctionToApply,
	Type dataType,
	string objectAlias,
	int maxLength,
	byte precision,
	byte scale
)

Parameters

name
Type: SystemString
The name.
expressionToApply
Type: SD.LLBLGen.Pro.ORMSupportClassesIExpression
The expression to apply.
aggregateFunctionToApply
Type: SD.LLBLGen.Pro.ORMSupportClassesAggregateFunction
The aggregate function to apply.
dataType
Type: SystemType
Type of the data.
objectAlias
Type: SystemString
The object alias.
maxLength
Type: SystemInt32
The maximum length of the field or 0 if not relevant
precision
Type: SystemByte
The precision to use or 0 if not relevant.
scale
Type: SystemByte
The scale to use or 0 if not relevant.
See Also