Click or drag to resize

IdAttributeTObject Constructor

Create new IdAttribute

Namespace:  Aloe.SystemFrameworks.Domain
Assembly:  Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntax
public IdAttribute(
	string tableName,
	string columnName,
	Func<TObject, IBufferRow> getRowDelegate,
	string attributeName = "Id",
	BaseAttributeInfo baseInfo = null
)

Parameters

tableName
Type: SystemString
The storage table name
columnName
Type: SystemString
The name of the Id column
getRowDelegate
Type: SystemFuncTObject, IBufferRow
Function, which returns the data row, given the object.
attributeName (Optional)
Type: SystemString
Name of the data attribute in the domain class.
baseInfo (Optional)
Type: Aloe.SystemFrameworks.Domain.AttributesBaseAttributeInfo
The base information.
See Also