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