Builds SQL statement by the DbQuery object. This methods calls QueryBuilder delegate to build SQL.
DataModel
CreateModelCore(String modelId)
Creates new DataModel object
Query
CreateQueryCore(DataModel model)
Creates new DbQuery object.
IEqResultSet
ExecuteQueryCore(JObject options = null)
The actual implemenation of ExecuteQuery function. This method is overridden in EasyQueryManagerBase descendants like EasyQueryManagerSql or EasyQueryManagerLinq.
DbConnection
GetConnection(String modelId)
Gets the DbConnection associated with this service. If connection is not defined yet - it wil be resolved using ConnectionResolver. This method opens the connection if it’s not opened yet.
DbConnection
GetConnectionCore(String modelId)
Returns the connection object. The default implementations just calls ConnectionResolved to get the connection. You can override this function in dervived class to implement your own behavior of resolving the connnection by the model ID.
Gets the data reader by query. This function is called from ExecuteQuery or ExportQueryResult.
IEqResultSet
GetEmptyResultSet()
Gets any empty result set.
IQueryBuilder
GetQueryBuilderCore(Query query, JObject options)
Returns the query builder. In this particular kind of EasyQueryManager it will be an instance of SqlQueryBuilder. This method also builds the query so you can read the result via GetResult method call.