Show / Hide Table of Contents

Class PriorityCache

Cache that holds information about priority.

Inheritance
Object
CacheBase
RowCacheBase<PriorityRow>
PriorityCache
Implements
IDisposable
IFlushable
Inherited Members
RowCacheBase<PriorityRow>.OnRefresh()
RowCacheBase<PriorityRow>.AddRow(PriorityRow)
RowCacheBase<PriorityRow>.OnFlush()
RowCacheBase<PriorityRow>.OnParseRow(PriorityRow)
RowCacheBase<PriorityRow>.GetRowFromId(Int32)
RowCacheBase<PriorityRow>.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 PriorityCache : RowCacheBase<PriorityRow>, IDisposable, IFlushable

Methods

FetchRows()

Fetch the rows from the database.

Declaration
protected override TableRowsBase FetchRows()
Returns
Type Description
TableRowsBase

Collection of rows.

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

GetCachedTableNumbers()

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

GetCurrent()

Get the current instance of the CategoryCache

Declaration
public static PriorityCache GetCurrent()
Returns
Type Description
PriorityCache

Current instance of the CategoryCache.

GetNameFromId(Int32)

Retrieve the category name from the its primary key.

Declaration
public string GetNameFromId(int id)
Parameters
Type Name Description
Int32 id

Primary key in the category table.

Returns
Type Description
String

Name of the category

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