AutoQueryExtensions
Assembly: ServiceStack.Server.dll
View Source
Declaration
public static class AutoQueryExtensions : object
Methods
Init(QueryDbFieldAttribute)
View Source
Declaration
public static QueryDbFieldAttribute Init(this QueryDbFieldAttribute query)
Returns
ServiceStack.QueryDbFieldAttribute
Parameters
Type | Name |
---|---|
ServiceStack.QueryDbFieldAttribute | query |
Combine(QueryDbFieldAttribute, QueryDbFieldAttribute)
View Source
Declaration
public static QueryDbFieldAttribute Combine(this QueryDbFieldAttribute field, QueryDbFieldAttribute convention)
Returns
ServiceStack.QueryDbFieldAttribute
Parameters
Type | Name |
---|---|
ServiceStack.QueryDbFieldAttribute | field |
ServiceStack.QueryDbFieldAttribute | convention |
CreateQuery<From>(IAutoQueryDb, IQueryDb<From>, IRequest)
View Source
Declaration
public static SqlExpression<From> CreateQuery<From>(this IAutoQueryDb autoQuery, IQueryDb<From> model, IRequest request)
Returns
ServiceStack.OrmLite.SqlExpression<T>
Parameters
Type | Name |
---|---|
ServiceStack.IAutoQueryDb | autoQuery |
ServiceStack.IQueryDb<From> | model |
ServiceStack.Web.IRequest | request |
Type Parameters
From
CreateQuery<From>(IAutoQueryDb, IQueryDb<From>, IRequest, IDbConnection)
View Source
Declaration
public static SqlExpression<From> CreateQuery<From>(this IAutoQueryDb autoQuery, IQueryDb<From> model, IRequest request, IDbConnection db)
Returns
ServiceStack.OrmLite.SqlExpression<T>
Parameters
Type | Name |
---|---|
ServiceStack.IAutoQueryDb | autoQuery |
ServiceStack.IQueryDb<From> | model |
ServiceStack.Web.IRequest | request |
IDbConnection | db |
Type Parameters
From
CreateQuery<From, Into>(IAutoQueryDb, IQueryDb<From, Into>, IRequest)
View Source
Declaration
public static SqlExpression<From> CreateQuery<From, Into>(this IAutoQueryDb autoQuery, IQueryDb<From, Into> model, IRequest request)
Returns
ServiceStack.OrmLite.SqlExpression<T>
Parameters
Type | Name |
---|---|
ServiceStack.IAutoQueryDb | autoQuery |
ServiceStack.IQueryDb<From> | model |
ServiceStack.Web.IRequest | request |
Type Parameters
From
Into
CreateQuery<From, Into>(IAutoQueryDb, IQueryDb<From, Into>, IRequest, IDbConnection)
View Source
Declaration
public static SqlExpression<From> CreateQuery<From, Into>(this IAutoQueryDb autoQuery, IQueryDb<From, Into> model, IRequest request, IDbConnection db)
Returns
ServiceStack.OrmLite.SqlExpression<T>
Parameters
Type | Name |
---|---|
ServiceStack.IAutoQueryDb | autoQuery |
ServiceStack.IQueryDb<From> | model |
ServiceStack.Web.IRequest | request |
IDbConnection | db |
Type Parameters
From
Into
GetDb<From>(IAutoQueryDb, IQueryDb<From>, IRequest)
View Source
Declaration
public static IDbConnection GetDb<From>(this IAutoQueryDb autoQuery, IQueryDb<From> dto, IRequest req = null)
Returns
IDbConnection
Parameters
Type | Name |
---|---|
ServiceStack.IAutoQueryDb | autoQuery |
ServiceStack.IQueryDb<From> | dto |
ServiceStack.Web.IRequest | req |
Type Parameters
From
GetDb<From, Into>(IAutoQueryDb, IQueryDb<From, Into>, IRequest)
View Source
Declaration
public static IDbConnection GetDb<From, Into>(this IAutoQueryDb autoQuery, IQueryDb<From, Into> dto, IRequest req = null)
Returns
IDbConnection
Parameters
Type | Name |
---|---|
ServiceStack.IAutoQueryDb | autoQuery |
ServiceStack.IQueryDb<From> | dto |
ServiceStack.Web.IRequest | req |
Type Parameters
From
Into