Class DashboardCache
- Assembly
- Geotab.Checkmate.ObjectModel.dll
The object used to contain the database dashboard cache info.
public sealed class DashboardCache : Entity, IEntity, IComparable, IIdentifiable
- Inheritance
-
DashboardCache
- Implements
- Inherited Members
Constructors
DashboardCache(DashboardCache)
Initializes a new instance of the DashboardCache class.
public DashboardCache(DashboardCache dashboardCache)
Parameters
dashboardCache
DashboardCacheThe instance of DashboardCache
DashboardCache(Id?, string, byte[], in DateTime)
Initializes a new instance of the DashboardCache class.
public DashboardCache(Id? id, string key, byte[] binaryData, in DateTime expiryDate)
Parameters
id
IdThe Id.
key
stringThe dashboard request unique key.
binaryData
byte[]The dashboard as binary data.
expiryDate
DateTimeThe dashboard cache expiry date.
Properties
BinaryData
Gets or sets the dashboard as binary data.
public byte[] BinaryData { get; set; }
Property Value
ExpiryDate
Gets or sets the dashboard cache expiry date.
public DateTime ExpiryDate { get; set; }
Property Value
Key
Gets or sets the dashboard key.
public string Key { get; set; }
Property Value
Methods
Clone()
Creates a new object that is a copy of the current instance.
public override IEntity Clone()
Returns
- IEntity
A new object that is a copy of this instance.