QueryBuilderResult |
BuildQuery(Query query, JsonDict optionsDict = null, Boolean addPaging = False) |
Builds SQL statement by the DbQuery object. This methods calls QueryBuilder delegate to build SQL. |
QueryBuilderResult |
BuildQueryDict(JsonDict queryDict, JsonDict optionsDict = null) |
Builds the query dictionary. |
DataModel |
CreateModel() |
Creates new DataModel object |
Query |
CreateQuery() |
Creates new DbQuery object. |
QueryFormats |
CreateQueryFormats() |
Creates new QueryFormats object |
void |
DefaultModelLoader(DataModel model, String modelId) |
Default implementation of the model loader Korzh.EasyQuery.Services.EqServiceProvider.ModelLoader. |
IEnumerable<QueryListItem> |
DefaultQueryListResolver(String modelId) |
|
void |
DefaultQueryLoader(Query query, String queryId) |
Default implementation of the query loader Korzh.EasyQuery.Services.EqServiceProvider.QueryLoader. |
void |
DefaultQueryRemover(String queryId) |
Default implementation of the query remover Korzh.EasyQuery.Services.EqServiceProvider.QueryRemover. |
void |
DefaultQuerySaver(Query query, String queryId) |
Default implementation of the query saver Korzh.EasyQuery.Services.EqServiceProvider.QuerySaver. |
IEqResultSet |
ExecuteQuery(Query query, JsonDict optionsDict = null) |
|
IEqResultSet |
ExecuteQueryCore(Query query, JsonDict optionsDict = null) |
|
String |
GenerateQueryId(String name) |
|
IEnumerable<ListItem> |
GetList(JsonDict optionsDict) |
Returns custom list of values by editorId. This method is usually called by GetList action of EasyQueryController. |
IEnumerable<ListItem> |
GetList(JsonDict optionsDict, IQueryable<T> dbSet) |
Returns custom list of values by editorId. This method is usually called by GetList action of EasyQueryController. |
IEnumerable<ListItem> |
GetListCore(ListRequestOptions options) |
|
IEnumerable<ListItem> |
GetListForContext(ListRequestOptions options, IQueryable<T> dbSet) |
|
DataModel |
GetModel(String modelId) |
Gets the DbModel object by name. |
Query |
GetQuery(String modelId, String queryId) |
Gets the DbQuery object by name. |
IQueryBuilder |
GetQueryBuilder(Query query, JsonDict optionsDict = null) |
|
Query |
GetQueryByIds(JsonDict queryDict) |
Get query by query ID and model ID stored in JsonDict object |
Query |
GetQueryByJsonDict(JsonDict queryDict) |
Get query by ID stored in JsonDict object |
IEnumerable<QueryListItem> |
GetQueryList(String modelId) |
Gets the list of available queries. |
String |
GetValueFromCache(String key) |
Gets some string value from session by its key. |
ListRequestOptions |
JsonDictToListRequestOptions(JsonDict optionsDict) |
Converts JsonDict object to ListRequestOptions |
void |
LoadModelFromCache(DataModel model, String modelId) |
Loads DataModel from cache by ID (name) |
void |
LoadOptions(JsonDict optionsDict) |
Loads different options from JsonDict object (usually created by JSON deserialization). |
void |
LoadQueryById(Query query, String queryId) |
Loads the query by ID. Default implementation tries to load [queryId].xml file from Korzh.EasyQuery.Services.EqServiceProvider.DataPath\Queries{UserId} folder. |
void |
LoadQueryFromCache(Query query, String queryId) |
Loads Query from cache by ID |
Boolean |
RemoveQuery(String queryId) |
|
void |
SaveModelInCache(DataModel model) |
Saves model into cache |
Boolean |
SaveQuery(Query query) |
|
Query |
SaveQueryDict(JsonDict queryDict, String newQueryName) |
Saves the query by its JSON representation. |
void |
SaveQueryInCache(Query query) |
Saves query into cache |
void |
SaveValueInCache(String key, String value) |
Stores some string value in cache. |
void |
SyncQuery(Query query) |
Synchronizes the query. |
Query |
SyncQueryDict(JsonDict queryDict) |
Synchronizes the query by JsonDict object. |