C# Class Tiraggo.OracleClientProvider.Shared

Datei anzeigen Open project: BrewDawg/Tiraggo

Public Methods

Method Description
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

Private Methods

Method Description
CloneParameter ( OracleParameter p ) : OracleParameter
CreateInsertSQLSnippet ( string colName, OracleParameter p, string &into, string &values, string &comma ) : void

Method Details

AddParameters() public static method

public static AddParameters ( System.Data.OracleClient.OracleCommand cmd, tgDataRequest request ) : void
cmd System.Data.OracleClient.OracleCommand
request Tiraggo.Interfaces.tgDataRequest
return void

BuildDynamicDeleteCommand() public static method

public static BuildDynamicDeleteCommand ( tgDataRequest request, tgEntitySavePacket packet ) : System.Data.OracleClient.OracleCommand
request Tiraggo.Interfaces.tgDataRequest
packet Tiraggo.Interfaces.tgEntitySavePacket
return System.Data.OracleClient.OracleCommand

BuildDynamicInsertCommand() public static method

public static BuildDynamicInsertCommand ( tgDataRequest request, tgEntitySavePacket packet ) : System.Data.OracleClient.OracleCommand
request Tiraggo.Interfaces.tgDataRequest
packet Tiraggo.Interfaces.tgEntitySavePacket
return System.Data.OracleClient.OracleCommand

BuildDynamicUpdateCommand() public static method

public static BuildDynamicUpdateCommand ( tgDataRequest request, tgEntitySavePacket packet ) : System.Data.OracleClient.OracleCommand
request Tiraggo.Interfaces.tgDataRequest
packet Tiraggo.Interfaces.tgEntitySavePacket
return System.Data.OracleClient.OracleCommand

BuildStoredProcDeleteCommand() public static method

public static BuildStoredProcDeleteCommand ( tgDataRequest request, tgEntitySavePacket packet ) : System.Data.OracleClient.OracleCommand
request Tiraggo.Interfaces.tgDataRequest
packet Tiraggo.Interfaces.tgEntitySavePacket
return System.Data.OracleClient.OracleCommand

BuildStoredProcInsertCommand() public static method

public static BuildStoredProcInsertCommand ( tgDataRequest request, tgEntitySavePacket packet ) : System.Data.OracleClient.OracleCommand
request Tiraggo.Interfaces.tgDataRequest
packet Tiraggo.Interfaces.tgEntitySavePacket
return System.Data.OracleClient.OracleCommand

BuildStoredProcUpdateCommand() public static method

public static BuildStoredProcUpdateCommand ( tgDataRequest request, tgEntitySavePacket packet ) : System.Data.OracleClient.OracleCommand
request Tiraggo.Interfaces.tgDataRequest
packet Tiraggo.Interfaces.tgEntitySavePacket
return System.Data.OracleClient.OracleCommand

CheckForConcurrencyException() public static method

public static CheckForConcurrencyException ( OracleException ex ) : tgConcurrencyException
ex System.Data.OracleClient.OracleException
return tgConcurrencyException

CreateFullName() public static method

public static CreateFullName ( tgDataRequest request ) : string
request Tiraggo.Interfaces.tgDataRequest
return string

CreateFullName() public static method

public static CreateFullName ( tgDataRequest request, tgDynamicQuerySerializable query ) : string
request Tiraggo.Interfaces.tgDataRequest
query tgDynamicQuerySerializable
return string

CreateFullSPName() public static method

public static CreateFullSPName ( tgDataRequest request, string spName ) : string
request Tiraggo.Interfaces.tgDataRequest
spName string
return string

GatherReturnParameters() public static method

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
return void

PopulateStoredProcParameters() public static method

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
return void