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
Type | Name |
---|---|
IDbConnection | db |
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
Type | Name |
---|---|
ServiceStack.OrmLite.ISqlExpression | query |
ServiceStack.IQueryDb | dto |
Dictionary<System.String,System.String> | dynamicParams |
ServiceStack.IAutoQueryOptions | options |
ServiceStack.Web.IRequest | req |
Execute<Into>(IDbConnection, ISqlExpression)
View Source
Declaration
public QueryResponse<Into> Execute<Into>(IDbConnection db, ISqlExpression query)
Returns
Parameters
Type | Name |
---|---|
IDbConnection | db |
ServiceStack.OrmLite.ISqlExpression | query |
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
Type | Name |
---|---|
IDbConnection | db |
ServiceStack.OrmLite.ISqlExpression | query |
Type Parameters
Into