Class CurrencyCache
Cahce holding information about currencies
Inherited Members
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
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
Extension Methods
EnumUtil.MapEnums<From, To>(From)