DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Static Public Member Functions | List of all members
Deveel.Data.Caching.TableCacheExtensions Class Reference

Static Public Member Functions

static bool TryGetValue (this ITableCellCache cache, string database, int tableId, int rowNumber, int columnOffset, out DataObject value)
 
static void Set (this ITableCellCache cache, string database, int tableId, int rowNumber, int columnOffset, DataObject value)
 
static void Remove (this ITableCellCache cache, string database, int tableId, int rowNumber, int columnOffset)
 

Detailed Description

Definition at line 23 of file TableCacheExtensions.cs.

Member Function Documentation

static void Deveel.Data.Caching.TableCacheExtensions.Remove ( this ITableCellCache  cache,
string  database,
int  tableId,
int  rowNumber,
int  columnOffset 
)
inlinestatic

Definition at line 36 of file TableCacheExtensions.cs.

36  {
37  var rowId = new RowId(tableId, rowNumber);
38  var key = new CellKey(database, new CellId(rowId, columnOffset));
39  cache.Remove(key);
40  }
Defines the value of a ROWID object, that is a unique reference within a database system to a single ...
Definition: RowId.cs:24
static void Deveel.Data.Caching.TableCacheExtensions.Set ( this ITableCellCache  cache,
string  database,
int  tableId,
int  rowNumber,
int  columnOffset,
DataObject  value 
)
inlinestatic

Definition at line 30 of file TableCacheExtensions.cs.

30  {
31  var rowId = new RowId(tableId, rowNumber);
32  var key = new CellKey(database, new CellId(rowId, columnOffset));
33  cache.Set(new CachedCell(key, value));
34  }
Defines the value of a ROWID object, that is a unique reference within a database system to a single ...
Definition: RowId.cs:24
static bool Deveel.Data.Caching.TableCacheExtensions.TryGetValue ( this ITableCellCache  cache,
string  database,
int  tableId,
int  rowNumber,
int  columnOffset,
out DataObject  value 
)
inlinestatic

Definition at line 24 of file TableCacheExtensions.cs.

24  {
25  var rowId = new RowId(tableId, rowNumber);
26  var key = new CellKey(database, new CellId(rowId, columnOffset));
27  return cache.TryGetValue(key, out value);
28  }
Defines the value of a ROWID object, that is a unique reference within a database system to a single ...
Definition: RowId.cs:24

The documentation for this class was generated from the following file: