Skip to main content

OrmLiteWriteApiAsyncLegacy

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

Methods​

DeleteFmtAsync<T>(IDbConnection, CancellationToken, String, Object[])​

Delete rows using a SqlFormat filter. E.g:

View Source​
Declaration
public static Task<int> DeleteFmtAsync<T>(this IDbConnection dbConn, CancellationToken token, string sqlFilter, params object[] filterParams)
Returns​

Task<System.Int32>: number of rows deleted

Parameters​
TypeName
IDbConnectiondbConn
CancellationTokentoken
System.StringsqlFilter
System.Object[]filterParams
Type Parameters​
  • T

DeleteFmtAsync<T>(IDbConnection, String, Object[])​

View Source​
Declaration
public static Task<int> DeleteFmtAsync<T>(this IDbConnection dbConn, string sqlFilter, params object[] filterParams)
Returns​

Task<System.Int32>

Parameters​
TypeName
IDbConnectiondbConn
System.StringsqlFilter
System.Object[]filterParams
Type Parameters​
  • T

DeleteFmtAsync(IDbConnection, CancellationToken, Type, String, Object[])​

Delete rows from the runtime table type using a SqlFormat filter. E.g:

View Source​
Declaration
public static Task<int> DeleteFmtAsync(this IDbConnection dbConn, CancellationToken token, Type tableType, string sqlFilter, params object[] filterParams)
Returns​

Task<System.Int32>: number of rows deleted

Parameters​
TypeName
IDbConnectiondbConn
CancellationTokentoken
TypetableType
System.StringsqlFilter
System.Object[]filterParams

DeleteFmtAsync(IDbConnection, Type, String, Object[])​

View Source​
Declaration
public static Task<int> DeleteFmtAsync(this IDbConnection dbConn, Type tableType, string sqlFilter, params object[] filterParams)
Returns​

Task<System.Int32>

Parameters​
TypeName
IDbConnectiondbConn
TypetableType
System.StringsqlFilter
System.Object[]filterParams