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.3.0.0 (5.3.0)
Syntax
public EntityField2(
	string name,
	string objectAlias,
	Type dataType,
	int maxLength,
	byte precision,
	byte scale
)

Parameters

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