Class OracleMassOperations
Implements
Inherited Members
Namespace: SuperOffice.Data.Dialect
Assembly: SoDataBase.BusinessLogic.dll
Syntax
public class OracleMassOperations : MassOperations, IMassOperations
Constructors
OracleMassOperations()
Declaration
public OracleMassOperations()
Methods
UpsertAsync(string, string[], string[], string[][], UpsertNomatchAction, bool, CancellationToken)
Insert or update rows. See parameters for further documentaiton.
Declaration
public override Task<MassResult> UpsertAsync(string tableName, string[] columns, string[] keys, string[][] data, UpsertNomatchAction nomatchAction, bool returnRowStatus, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
string | tableName | |
string[] | columns | List of column names, in the same order as in the data; both key and data columns must be in this list |
string[] | keys | List of columns that are to be used as keys, to match any existing rows |
string[][] | data | Outer array = row, inner = column in specified order; use Encode(object) to format non-string values |
UpsertNomatchAction | nomatchAction | |
bool | returnRowStatus | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task<MassResult> | Summary of results |