Click or drag to resize

AmountDataAttributeTObject Constructor

Namespace:  Aloe.EnterpriseOne.Model.Core
Assembly:  Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntax
public AmountDataAttribute(
	string name,
	IColumnDataAttribute valueAttribute,
	Func<TObject, Currency> currencyGetter,
	bool readOnly = false,
	DefaultValue defaultValue = null,
	AttributeExpressions<TObject> expressions = null,
	BaseAttributeInfo baseInfo = null
)

Parameters

name
Type: SystemString
The name.
valueAttribute
Type: Aloe.SystemFrameworks.DomainIColumnDataAttribute
The value attribute.
currencyGetter
Type: SystemFuncTObject, Currency
Expression, which returns the currency of the amount.
readOnly (Optional)
Type: SystemBoolean
if set to true [read only].
defaultValue (Optional)
Type: Aloe.SystemFrameworks.DomainDefaultValue
The default value.
expressions (Optional)
Type: Aloe.SystemFrameworks.Domain.AttributesAttributeExpressionsTObject
The expression used to recalculate the attribute value.
baseInfo (Optional)
Type: Aloe.SystemFrameworks.Domain.AttributesBaseAttributeInfo
The base information.
Exceptions
ExceptionCondition
ArgumentNullExceptionvalueAttribute
InvalidOperationExceptionThe type of 'valueAttribute' should be decimal or decimal?
ArgumentNullExceptionvalueAttribute
InvalidOperationExceptionThe type of 'valueAttribute' should be decimal or decimal?
InvalidOperationExceptionThe type of valueAttribute of AmountDataAttribute can be only decimal or decimal?
See Also