The TCacheableTablesLoader class is designed to get base.by a Class that will be a Cache Manager (who is responsible for the actual loading and saving of the DataTables). It contains only a helper function that is used by every Cache Manager.
More...
|
DataTable | ResultingCachedDataTable (String ATableName, String AHashCode, out System.Type AType) |
| Returns a DataTable from the Cache if the HashCode of the DataTable in the Cache doesn't fit the HashCode that is passed in, otherwise it returns nil. More...
|
|
DataTable | ResultingCachedDataTable (String ATableName, String AHashCode, DataView ACacheableTableDV, out System.Type AType) |
| Returns a DataTable from the Cache if the HashCode of the DataView of the DataTable in the Cache doesn't fit the HashCode that is passed in, otherwise it returns nil. More...
|
|
The TCacheableTablesLoader class is designed to get base.by a Class that will be a Cache Manager (who is responsible for the actual loading and saving of the DataTables). It contains only a helper function that is used by every Cache Manager.
◆ ResultingCachedDataTable() [1/2]
DataTable Ict.Petra.Shared.TCacheableTablesLoader.ResultingCachedDataTable |
( |
String |
ATableName, |
|
|
String |
AHashCode, |
|
|
DataView |
ACacheableTableDV, |
|
|
out System.Type |
AType |
|
) |
| |
|
inline |
Returns a DataTable from the Cache if the HashCode of the DataView of the DataTable in the Cache doesn't fit the HashCode that is passed in, otherwise it returns nil.
- Parameters
-
ATableName | Name of the DataTable |
AHashCode | HashCode that should be compared against the HashCode of the DataView of the DataTable in the Cache |
ACacheableTableDV | DataView for which HashCode and TableSize should be calculated |
AType | Type of the DataTable in the Cache. This is only useful for Typed DataTables |
- Returns
- DataTable from the Cache if the HHashCode of the DataView of the DataTable in the Cache doesn't fit the HashCode that is passed in, otherwise nil
◆ ResultingCachedDataTable() [2/2]
DataTable Ict.Petra.Shared.TCacheableTablesLoader.ResultingCachedDataTable |
( |
String |
ATableName, |
|
|
String |
AHashCode, |
|
|
out System.Type |
AType |
|
) |
| |
|
inline |
Returns a DataTable from the Cache if the HashCode of the DataTable in the Cache doesn't fit the HashCode that is passed in, otherwise it returns nil.
- Parameters
-
ATableName | Name of the DataTable |
AHashCode | HashCode that should be compared against the HashCode of the DataTable in the Cache |
AType | Type of the DataTable in the Cache. This is only useful for Typed DataTables |
- Returns
- DataTable from the Cache if the HashCode of the DataTable in the Cache doesn't fit the HashCode that is passed in, otherwise nil
◆ FCacheableTablesManager
◆ CacheableTablesManager
The documentation for this class was generated from the following file: