Click or drag to resize

EntityField2 Constructor (String, String, Type, 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
public EntityField2(
	string name,
	string objectAlias,
	Type dataType,
	int maxLength,
	byte precision,
	byte scale
)

Parameters

name
Type: SystemString
Name
objectAlias
Type: SystemString
The object alias.
dataType
Type: SystemType
.NET Type of the data.
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.
Remarks
Use this CTor for fields mapped onto a derived table with the alias objectAlias
See Also