Skip to main content

IAutoQueryData

Assembly: ServiceStack.dll​
View Source​
Declaration
public interface IAutoQueryData

Methods​

GetFromType(Type)​

View Source​
Declaration
Type GetFromType(Type requestDtoType)
Returns​

System.Type

Parameters​
TypeName
System.TyperequestDtoType

GetDb(QueryDataContext, Type)​

View Source​
Declaration
IQueryDataSource GetDb(QueryDataContext ctx, Type type)
Returns​

ServiceStack.IQueryDataSource

Parameters​
TypeName
ServiceStack.QueryDataContextctx
System.Typetype

GetDb<From>(QueryDataContext)​

View Source​
Declaration
IQueryDataSource GetDb<From>(QueryDataContext ctx)
Returns​

ServiceStack.IQueryDataSource

Parameters​
TypeName
ServiceStack.QueryDataContextctx
Type Parameters​
  • From

GetTypedQuery(Type, Type)​

View Source​
Declaration
ITypedQueryData GetTypedQuery(Type requestDtoType, Type fromType)
Returns​

ServiceStack.ITypedQueryData

Parameters​
TypeName
System.TyperequestDtoType
System.TypefromType

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​

ServiceStack.DataQuery<T>

Parameters​
TypeName
ServiceStack.IQueryData<From>dto
System.Collections.Generic.Dictionary<System.String,System.String>dynamicParams
ServiceStack.Web.IRequestreq
ServiceStack.IQueryDataSourcedb
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​

ServiceStack.QueryResponse<T>

Parameters​
TypeName
ServiceStack.IQueryData<From>request
ServiceStack.DataQuery<T>q
ServiceStack.Web.IRequestreq
ServiceStack.IQueryDataSourcedb
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​

ServiceStack.DataQuery<T>

Parameters​
TypeName
ServiceStack.IQueryData<From>dto
System.Collections.Generic.Dictionary<System.String,System.String>dynamicParams
ServiceStack.Web.IRequestreq
ServiceStack.IQueryDataSourcedb
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​

ServiceStack.QueryResponse<T>

Parameters​
TypeName
ServiceStack.IQueryData<From>request
ServiceStack.DataQuery<T>q
ServiceStack.Web.IRequestreq
ServiceStack.IQueryDataSourcedb
Type Parameters​
  • From
  • Into

CreateContext(IQueryData, Dictionary<String, String>, IRequest)​

View Source​
Declaration
QueryDataContext CreateContext(IQueryData requestDto, Dictionary<string, string> dynamicParams, IRequest req)
Returns​

ServiceStack.QueryDataContext

Parameters​
TypeName
ServiceStack.IQueryDatarequestDto
System.Collections.Generic.Dictionary<System.String,System.String>dynamicParams
ServiceStack.Web.IRequestreq

CreateQuery(IQueryData, Dictionary<String, String>, IRequest, IQueryDataSource)​

View Source​
Declaration
IDataQuery CreateQuery(IQueryData dto, Dictionary<string, string> dynamicParams, IRequest req, IQueryDataSource db)
Returns​

ServiceStack.IDataQuery

Parameters​
TypeName
ServiceStack.IQueryDatadto
System.Collections.Generic.Dictionary<System.String,System.String>dynamicParams
ServiceStack.Web.IRequestreq
ServiceStack.IQueryDataSourcedb

Execute(IQueryData, IDataQuery, IQueryDataSource)​

View Source​
Declaration
IQueryResponse Execute(IQueryData request, IDataQuery q, IQueryDataSource db)
Returns​

ServiceStack.IQueryResponse

Parameters​
TypeName
ServiceStack.IQueryDatarequest
ServiceStack.IDataQueryq
ServiceStack.IQueryDataSourcedb