Inheritance
ExtraFieldsCache
Assembly: SoDataBase.dll
[CacheV2(0)]
public class ExtraFieldsCache : CacheBaseV2
Constructors
Declaration
public ExtraFieldsCache()
Properties
Declaration
public IEnumerable<ExtraFieldsRecordData> ExtraFields { get; }
Property Value
Gets the names of the table data that are cached in this cache. When these tables are updated
the cache will be disposed so a new cache instance can take its place.
Declaration
protected override IEnumerable<string> TableNames { get; }
Property Value
Overrides
Methods
Declaration
public IEnumerable<ExtraTablesRecordData> GetAllExtraTables()
Returns
Declaration
public string GetDisplayField(int tableId)
Parameters
| Type |
Name |
Description |
| int |
tableId |
|
Returns
Declaration
public string GetDisplayField(string tableName)
Parameters
| Type |
Name |
Description |
| string |
tableName |
|
Returns
Declaration
public ExtraFieldsRecordData GetExtraFieldsDefinition(int id)
Parameters
| Type |
Name |
Description |
| int |
id |
|
Returns
Declaration
public ExtraFieldsRecordData GetExtraFieldsDefinition(string tableName, string fieldName)
Parameters
Returns
Declaration
public ExtraTablesRecordData GetExtraTablesDefinition(int tableID)
Parameters
| Type |
Name |
Description |
| int |
tableID |
|
Returns
Declaration
public ExtraTablesRecordData GetExtraTablesDefinition(string tableName)
Parameters
| Type |
Name |
Description |
| string |
tableName |
|
Returns
Actual cache loading method, to be implemented by derived class. Sentry is Ignored when this method is called
Declaration
protected override void OnLoad()
Overrides
Actual cache loading method, to be implemented by derived class. Sentry is Ignored when this method is called
Declaration
[CreateSyncVersion(OmitNullableDirective = true)]
protected override Task OnLoadAsync(CancellationToken cancellationToken)
Parameters
Returns
Overrides
Extension Methods