Exemplo n.º 1
0
 /// <summary>
 /// Performs CRUD row upsert. Override to do custom upsertion
 /// </summary>
 protected internal async override Task <int> DoUpsertAsync(OracleConnection cnn, OracleTransaction transaction, Doc row, FieldFilterFunc filter = null)
 {
     CheckReadOnly(row.Schema, "upsert");
     return(await CRUDGenerator.CRUDUpsert(this, cnn, transaction, row, filter).ConfigureAwait(false));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Performs CRUD row upsert. Override to do custom upsertion
 /// </summary>
 protected internal virtual int DoUpsert(OracleConnection cnn, OracleTransaction transaction, Doc row, FieldFilterFunc filter = null)
 {
     checkReadOnly(row.Schema, "upsert");
     return(CRUDGenerator.CRUDUpsert(this, cnn, transaction, row, filter));
 }