Search Results for

    Show / Hide Table of Contents

    Class PersistedProperty

    Represents a persisted property in the Time Cockpit data model.

    Inheritance
    System.Object
    DynamicObject
    NamedDynamicObject
    ModelElement
    ModelProperty
    PersistedProperty
    BinaryProperty
    BooleanProperty
    DateProperty
    GuidProperty
    NumericProperty
    TextProperty
    Implements
    System.Dynamic.IDynamicMetaObjectProvider
    System.ComponentModel.INotifyPropertyChanged
    System.ComponentModel.IDataErrorInfo
    INullable
    Inherited Members
    ModelProperty.IsValueAffectedByPropertyChange(EntityObject, String)
    ModelProperty.Accept(ModelElementVisitor)
    ModelProperty.ShallowCopy(String, PersistBehavior, Ownership, Boolean, Boolean)
    ModelProperty.ShallowCopy()
    ModelProperty.OnDeserializing(StreamingContext)
    ModelProperty.Convert(Object)
    ModelProperty.ValidateValue(Object, String)
    ModelProperty.Attach(ModelElement)
    ModelProperty.Validate(IList<PropertyValidationMessage>, Boolean)
    ModelProperty.GetHumanReadableMemberPath()
    ModelProperty.DataType
    ModelProperty.ClrDefaultValue
    ModelProperty.InvariantFriendlyTypeName
    ModelProperty.IsNullable
    ModelProperty.IsDefaultDisplayProperty
    ModelProperty.DefaultValueExpression
    ModelProperty.EvaluateDefaultValueExpression
    ModelProperty.HasDefaultValueExpression
    ModelProperty.DefaultValueFunction
    ModelProperty.EvaluateDefaultValueFunction
    ModelProperty.EvaluateDefaultValue
    ModelProperty.DefaultValue
    ModelProperty.Permissions
    ModelProperty.DefaultAggregateFunction
    ModelElement.IsValidIdentifier(String)
    ModelElement.Detach()
    ModelElement.SetOwnershipPrefix(String)
    ModelElement.UpdateChildren(NotifyCollectionChangedEventArgs)
    ModelElement.SetPersistBehavior(PersistBehavior)
    ModelElement.SetName(String)
    ModelElement.SetOwnership(Ownership)
    ModelElement.ElementGuid
    ModelElement.Name
    ModelElement.Parent
    ModelElement.Children
    ModelElement.PersistBehavior
    ModelElement.IsFullPersistBehavior
    ModelElement.IsNonePersistBehavior
    ModelElement.IsSystemElement
    ModelElement.IsApplicationSpecificElement
    ModelElement.IsUserElement
    ModelElement.IsSystemOrApplicationSpecificElement
    ModelElement.InvariantFriendlyName
    ModelElement.CreationVersion
    ModelElement.LastUpdateVersion
    ModelElement.Error
    ModelElement.ErrorSummary
    ModelElement.IsValid
    ModelElement.Ownership
    ModelElement.OwnershipPrefix
    ModelElement.NonPrefixedName
    NamedDynamicObject.OnPropertyChanged(String)
    NamedDynamicObject.PropertyChanged
    DynamicObject.GetMember(String)
    DynamicObject.SetMember(String, Object)
    DynamicObject.GetMetaObject(Expression)
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: TimeCockpit.Data.DataModel
    Assembly: TimeCockpit.Data.dll
    Syntax
    public abstract class PersistedProperty : ModelProperty, IDynamicMetaObjectProvider, INotifyPropertyChanged, IDataErrorInfo, INullable
    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.

    Declaration
    protected PersistedProperty()

    PersistedProperty(IEnumerable<KeyValuePair<Object, Object>>)

    Initializes a new instance of the PersistedProperty class.

    Declaration
    protected PersistedProperty(IEnumerable<KeyValuePair<object, object>> properties)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.Object, System.Object>> properties

    Collection of properties.

    PersistedProperty(PersistedProperty)

    Initializes a new instance of the PersistedProperty class.

    Declaration
    protected PersistedProperty(PersistedProperty element)
    Parameters
    Type Name Description
    PersistedProperty element

    The element to copy.

    Properties

    StorageColumn

    Gets the storage column associated with this property

    Declaration
    public StorageColumn StorageColumn { get; }
    Property Value
    Type Description
    StorageColumn

    Storage columns.

    ValidationScript

    Gets or sets a script to validate a property.

    Declaration
    [Obsolete]
    public string ValidationScript { get; set; }
    Property Value
    Type Description
    System.String
    In This Article
    Back to top Copyright © 2020 software architects gmbh