IAutoQueryData
Assembly: ServiceStack.dll
View Source
Declaration
public interface IAutoQueryData
Methods
GetFromType(Type)
View Source
Declaration
Type GetFromType(Type requestDtoType)
Returns
System.Type
Parameters
Type | Name |
---|---|
System.Type | requestDtoType |
GetDb(QueryDataContext, Type)
View Source
Declaration
IQueryDataSource GetDb(QueryDataContext ctx, Type type)
Returns
Parameters
Type | Name |
---|---|
ServiceStack.QueryDataContext | ctx |
System.Type | type |
GetDb<From>(QueryDataContext)
View Source
Declaration
IQueryDataSource GetDb<From>(QueryDataContext ctx)
Returns
Parameters
Type | Name |
---|---|
ServiceStack.QueryDataContext | ctx |
Type Parameters
From
GetTypedQuery(Type, Type)
View Source
Declaration
ITypedQueryData GetTypedQuery(Type requestDtoType, Type fromType)
Returns
Parameters
Type | Name |
---|---|
System.Type | requestDtoType |
System.Type | fromType |
CreateQuery<From>(IQueryData<From>, Dictionary<String, String>, IRequest, IQueryDataSource)
View Source
Declaration
DataQuery<From> CreateQuery<From>(IQueryData<From> dto, Dictionary<string, string> dynamicParams, IRequest req = null, IQueryDataSource db = null)
Returns
Parameters
Type | Name |
---|---|
ServiceStack.IQueryData<From> | dto |
System.Collections.Generic.Dictionary<System.String,System.String> | dynamicParams |
ServiceStack.Web.IRequest | req |
ServiceStack.IQueryDataSource | db |
Type Parameters
From
Execute<From>(IQueryData<From>, DataQuery<From>, IRequest, IQueryDataSource)
View Source
Declaration
QueryResponse<From> Execute<From>(IQueryData<From> request, DataQuery<From> q, IRequest req = null, IQueryDataSource db = null)
Returns
Parameters
Type | Name |
---|---|
ServiceStack.IQueryData<From> | request |
ServiceStack.DataQuery<T> | q |
ServiceStack.Web.IRequest | req |
ServiceStack.IQueryDataSource | db |
Type Parameters
From
CreateQuery<From, Into>(IQueryData<From, Into>, Dictionary<String, String>, IRequest, IQueryDataSource)
View Source
Declaration
DataQuery<From> CreateQuery<From, Into>(IQueryData<From, Into> dto, Dictionary<string, string> dynamicParams, IRequest req = null, IQueryDataSource db = null)
Returns
Parameters
Type | Name |
---|---|
ServiceStack.IQueryData<From> | dto |
System.Collections.Generic.Dictionary<System.String,System.String> | dynamicParams |
ServiceStack.Web.IRequest | req |
ServiceStack.IQueryDataSource | db |
Type Parameters
From
Into
Execute<From, Into>(IQueryData<From, Into>, DataQuery<From>, IRequest, IQueryDataSource)
View Source
Declaration
QueryResponse<Into> Execute<From, Into>(IQueryData<From, Into> request, DataQuery<From> q, IRequest req = null, IQueryDataSource db = null)
Returns
Parameters
Type | Name |
---|---|
ServiceStack.IQueryData<From> | request |
ServiceStack.DataQuery<T> | q |
ServiceStack.Web.IRequest | req |
ServiceStack.IQueryDataSource | db |
Type Parameters
From
Into
CreateContext(IQueryData, Dictionary<String, String>, IRequest)
View Source
Declaration
QueryDataContext CreateContext(IQueryData requestDto, Dictionary<string, string> dynamicParams, IRequest req)
Returns
Parameters
Type | Name |
---|---|
ServiceStack.IQueryData | requestDto |
System.Collections.Generic.Dictionary<System.String,System.String> | dynamicParams |
ServiceStack.Web.IRequest | req |
CreateQuery(IQueryData, Dictionary<String, String>, IRequest, IQueryDataSource)
View Source
Declaration
IDataQuery CreateQuery(IQueryData dto, Dictionary<string, string> dynamicParams, IRequest req, IQueryDataSource db)
Returns
Parameters
Type | Name |
---|---|
ServiceStack.IQueryData | dto |
System.Collections.Generic.Dictionary<System.String,System.String> | dynamicParams |
ServiceStack.Web.IRequest | req |
ServiceStack.IQueryDataSource | db |
Execute(IQueryData, IDataQuery, IQueryDataSource)
View Source
Declaration
IQueryResponse Execute(IQueryData request, IDataQuery q, IQueryDataSource db)
Returns
Parameters
Type | Name |
---|---|
ServiceStack.IQueryData | request |
ServiceStack.IDataQuery | q |
ServiceStack.IQueryDataSource | db |