Source/NFX/DataAccess/Distributed/StoreIntfs.cs
/// <summary>
/// Async version: Loads result object by executing a query command in the bank backend fetching necessary parcels/records/documents and aggregating the result.
/// The query may return parcel/s that can be modified and saved back into the store
/// </summary>
/// <param name="command">The command object that contains command name and parameters to query the datastore</param>
/// <param name="veracity">The level of data veracity</param>
/// <param name="cacheOpt">The cache control options</param>
/// <param name="cacheMaxAgeSec">The maximum acceptable age of cached instance, cached data will be re-queried from backend if it is older</param>
/// <param name="session">User session, if null session will be taken from execution context. The session may be needed for policy filtering</param>
Async version: Loads result object by executing a query command in the bank backend fetching necessary parcels/records/documents and aggregating the result.
The query may return parcel/s that can be modified and saved back into the store
Async version : Loads result object by executing a query command in the bank backend fetching necessary parcels / records / documents and aggregating the result . The query may return parcel / s that can be modified and saved back into the store
Task<object> QueryAsync(Command command,
                                      DataVeracity veracity = DataVeracity.Maximum,
                                      DataCaching cacheOpt = DataCaching.LatestData,
                                      int? cacheMaxAgeSec = null,
                                      ISession session = null);
Task < object > QueryAsync ( Command command , DataVeracity veracity = DataVeracity . Maximum , DataCaching cacheOpt = DataCaching . LatestData , int ? cacheMaxAgeSec = null , ISession session = null ) ;
Async version: Loads result object by executing a query command in the bank backend fetching necessary parcels/records/documents and aggregating the result.
Async version : Loads result object by executing a query command in the bank backend fetching necessary parcels / records / documents and aggregating the result .
command
Command
The command object that contains command name and parameters to query the datastore
The command object that contains command name and parameters to query the datastore
veracity
DataVeracity
The level of data veracity
The level of data veracity
cacheOpt
DataCaching
The cache control options
The cache control options
cacheMaxAgeSec
int?
The maximum acceptable age of cached instance, cached data will be re-queried from backend if it is older
The maximum acceptable age of cached instance cached data will be re - queried from backend if it is older
session
ISession
User session, if null session will be taken from execution context. The session may be needed for policy filtering
User session if null session will be taken from execution context . The session may be needed for policy filtering