Click or drag to resize

ColumnDataAttributeTObject, TValue Constructor

Create new ColumnDataAttribute

Namespace:  Aloe.SystemFrameworks.Domain
Assembly:  Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntax
public ColumnDataAttribute(
	string tableName,
	string columnName,
	Func<TObject, IBufferRow> getRowDelegate,
	string attributeName = null,
	bool readOnly = false,
	DefaultValue defaultValue = null,
	AttributeExpressions<TObject> expressions = null,
	BaseAttributeInfo baseInfo = null
)

Parameters

tableName
Type: SystemString
The storage table name.
columnName
Type: SystemString
The storage column name.
getRowDelegate
Type: SystemFuncTObject, IBufferRow
The delegate which returns the data row, containing the column. When null, the default row is used.
attributeName (Optional)
Type: SystemString
The name of the attribute. When null, the columnName is used.
readOnly (Optional)
Type: SystemBoolean
Specifies whether this attribute will be updateable.
defaultValue (Optional)
Type: Aloe.SystemFrameworks.DomainDefaultValue
The default value.
expressions (Optional)
Type: Aloe.SystemFrameworks.Domain.AttributesAttributeExpressionsTObject
The recalc expression.
baseInfo (Optional)
Type: Aloe.SystemFrameworks.Domain.AttributesBaseAttributeInfo
The base information.
See Also