Click or drag to resize

IntEnumDataAttributeTObject, TEnum Constructor

Creates new EnumDataAttribute

Namespace:  Aloe.SystemFrameworks.Domain
Assembly:  Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntax
public IntEnumDataAttribute(
	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 of the base column of the enum
columnName
Type: SystemString
The base column in which to store the enum
getRowDelegate
Type: SystemFuncTObject, IBufferRow
Delegate to return reference to the buffer row, containing the enum data locally
attributeName (Optional)
Type: SystemString
The name of the enum attribute. If null, the column name is used
readOnly (Optional)
Type: SystemBoolean
If the enum attribute is readonly
defaultValue (Optional)
Type: Aloe.SystemFrameworks.DomainDefaultValue
The default value.
expressions (Optional)
Type: Aloe.SystemFrameworks.Domain.AttributesAttributeExpressionsTObject
The attribute expressions.
baseInfo (Optional)
Type: Aloe.SystemFrameworks.Domain.AttributesBaseAttributeInfo
The base information.
See Also