Exemplo n.º 1
0
 /// <summary>
 /// Performs CRUD row deletion. Override to do custom deletion
 /// </summary>
 protected internal virtual int DoDelete(SqlConnection cnn, SqlTransaction transaction, Doc row, IDataStoreKey key = null)
 {
     checkReadOnly(row.Schema, "delete");
     return(CRUDGenerator.CRUDDelete(this, cnn, transaction, row, key));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Performs CRUD row deletion. Override to do custom deletion
 /// </summary>
 protected internal async override Task <int> DoDeleteAsync(SqlConnection cnn, SqlTransaction transaction, Doc row, IDataStoreKey key = null)
 {
     CheckReadOnly(row.Schema, "delete");
     return(await CRUDGenerator.CRUDDelete(this, cnn, transaction, row, key));
 }