DataAttributeTObject, TValue Class |
Namespace: Aloe.SystemFrameworks.Domain
public abstract class DataAttribute<TObject, TValue> : DataAttributeBase<TObject>, ITypedDataAttribute<TValue>, IDataAttribute, IValueAccessor<TValue> where TObject : DomainObject
The DataAttributeTObject, TValue type exposes the following members.
Name | Description | |
---|---|---|
![]() | BaseInfo |
Gets the base information.
(Inherited from DataAttributeBaseTObject.) |
![]() | DefaultValue |
Gets the default value.
(Inherited from DataAttributeBaseTObject.) |
![]() | Expressions |
Gets the recalc expression.
(Inherited from DataAttributeBaseTObject.) |
![]() | IsBlob |
Gets a value indicating whether this attribute data is BLOB.
(Inherited from DataAttributeBaseTObject.) |
![]() | IsPersistent |
Gets a value indicating whether this attribute is persistent. Only persistent attributes support track changes.
(Inherited from DataAttributeBaseTObject.) |
![]() | LocalizedName |
Gets the name of the attribute in the current UI culture.
(Inherited from DataAttributeBaseTObject.) |
![]() | Name |
Gets the name of the data Property
(Inherited from DataAttributeBaseTObject.) |
![]() | PrimitiveValueType |
Gets the primitive type or null. Used in public APIs to represent a complex value as a primitive value.
(Inherited from DataAttributeBaseTObject.) |
![]() | ReadOnly |
Is the data attribute read-only for user editing.
(Inherited from DataAttributeBaseTObject.) |
![]() | SupportsGet |
Gets a value indicating whether the attribute supports getting a value.
(Inherited from DataAttributeBaseTObject.) |
![]() | SupportsSet |
Gets a value indicating whether the attribute supports setting a value.
(Inherited from DataAttributeBaseTObject.) |
![]() | ValueType |
Gets the value of the data attribute for the specified domain object
(Overrides DataAttributeBaseTObjectValueType.) |
Name | Description | |
---|---|---|
![]() | FilterBy |
Creates and returns filter condition for the data attribute
(Inherited from DataAttributeBaseTObject.) |
![]() | GetComplexTypeAccessor |
Gets the complex type value accessor or null if the attribute does not support it.
Complex type values are frequently used in Entity Data Models.
(Inherited from DataAttributeBaseTObject.) |
![]() | GetDisplayValueAccessor |
Gets the display text accessor or null if the attribute does not support it.
The display value is localized in the current thread culture
and is suitable for displaying and modification by end users.
(Inherited from DataAttributeBaseTObject.) |
![]() | GetInvariantStringAccessor |
Gets the text value accessor or null if the attribute does not support it.
The text value represents the values for import/export to text files or streams.
(Inherited from DataAttributeBaseTObject.) |
![]() | GetPrimitiveValueAccessor |
Gets the primitive value accessor or null if the attribute does not support it.
Used in public APIs to represent a complex value as a primitive value.
(Inherited from DataAttributeBaseTObject.) |
![]() | GetUntypedValue |
Gets the value of the data attribute for the specified domain object
(Inherited from DataAttributeBaseTObject.) |
![]() | GetValue |
Gets the value of the data attribute for the specified domain object
|
![]() | HasValue |
Determines whether the specified object has value for the data attribute.
(Inherited from DataAttributeBaseTObject.) |
![]() | OnDataAttributeChanged |
Raises the DataAttributeChanged event.
(Inherited from DataAttributeBaseTObject.) |
![]() | Prepare |
Performs attribute-specific work to prepare the attribute. For example calculated attributes must be compiled.
Called by the system after the attribute is added to the repository.
(Inherited from DataAttributeBaseTObject.) |
![]() | SetDefaultValue |
Sets the attribute to its default value.
(Inherited from DataAttributeBaseTObject.) |
![]() | SetUntypedValue |
Sets the value of the data attribute for the specified entity object
(Inherited from DataAttributeBaseTObject.) |
![]() | SetValue |
Sets the value of the data attribute for the specified domain object
|
![]() | ShouldRecalculateLateDefault |
Returns true if the attribute should be recalculated for the specified object.
(Inherited from DataAttributeBaseTObject.) |
Name | Description | |
---|---|---|
![]() | DataAttributeChanged |
The data attribute changed event. Fired after the data attribute changes for an object.
(Inherited from DataAttributeBaseTObject.) |
Name | Description | |
---|---|---|
![]() | GetUntypedValueAccessor |
Gets the untyped value accessor.
(Defined by IDataAttributeExtensions.) |
![]() | IsNull |
Determines whether value of the attribute of the specified object is null.
(Defined by IDataAttributeExtensions.) |