Ejemplo n.º 1
0
 public static void Delete <T>(this ICommandCreator creator, string tableName, T value, QueryOptions queryOptions, params string[] keyFields)
 {
     creator.CreateDelete(tableName, value, queryOptions, keyFields).ExecuteNonQuery();
 }
Ejemplo n.º 2
0
 public static Task DeleteAsync <T>(this ICommandCreator creator, string tableName, T value, QueryOptions queryOptions, params string[] keyFields)
 {
     return(creator.CreateDelete(tableName, value, queryOptions, keyFields).ExecuteNonQueryAsync());
 }
Ejemplo n.º 3
0
 public static IWrappedCommand CreateDelete <T>(this ICommandCreator creator, string tableName, T value, params string[] keyFields)
 {
     return(creator.CreateDelete(tableName, value, null, keyFields));
 }