Class PersistedProperty
- Namespace
- TimeCockpit.Data.DataModel
- Assembly
- TimeCockpit.Data.dll
Represents a persisted property in the Time Cockpit data model.
public abstract class PersistedProperty : ModelProperty, IDynamicMetaObjectProvider, INotifyPropertyChanged, IDataErrorInfo, INullable
- Inheritance
-
ObjectPersistedProperty
- Implements
-
IDynamicMetaObjectProviderINotifyPropertyChangedIDataErrorInfo
- Derived
- Inherited Members
-
Object.ToString()Object.Equals(Object)Object.Equals(Object, Object)Object.ReferenceEquals(Object, Object)Object.GetHashCode()Object.GetType()Object.MemberwiseClone()
Remarks
Persisted properties are properties that are stored in the Time Cockpit database. The opposite of persisted properties are properties, that are calculated on-the-fly without storing the result inside the database.
Constructors
PersistedProperty()
Initializes a new instance of the PersistedProperty class.
protected PersistedProperty()
PersistedProperty(IEnumerable<KeyValuePair<Object, Object>>)
Initializes a new instance of the PersistedProperty class.
protected PersistedProperty(IEnumerable<KeyValuePair<object, object>> properties)
Parameters
propertiesIEnumerable<KeyValuePair<Object, Object>>Collection of properties.
PersistedProperty(PersistedProperty)
Initializes a new instance of the PersistedProperty class.
protected PersistedProperty(PersistedProperty element)
Parameters
elementPersistedPropertyThe element to copy.
Properties
StorageColumn
Gets the storage column associated with this property
public StorageColumn StorageColumn { get; }
Property Value
- StorageColumn
Storage columns.
ValidationScript
Gets or sets a script to validate a property.
[Obsolete]
public string ValidationScript { get; set; }
Property Value
- String