Class EntityBase
- Namespace
- FemDesign
- Assembly
- FemDesign.Core.dll
entity_attribs
public abstract class EntityBase : IFemDesignEntity
- Inheritance
-
EntityBase
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
EntityBase()
protected EntityBase()
Fields
_lastChange
public string _lastChange
Field Value
Properties
Action
public string Action { get; set; }
Property Value
Guid
Global Unique Id of entity
public Guid Guid { get; set; }
Property Value
LastChange
public DateTime LastChange { get; }
Property Value
Methods
EntityCreated()
Invoke when an instance is created.
Creates a new guid, adds timestamp and changes action.
public void EntityCreated()
EntityModified()
Invoke when an instance is modified.
Changes timestamp and action.
public void EntityModified()
Operators
implicit operator Guid(EntityBase)
public static implicit operator Guid(EntityBase entity)
Parameters
entityEntityBase