Skip to main content

OrmLiteResultsFilterExtensionsAsync

Assembly: ServiceStack.OrmLite.dll
View Source
Declaration
public static class OrmLiteResultsFilterExtensionsAsync : object

Methods

ExecNonQueryAsync(IDbCommand, String, Object, CancellationToken)

View Source
Declaration
public static Task<int> ExecNonQueryAsync(this IDbCommand dbCmd, string sql, object anonType, CancellationToken token = null)
Returns

Task<System.Int32>

Parameters
TypeName
IDbCommanddbCmd
System.Stringsql
System.ObjectanonType
CancellationTokentoken

ExecNonQueryAsync(IDbCommand, String, Dictionary<String, Object>, CancellationToken)

View Source
Declaration
public static Task<int> ExecNonQueryAsync(this IDbCommand dbCmd, string sql, Dictionary<string, object> dict, CancellationToken token = null)
Returns

Task<System.Int32>

Parameters
TypeName
IDbCommanddbCmd
System.Stringsql
Dictionary<System.String,System.Object>dict
CancellationTokentoken

ExecNonQueryAsync(IDbCommand, CancellationToken)

View Source
Declaration
public static Task<int> ExecNonQueryAsync(this IDbCommand dbCmd, CancellationToken token = null)
Returns

Task<System.Int32>

Parameters
TypeName
IDbCommanddbCmd
CancellationTokentoken

ConvertToListAsync<T>(IDbCommand)

View Source
Declaration
public static Task<List<T>> ConvertToListAsync<T>(this IDbCommand dbCmd)
Returns

Task<List<<T>>>

Parameters
TypeName
IDbCommanddbCmd
Type Parameters
  • T

ConvertToListAsync<T>(IDbCommand, String, CancellationToken)

View Source
Declaration
public static async Task<List<T>> ConvertToListAsync<T>(this IDbCommand dbCmd, string sql, CancellationToken token)
Returns

Task<List<<T>>>

Parameters
TypeName
IDbCommanddbCmd
System.Stringsql
CancellationTokentoken
Type Parameters
  • T

ConvertToListAsync(IDbCommand, Type)

View Source
Declaration
public static Task<IList> ConvertToListAsync(this IDbCommand dbCmd, Type refType)
Returns

Task<IList>

Parameters
TypeName
IDbCommanddbCmd
TyperefType

ConvertToListAsync(IDbCommand, Type, String, CancellationToken)

View Source
Declaration
public static async Task<IList> ConvertToListAsync(this IDbCommand dbCmd, Type refType, string sql, CancellationToken token)
Returns

Task<IList>

Parameters
TypeName
IDbCommanddbCmd
TyperefType
System.Stringsql
CancellationTokentoken

ConvertToAsync<T>(IDbCommand)

View Source
Declaration
public static Task<T> ConvertToAsync<T>(this IDbCommand dbCmd)
Returns

Task<<T>>

Parameters
TypeName
IDbCommanddbCmd
Type Parameters
  • T

ConvertToAsync<T>(IDbCommand, String, CancellationToken)

View Source
Declaration
public static async Task<T> ConvertToAsync<T>(this IDbCommand dbCmd, string sql, CancellationToken token)
Returns

Task<<T>>

Parameters
TypeName
IDbCommanddbCmd
System.Stringsql
CancellationTokentoken
Type Parameters
  • T

ScalarAsync<T>(IDbCommand)

View Source
Declaration
public static Task<T> ScalarAsync<T>(this IDbCommand dbCmd)
Returns

Task<<T>>

Parameters
TypeName
IDbCommanddbCmd
Type Parameters
  • T

ScalarAsync<T>(IDbCommand, String, IEnumerable<IDbDataParameter>, CancellationToken)

View Source
Declaration
public static Task<T> ScalarAsync<T>(this IDbCommand dbCmd, string sql, IEnumerable<IDbDataParameter> sqlParams, CancellationToken token)
Returns

Task<<T>>

Parameters
TypeName
IDbCommanddbCmd
System.Stringsql
IEnumerable<IDbDataParameter>sqlParams
CancellationTokentoken
Type Parameters
  • T

ScalarAsync<T>(IDbCommand, String, CancellationToken)

View Source
Declaration
public static async Task<T> ScalarAsync<T>(this IDbCommand dbCmd, string sql, CancellationToken token)
Returns

Task<<T>>

Parameters
TypeName
IDbCommanddbCmd
System.Stringsql
CancellationTokentoken
Type Parameters
  • T

ScalarAsync(IDbCommand)

View Source
Declaration
public static Task<object> ScalarAsync(this IDbCommand dbCmd)
Returns

Task<System.Object>

Parameters
TypeName
IDbCommanddbCmd

ScalarAsync(IDbCommand, ISqlExpression, CancellationToken)

View Source
Declaration
public static Task<object> ScalarAsync(this IDbCommand dbCmd, ISqlExpression expression, CancellationToken token)
Returns

Task<System.Object>

Parameters
TypeName
IDbCommanddbCmd
ServiceStack.OrmLite.ISqlExpressionexpression
CancellationTokentoken

ScalarAsync(IDbCommand, String, CancellationToken)

View Source
Declaration
public static Task<object> ScalarAsync(this IDbCommand dbCmd, string sql, CancellationToken token)
Returns

Task<System.Object>

Parameters
TypeName
IDbCommanddbCmd
System.Stringsql
CancellationTokentoken

ExecLongScalarAsync(IDbCommand)

View Source
Declaration
public static Task<long> ExecLongScalarAsync(this IDbCommand dbCmd)
Returns

Task<System.Int64>

Parameters
TypeName
IDbCommanddbCmd

ExecLongScalarAsync(IDbCommand, String, CancellationToken)

View Source
Declaration
public static Task<long> ExecLongScalarAsync(this IDbCommand dbCmd, string sql, CancellationToken token)
Returns

Task<System.Int64>

Parameters
TypeName
IDbCommanddbCmd
System.Stringsql
CancellationTokentoken