C# Класс Tiraggo.OracleClientProvider.Shared

Показать файл Открыть проект

Открытые методы

Метод Описание
AddParameters ( System.Data.OracleClient.OracleCommand cmd, tgDataRequest request ) : void
BuildDynamicDeleteCommand ( tgDataRequest request, tgEntitySavePacket packet ) : System.Data.OracleClient.OracleCommand
BuildDynamicInsertCommand ( tgDataRequest request, tgEntitySavePacket packet ) : System.Data.OracleClient.OracleCommand
BuildDynamicUpdateCommand ( tgDataRequest request, tgEntitySavePacket packet ) : System.Data.OracleClient.OracleCommand
BuildStoredProcDeleteCommand ( tgDataRequest request, tgEntitySavePacket packet ) : System.Data.OracleClient.OracleCommand
BuildStoredProcInsertCommand ( tgDataRequest request, tgEntitySavePacket packet ) : System.Data.OracleClient.OracleCommand
BuildStoredProcUpdateCommand ( tgDataRequest request, tgEntitySavePacket packet ) : System.Data.OracleClient.OracleCommand
CheckForConcurrencyException ( OracleException ex ) : tgConcurrencyException
CreateFullName ( tgDataRequest request ) : string
CreateFullName ( tgDataRequest request, tgDynamicQuerySerializable query ) : string
CreateFullSPName ( tgDataRequest request, string spName ) : string
GatherReturnParameters ( System.Data.OracleClient.OracleCommand cmd, tgDataRequest request, tgDataResponse response ) : void
PopulateStoredProcParameters ( System.Data.OracleClient.OracleCommand cmd, tgDataRequest request, tgEntitySavePacket packet ) : void

Приватные методы

Метод Описание
CloneParameter ( OracleParameter p ) : OracleParameter
CreateInsertSQLSnippet ( string colName, OracleParameter p, string &into, string &values, string &comma ) : void

Описание методов

AddParameters() публичный статический Метод

public static AddParameters ( System.Data.OracleClient.OracleCommand cmd, tgDataRequest request ) : void
cmd System.Data.OracleClient.OracleCommand
request Tiraggo.Interfaces.tgDataRequest
Результат void

BuildDynamicDeleteCommand() публичный статический Метод

public static BuildDynamicDeleteCommand ( tgDataRequest request, tgEntitySavePacket packet ) : System.Data.OracleClient.OracleCommand
request Tiraggo.Interfaces.tgDataRequest
packet Tiraggo.Interfaces.tgEntitySavePacket
Результат System.Data.OracleClient.OracleCommand

BuildDynamicInsertCommand() публичный статический Метод

public static BuildDynamicInsertCommand ( tgDataRequest request, tgEntitySavePacket packet ) : System.Data.OracleClient.OracleCommand
request Tiraggo.Interfaces.tgDataRequest
packet Tiraggo.Interfaces.tgEntitySavePacket
Результат System.Data.OracleClient.OracleCommand

BuildDynamicUpdateCommand() публичный статический Метод

public static BuildDynamicUpdateCommand ( tgDataRequest request, tgEntitySavePacket packet ) : System.Data.OracleClient.OracleCommand
request Tiraggo.Interfaces.tgDataRequest
packet Tiraggo.Interfaces.tgEntitySavePacket
Результат System.Data.OracleClient.OracleCommand

BuildStoredProcDeleteCommand() публичный статический Метод

public static BuildStoredProcDeleteCommand ( tgDataRequest request, tgEntitySavePacket packet ) : System.Data.OracleClient.OracleCommand
request Tiraggo.Interfaces.tgDataRequest
packet Tiraggo.Interfaces.tgEntitySavePacket
Результат System.Data.OracleClient.OracleCommand

BuildStoredProcInsertCommand() публичный статический Метод

public static BuildStoredProcInsertCommand ( tgDataRequest request, tgEntitySavePacket packet ) : System.Data.OracleClient.OracleCommand
request Tiraggo.Interfaces.tgDataRequest
packet Tiraggo.Interfaces.tgEntitySavePacket
Результат System.Data.OracleClient.OracleCommand

BuildStoredProcUpdateCommand() публичный статический Метод

public static BuildStoredProcUpdateCommand ( tgDataRequest request, tgEntitySavePacket packet ) : System.Data.OracleClient.OracleCommand
request Tiraggo.Interfaces.tgDataRequest
packet Tiraggo.Interfaces.tgEntitySavePacket
Результат System.Data.OracleClient.OracleCommand

CheckForConcurrencyException() публичный статический Метод

public static CheckForConcurrencyException ( OracleException ex ) : tgConcurrencyException
ex System.Data.OracleClient.OracleException
Результат tgConcurrencyException

CreateFullName() публичный статический Метод

public static CreateFullName ( tgDataRequest request ) : string
request Tiraggo.Interfaces.tgDataRequest
Результат string

CreateFullName() публичный статический Метод

public static CreateFullName ( tgDataRequest request, tgDynamicQuerySerializable query ) : string
request Tiraggo.Interfaces.tgDataRequest
query tgDynamicQuerySerializable
Результат string

CreateFullSPName() публичный статический Метод

public static CreateFullSPName ( tgDataRequest request, string spName ) : string
request Tiraggo.Interfaces.tgDataRequest
spName string
Результат string

GatherReturnParameters() публичный статический Метод

public static GatherReturnParameters ( System.Data.OracleClient.OracleCommand cmd, tgDataRequest request, tgDataResponse response ) : void
cmd System.Data.OracleClient.OracleCommand
request Tiraggo.Interfaces.tgDataRequest
response Tiraggo.Interfaces.tgDataResponse
Результат void

PopulateStoredProcParameters() публичный статический Метод

public static PopulateStoredProcParameters ( System.Data.OracleClient.OracleCommand cmd, tgDataRequest request, tgEntitySavePacket packet ) : void
cmd System.Data.OracleClient.OracleCommand
request Tiraggo.Interfaces.tgDataRequest
packet Tiraggo.Interfaces.tgEntitySavePacket
Результат void