Class ModelEntity
Represents a flat dimension in the data model.
Implements
System.Dynamic.IDynamicMetaObjectProvider
System.ComponentModel.INotifyPropertyChanged
System.ComponentModel.IDataErrorInfo
Inherited Members
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
[EntityObjectType(typeof(EntityObject))]
public class ModelEntity : ModelEntityBase, IDynamicMetaObjectProvider, INotifyPropertyChanged, IDataErrorInfo
Constructors
ModelEntity()
Initializes a new instance of the ModelEntity class.
Declaration
public ModelEntity()
ModelEntity(IEnumerable<KeyValuePair<Object, Object>>)
Initializes a new instance of the ModelEntity class.
Declaration
public ModelEntity(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. |
ModelEntity(ModelEntity)
Initializes a new instance of the ModelEntity class.
Declaration
public ModelEntity(ModelEntity element)
Parameters
Type | Name | Description |
---|---|---|
ModelEntity | element | The element to copy. |
Remarks
Copy constructor for copying values of an instance of ModelEntity.
Methods
Detach()
Detaches a model element from a parent model element.
Declaration
protected override void Detach()
Overrides
See Also
Detach()