Class TravelCurrentCache
Knows what kind of database this is - central, satellite, travel. Also knows things like the dbtag and prototype generation date
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: SuperOffice.CRM.Cache
Assembly: SoDataBase.dll
Syntax
public class TravelCurrentCache : CacheBase, IDisposable, IFlushable
Properties
CentralGeneratedTime
When was the central database generated
Declaration
public DateTime CentralGeneratedTime { get; }
Property Value
Type | Description |
---|---|
System.DateTime |
CurrentGeneratedTime
When was the current database generated
Declaration
public DateTime CurrentGeneratedTime { get; }
Property Value
Type | Description |
---|---|
System.DateTime |
DbTag
Unique serial number for this database. 128 bit in hex.
Declaration
public string DbTag { get; }
Property Value
Type | Description |
---|---|
System.String |
IsCentralDb
Is this the central database? Not a travel or satellite db?
Declaration
public bool IsCentralDb { get; }
Property Value
Type | Description |
---|---|
Boolean |
IsSatelliteDb
Is this a satellite database? Not a travel or central db?
Declaration
public bool IsSatelliteDb { get; }
Property Value
Type | Description |
---|---|
Boolean |
IsTravelDb
Is this a travel database, not a satellite or central db?
Declaration
public bool IsTravelDb { get; }
Property Value
Type | Description |
---|---|
Boolean |
IsTravelDbMine
Is this my travel database? Returns false if not a travel database.
Declaration
public bool IsTravelDbMine { get; }
Property Value
Type | Description |
---|---|
Boolean |
ParentDbTag
Unique serial number for parent database. 128 bit in hex.
Declaration
public string ParentDbTag { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
GetCachedTableNumbers()
Declaration
public override int[] GetCachedTableNumbers()
Returns
Type | Description |
---|---|
System.Int32[] |
Overrides
GetCurrent()
Obtain an instance of the TravelCurrentCache
Declaration
public static TravelCurrentCache GetCurrent()
Returns
Type | Description |
---|---|
TravelCurrentCache |
OnFlush()
Declaration
protected override void OnFlush()
Overrides
OnRefresh()
Declaration
protected override void OnRefresh()
Overrides
Implements
Extension Methods
EnumUtil.MapEnums<From, To>(From)