Skip to main content

TypedQuery<QueryModel, From>

Assembly: ServiceStack.Server.dll
View Source
Declaration
public class TypedQuery<QueryModel, From> : object, ITypedQuery

Methods

CreateQuery(IDbConnection)

View Source
Declaration
public ISqlExpression CreateQuery(IDbConnection db)
Returns

ServiceStack.OrmLite.ISqlExpression

Parameters
TypeName
IDbConnectiondb

AddToQuery(ISqlExpression, IQueryDb, Dictionary<String, String>, IAutoQueryOptions, IRequest)

View Source
Declaration
public ISqlExpression AddToQuery(ISqlExpression query, IQueryDb dto, Dictionary<string, string> dynamicParams, IAutoQueryOptions options = null, IRequest req = null)
Returns

ServiceStack.OrmLite.ISqlExpression

Parameters
TypeName
ServiceStack.OrmLite.ISqlExpressionquery
ServiceStack.IQueryDbdto
Dictionary<System.String,System.String>dynamicParams
ServiceStack.IAutoQueryOptionsoptions
ServiceStack.Web.IRequestreq

Execute<Into>(IDbConnection, ISqlExpression)

View Source
Declaration
public QueryResponse<Into> Execute<Into>(IDbConnection db, ISqlExpression query)
Returns

ServiceStack.QueryResponse<T>

Parameters
TypeName
IDbConnectiondb
ServiceStack.OrmLite.ISqlExpressionquery
Type Parameters
  • Into

ExecuteAsync<Into>(IDbConnection, ISqlExpression)

View Source
Declaration
public async Task<QueryResponse<Into>> ExecuteAsync<Into>(IDbConnection db, ISqlExpression query)
Returns

Task<ServiceStack.QueryResponse<<Into>>>

Parameters
TypeName
IDbConnectiondb
ServiceStack.OrmLite.ISqlExpressionquery
Type Parameters
  • Into

Implements