Show / Hide Table of Contents

Class TravelCurrentCache

Knows what kind of database this is - central, satellite, travel. Also knows things like the dbtag and prototype generation date

Inheritance
Object
CacheBase
TravelCurrentCache
Implements
IDisposable
IFlushable
Inherited Members
CacheBase._lastUpdated
CacheBase._cacheState
CacheBase.IsCacheInvalidated(Int32, SqlType, Int32)
CacheBase.Dispose()
CacheBase.Validate()
CacheBase.Refresh()
CacheBase.Flush()
CacheBase.OnExpired()
CacheBase.OnRefreshed()
CacheBase.OnFlushed()
CacheBase.OnDisposed()
CacheBase.Lock
CacheBase.Name
CacheBase.CacheType
CacheBase.Timeout
CacheBase.State
CacheBase.IsValid
CacheBase.Expired
CacheBase.Refreshed
CacheBase.Flushed
CacheBase.Disposed
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
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
DateTime

CurrentGeneratedTime

When was the current database generated

Declaration
public DateTime CurrentGeneratedTime { get; }
Property Value
Type Description
DateTime

DbTag

Unique serial number for this database. 128 bit in hex.

Declaration
public string DbTag { get; }
Property Value
Type Description
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
String

Methods

GetCachedTableNumbers()

Declaration
public override int[] GetCachedTableNumbers()
Returns
Type Description
Int32[]
Overrides
CacheBase.GetCachedTableNumbers()

GetCurrent()

Obtain an instance of the TravelCurrentCache

Declaration
public static TravelCurrentCache GetCurrent()
Returns
Type Description
TravelCurrentCache

OnFlush()

Declaration
protected override void OnFlush()
Overrides
CacheBase.OnFlush()

OnRefresh()

Declaration
protected override void OnRefresh()
Overrides
CacheBase.OnRefresh()

Implements

System.IDisposable
IFlushable

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top