Show / Hide Table of Contents

Class CurrencyCache

Cahce holding information about currencies

Inheritance
Object
CacheBase
RowCacheBase<CurrencyRow>
CurrencyCache
Implements
IDisposable
IFlushable
Inherited Members
RowCacheBase<CurrencyRow>.OnRefresh()
RowCacheBase<CurrencyRow>.OnParseRow(CurrencyRow)
RowCacheBase<CurrencyRow>.GetRowFromId(Int32)
RowCacheBase<CurrencyRow>.Rows
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 CurrencyCache : RowCacheBase<CurrencyRow>, IDisposable, IFlushable

Methods

AddRow(CurrencyRow)

Declaration
protected override void AddRow(CurrencyRow row)
Parameters
Type Name Description
CurrencyRow row
Overrides
SuperOffice.CRM.Cache.RowCacheBase<SuperOffice.CRM.Rows.CurrencyRow>.AddRow(SuperOffice.CRM.Rows.CurrencyRow)

FetchRows()

Fetch the rows from the database.

Declaration
protected override TableRowsBase FetchRows()
Returns
Type Description
TableRowsBase

Rows fetched from the database.

Overrides
SuperOffice.CRM.Cache.RowCacheBase<SuperOffice.CRM.Rows.CurrencyRow>.FetchRows()

GetCachedTableNumbers()

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

GetCurrent()

Obtain an instance of the CurrencyCache

Declaration
public static CurrencyCache GetCurrent()
Returns
Type Description
CurrencyCache

GetRowFromName(String)

Get the row fro from it's primary key.

Declaration
public CurrencyRow GetRowFromName(string name)
Parameters
Type Name Description
String name
Returns
Type Description
CurrencyRow

The row with the given name. If the row does not exist, nothing is returned.

OnFlush()

Declaration
protected override void OnFlush()
Overrides
SuperOffice.CRM.Cache.RowCacheBase<SuperOffice.CRM.Rows.CurrencyRow>.OnFlush()

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