Class Activity
Activity Base Class, used to related an User in a Context at specific TimeStamp. This class is futher derived into specialized Activities (like Eat and View) to include Items information.
Inheritance
System.Object
Activity
Inherited Members
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:UM4RS.Activity
Assembly:UM4RS.dll
Syntax
[Table("Activity")]
public class Activity
Properties
Context
The Context instance where the Context is performed
Declaration
public Context Context { get; set; }
Property Value
| Type | Description |
|---|---|
| Context |
Id
Unique identifier
Declaration
[NonExportable]
public int Id { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Name
Name of the activity
Declaration
[NonExportable]
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
TimeStamp
The DateTime when the Activity is performed
Declaration
[NonExportable]
public DateTime TimeStamp { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime |
User
The User instance that is performing the Activity
Declaration
[Exportable(Order = 1)]
public User User { get; set; }
Property Value
| Type | Description |
|---|---|
| User |