Class PersistentAliasAttribute
- Namespace
- DevExpress.Xpo
- Assembly
- DevExpress.Xpo.v24.1.dll
Indicates that a property is not persistent and its value is calculated based upon the values of a specific field(s).
[AttributeUsage(AttributeTargets.Property, Inherited = true)]
public sealed class PersistentAliasAttribute : Attribute
- Inheritance
-
PersistentAliasAttribute
- Inherited Members
Constructors
PersistentAliasAttribute(string)
Initializes a new instance of the PersistentAliasAttribute class.
public PersistentAliasAttribute(string aliasExpression)
Parameters
aliasExpression
stringA string value which specifies the expression used to evaluate the property value. This value is assigned to the PersistentAliasAttribute.AliasExpression property.
Properties
AliasExpression
Gets the expression which determines how the property’s value is calculated.
public string AliasExpression { get; }
Property Value
- string
A string value which specifies the expression which determines how the property’s value is calculated.