Show / Hide Table of Contents

Class OracleMassOperations

Inheritance
object
MassOperations
OracleMassOperations
Implements
IMassOperations
Inherited Members
MassOperations._dbOps
MassOperations.VerifyRights()
MassOperations.InsertAsync(string, string[], string[][], CancellationToken)
MassOperations.TruncateAsync(string, CancellationToken)
MassOperations.ToCarrierStatus(int)
MassOperations.DeleteAsync(string, int[])
MassOperations.GetTargetInformation(string)
MassOperations.ReformatColumnsForImport(SoTable, string[], IEnumerable<string[]>, int[], Dictionary<ComplexKey, MassOperations.RowInfo>, UDefType, Dictionary<int, int>, List<List<string>>)
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.Data.Dialect
Assembly: SoDataBase.BusinessLogic.dll
Syntax
public class OracleMassOperations : MassOperations, IMassOperations

Constructors

OracleMassOperations()

Declaration
public OracleMassOperations()

Methods

GetUpdateTargetFromTempSql(SoTable, SoTable, SoField, SoField, SoField, IEnumerable<string>)

Declaration
protected override string GetUpdateTargetFromTempSql(SoTable tempTable, SoTable targetTable, SoField tempId, SoField targetId, SoField tempStatus, IEnumerable<string> valueFields)
Parameters
Type Name Description
SoTable tempTable
SoTable targetTable
SoField tempId
SoField targetId
SoField tempStatus
IEnumerable<string> valueFields
Returns
Type Description
string
Overrides
MassOperations.GetUpdateTargetFromTempSql(SoTable, SoTable, SoField, SoField, SoField, IEnumerable<string>)

GetUpdateTempTableWithDataMatchSql(SoTable, SoTable, SoField, SoField, SoField, IEnumerable<string>)

Declaration
protected override string GetUpdateTempTableWithDataMatchSql(SoTable tempTable, SoTable targetTable, SoField tempId, SoField targetId, SoField tempStatus, IEnumerable<string> valueFields)
Parameters
Type Name Description
SoTable tempTable
SoTable targetTable
SoField tempId
SoField targetId
SoField tempStatus
IEnumerable<string> valueFields
Returns
Type Description
string
Overrides
MassOperations.GetUpdateTempTableWithDataMatchSql(SoTable, SoTable, SoField, SoField, SoField, IEnumerable<string>)

GetUpdateTempTableWithKeyMatchSql(SoTable, SoTable, SoField, SoField, SoField, IEnumerable<string>)

Declaration
protected override string GetUpdateTempTableWithKeyMatchSql(SoTable tempTable, SoTable targetTable, SoField tempId, SoField targetId, SoField tempStatus, IEnumerable<string> keys)
Parameters
Type Name Description
SoTable tempTable
SoTable targetTable
SoField tempId
SoField targetId
SoField tempStatus
IEnumerable<string> keys
Returns
Type Description
string
Overrides
MassOperations.GetUpdateTempTableWithKeyMatchSql(SoTable, SoTable, SoField, SoField, SoField, IEnumerable<string>)

GetUpdateTempTableWithNewKeysSql(SoTable, SoTable, SoField, SoField, SoField, IEnumerable<string>)

Declaration
protected override string GetUpdateTempTableWithNewKeysSql(SoTable tempTable, SoTable targetTable, SoField tempId, SoField targetId, SoField tempStatus, IEnumerable<string> keys)
Parameters
Type Name Description
SoTable tempTable
SoTable targetTable
SoField tempId
SoField targetId
SoField tempStatus
IEnumerable<string> keys
Returns
Type Description
string
Overrides
MassOperations.GetUpdateTempTableWithNewKeysSql(SoTable, SoTable, SoField, SoField, SoField, IEnumerable<string>)

GetZeroOutColumnsSql(SoTable, SoTable, SoField, SoField, SoField[])

Declaration
protected override string GetZeroOutColumnsSql(SoTable tempTable, SoTable targetTable, SoField tempId, SoField targetId, SoField[] valueFieldDefs)
Parameters
Type Name Description
SoTable tempTable
SoTable targetTable
SoField tempId
SoField targetId
SoField[] valueFieldDefs
Returns
Type Description
string
Overrides
MassOperations.GetZeroOutColumnsSql(SoTable, SoTable, SoField, SoField, SoField[])

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

Overrides
MassOperations.UpsertAsync(string, string[], string[], string[][], UpsertNomatchAction, bool, CancellationToken)

Implements

IMassOperations

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top