Interface IEntity
Represents an entity.
Namespace: IRM.Domain
Assembly: IRM.dll
Syntax
public interface IEntity
Properties
Id
Gets the unique identifier for this entity.
Declaration
Guid Id { get; }
Property Value
System.Guid
|
SenastÄndrad
Gets or sets the System.DateTime when this entity changed last time.
Declaration
DateTime SenastÄndrad { get; }
Property Value
System.DateTime
|
SenastÄndradAv
Gets or sets the user that changed this entity last time.
Declaration
string SenastÄndradAv { get; }
Property Value
String
|
Skapad
Gets or sets the System.DateTime when this entity first was created.
Declaration
DateTime Skapad { get; }
Property Value
System.DateTime
|
SkapadAv
Gets or sets the user that created this entity.
Declaration
string SkapadAv { get; }
Property Value
String
|
Methods
SetSomÄndrad(DateTime, String)
Updates SenastÄndrad to the specified DateTime and SenastÄndradAv to the System.Security.Principal.IIdentity.Name.
Declaration
void SetSomÄndrad(DateTime ändrad, string ändradAv = null)
Parameters
System.DateTime
ändrad
The System.DateTime when the entity changed. |
String
ändradAv
The user that caused the entity to change. If null, the current user from the thread will be used. |