Skip to main content

ITypedQuery

Assembly: ServiceStack.Server.dll
View Source
Declaration
public interface ITypedQuery

Methods

CreateQuery(IDbConnection)

View Source
Declaration
ISqlExpression CreateQuery(IDbConnection db)
Returns

ServiceStack.OrmLite.ISqlExpression

Parameters
TypeName
IDbConnectiondb

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

View Source
Declaration
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
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
Task<QueryResponse<Into>> ExecuteAsync<Into>(IDbConnection db, ISqlExpression query)
Returns

Task<ServiceStack.QueryResponse<<Into>>>

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