Skip to content

EqServiceProviderLinq class

Class EqServiceProviderDb. Provides basic functionality for building EasyQuery service to process AJAX requests from EasyQuery JavaScript widgets. Can be used to create MVC controller, WebService class or WebAPI controller

public class Korzh.EasyQuery.Services.EqServiceProviderLinq
: EqServiceProvider
TypeNameDescription
Func<Object>ContextGetter
TypeContextType
TypeNameDescription
voidDefaultModelLoader(DataModel model, String modelName)Default implementation of the model loader .
IEqResultSetExecuteQueryCore(Query query, JsonDict optionsDict = null)
IEnumerable<ListItem>GetListCore(ListRequestOptions options)Returns custom list of values by its name. This method is usually called by GetList action of EasyQueryController.
IEqResultSetGetResultSetByQuery(Query query, Object context, Type resultType = null, JsonDict optionsDict = null)Gets the result set by the query and some context (e.g. DbContext) object. This method generates LINQ query, executes it over specified context and returns the result as DataSet.
IEqResultSetGetResultSetByQueryDict(JsonDict queryDict, Object context)Gets the result set by the query (represented by some IDictionary object) and some context (e.g. DbContext) object. This method generates LINQ query, executes it over specified context and returns the result as DataSet.