Click or drag to resize

ColumnDataAttributeTObject, TValue Class

Represents data attribute, which gets or sets values from a column in a table
Inheritance Hierarchy
SystemObject
  Aloe.SystemFrameworks.DomainDataAttributeBaseTObject
    Aloe.SystemFrameworks.DomainDataAttributeTObject, TValue
      Aloe.SystemFrameworks.DomainColumnDataAttributeTObject, TValue
        Aloe.EnterpriseOne.Model.Core.DataAttributesDataAccessFilterDataAttributeTObject
        Aloe.EnterpriseOne.Model.CoreMultilanguageStringDataAttributeTObject
        Aloe.SystemFrameworks.DomainIdAttributeTObject
        Aloe.SystemFrameworks.DomainIntEnumDataAttributeTObject, TEnum
        Aloe.SystemFrameworks.DomainStringEnumDataAttributeTObject, TEnum

Namespace:  Aloe.SystemFrameworks.Domain
Assembly:  Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntax
public class ColumnDataAttribute<TObject, TValue> : DataAttribute<TObject, TValue>, 
	IColumnDataAttribute, IDataAttribute
where TObject : DomainObject

Type Parameters

TObject
The type of the domain object, which contains the attribute.
TValue
The type of the stored data

The ColumnDataAttributeTObject, TValue type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyBaseInfo
Gets the base information.
(Inherited from DataAttributeBaseTObject.)
Public propertyColumnName
The underlying data column name
Public propertyDefaultValue
Gets the default value.
(Inherited from DataAttributeBaseTObject.)
Public propertyExpressions
Gets the recalc expression.
(Inherited from DataAttributeBaseTObject.)
Public propertyGetRow
The delegate that returns the buffer row, containing the storage column
Public propertyIsBlob
Gets a value indicating whether this attribute data is BLOB.
(Inherited from DataAttributeBaseTObject.)
Public propertyIsPersistent
Gets a value indicating whether this attribute is persistent. Only persistent attributes support track changes.
(Inherited from DataAttributeBaseTObject.)
Public propertyLocalizedName
Gets the name of the attribute in the current UI culture.
(Inherited from DataAttributeBaseTObject.)
Public propertyName
Gets the name of the data Property
(Inherited from DataAttributeBaseTObject.)
Public propertyPrimitiveValueType
Gets the primitive type or null. Used in public APIs to represent a complex value as a primitive value.
(Inherited from DataAttributeBaseTObject.)
Public propertyReadOnly
Is the data attribute read-only for user editing.
(Inherited from DataAttributeBaseTObject.)
Public propertySupportsGet
Gets a value indicating whether the attribute supports getting a value.
(Inherited from DataAttributeBaseTObject.)
Public propertySupportsSet
Gets a value indicating whether the attribute supports setting a value.
(Inherited from DataAttributeBaseTObject.)
Public propertyTableName
The table used to persist and locally store the objects data
Public propertyValueType
Gets the value of the data attribute for the specified domain object
(Inherited from DataAttributeTObject, TValue.)
Top
Methods
  NameDescription
Public methodFilterBy
Creates and returns filter condition for the data attribute
(Overrides DataAttributeBaseTObjectFilterBy(ComparisonType, Object, Boolean).)
Public methodGetComplexTypeAccessor
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.)
Public methodGetDisplayValueAccessor
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.
(Overrides DataAttributeBaseTObjectGetDisplayValueAccessor(String).)
Public methodGetInvariantStringAccessor
Gets the culture-neutral 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.
(Overrides DataAttributeBaseTObjectGetInvariantStringAccessor.)
Public methodGetPrimitiveValueAccessor
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.)
Public methodGetUntypedValue
Gets the value of the data attribute for the specified domain object
(Inherited from DataAttributeBaseTObject.)
Public methodGetUntypedValueForRow
Gets the value of the attribute from any compatible buffer row
Public methodGetValue
Gets the value of the data attribute for the specified domain object
(Inherited from DataAttributeTObject, TValue.)
Public methodHasValue
Determines whether the specified object has value for the data attribute.
(Inherited from DataAttributeBaseTObject.)
Public methodOnDataAttributeChanged
Raises the DataAttributeChanged event.
(Inherited from DataAttributeBaseTObject.)
Public methodPrepare
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.)
Public methodSetDefaultValue
Sets the attribute to its default value.
(Inherited from DataAttributeBaseTObject.)
Public methodSetUntypedValue
Sets the value of the data attribute for the specified entity object
(Inherited from DataAttributeBaseTObject.)
Public methodSetUntypedValueForRowCore
Sets the value of the attribute for any compatible buffer row
Public methodSetValue
Sets the value of the data attribute for the specified domain object
(Inherited from DataAttributeTObject, TValue.)
Public methodShouldRecalculateLateDefault
Returns true if the attribute should be recalculated for the specified object.
(Inherited from DataAttributeBaseTObject.)
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Top
Events
Extension Methods
  NameDescription
Public Extension MethodGetUntypedValueAccessor
Gets the untyped value accessor.
(Defined by IDataAttributeExtensions.)
Public Extension MethodIsNull
Determines whether value of the attribute of the specified object is null.
(Defined by IDataAttributeExtensions.)
Top
See Also