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
Type | Name |
---|---|
IDbCommand | dbCmd |
System.String | sql |
System.Object | anonType |
CancellationToken | token |
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
Type | Name |
---|---|
IDbCommand | dbCmd |
System.String | sql |
Dictionary<System.String,System.Object> | dict |
CancellationToken | token |
ExecNonQueryAsync(IDbCommand, CancellationToken)
View Source
Declaration
public static Task<int> ExecNonQueryAsync(this IDbCommand dbCmd, CancellationToken token = null)
Returns
Task<System.Int32>
Parameters
Type | Name |
---|---|
IDbCommand | dbCmd |
CancellationToken | token |
ConvertToListAsync<T>(IDbCommand)
View Source
Declaration
public static Task<List<T>> ConvertToListAsync<T>(this IDbCommand dbCmd)
Returns
Task<List<<T>>>
Parameters
Type | Name |
---|---|
IDbCommand | dbCmd |
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
Type | Name |
---|---|
IDbCommand | dbCmd |
System.String | sql |
CancellationToken | token |
Type Parameters
T
ConvertToListAsync(IDbCommand, Type)
View Source
Declaration
public static Task<IList> ConvertToListAsync(this IDbCommand dbCmd, Type refType)
Returns
Task<IList>
Parameters
Type | Name |
---|---|
IDbCommand | dbCmd |
Type | refType |
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
Type | Name |
---|---|
IDbCommand | dbCmd |
Type | refType |
System.String | sql |
CancellationToken | token |
ConvertToAsync<T>(IDbCommand)
View Source
Declaration
public static Task<T> ConvertToAsync<T>(this IDbCommand dbCmd)
Returns
Task<<T>>
Parameters
Type | Name |
---|---|
IDbCommand | dbCmd |
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
Type | Name |
---|---|
IDbCommand | dbCmd |
System.String | sql |
CancellationToken | token |
Type Parameters
T
ScalarAsync<T>(IDbCommand)
View Source
Declaration
public static Task<T> ScalarAsync<T>(this IDbCommand dbCmd)
Returns
Task<<T>>
Parameters
Type | Name |
---|---|
IDbCommand | dbCmd |
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
Type | Name |
---|---|
IDbCommand | dbCmd |
System.String | sql |
IEnumerable<IDbDataParameter> | sqlParams |
CancellationToken | token |
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
Type | Name |
---|---|
IDbCommand | dbCmd |
System.String | sql |
CancellationToken | token |
Type Parameters
T
ScalarAsync(IDbCommand)
View Source
Declaration
public static Task<object> ScalarAsync(this IDbCommand dbCmd)
Returns
Task<System.Object>
Parameters
Type | Name |
---|---|
IDbCommand | dbCmd |
ScalarAsync(IDbCommand, ISqlExpression, CancellationToken)
View Source
Declaration
public static Task<object> ScalarAsync(this IDbCommand dbCmd, ISqlExpression expression, CancellationToken token)
Returns
Task<System.Object>
Parameters
Type | Name |
---|---|
IDbCommand | dbCmd |
ServiceStack.OrmLite.ISqlExpression | expression |
CancellationToken | token |
ScalarAsync(IDbCommand, String, CancellationToken)
View Source
Declaration
public static Task<object> ScalarAsync(this IDbCommand dbCmd, string sql, CancellationToken token)
Returns
Task<System.Object>
Parameters
Type | Name |
---|---|
IDbCommand | dbCmd |
System.String | sql |
CancellationToken | token |
ExecLongScalarAsync(IDbCommand)
View Source
Declaration
public static Task<long> ExecLongScalarAsync(this IDbCommand dbCmd)
Returns
Task<System.Int64>
Parameters
Type | Name |
---|---|
IDbCommand | dbCmd |
ExecLongScalarAsync(IDbCommand, String, CancellationToken)
View Source
Declaration
public static Task<long> ExecLongScalarAsync(this IDbCommand dbCmd, string sql, CancellationToken token)
Returns
Task<System.Int64>
Parameters
Type | Name |
---|---|
IDbCommand | dbCmd |
System.String | sql |
CancellationToken | token |