Class RelationDefinitionCache
Inheritance
RelationDefinitionCache
Assembly: SoDataBase.dll
Syntax
[CacheV2(0)]
public class RelationDefinitionCache : CacheBaseV2
Constructors
RelationDefinitionCache()
Declaration
public RelationDefinitionCache()
Properties
TableNames
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
GetRelationDefinitionId(int, int)
Declaration
public int GetRelationDefinitionId(int sourceTableId, int destinationTableId)
Parameters
| Type |
Name |
Description |
| int |
sourceTableId |
|
| int |
destinationTableId |
|
Returns
OnLoad()
Actual cache loading method, to be implemented by derived class. Sentry is Ignored when this method is called
Declaration
protected override void OnLoad()
Overrides
OnLoadAsync(CancellationToken)
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