C# Class Tiraggo.Npgsql2Provider.Shared

Exibir arquivo Open project: BrewDawg/Tiraggo

Public Methods

Method Description
AddParameters ( NpgsqlCommand cmd, tgDataRequest request ) : void
BuildDynamicDeleteCommand ( tgDataRequest request, tgEntitySavePacket packet ) : NpgsqlCommand
BuildDynamicInsertCommand ( tgDataRequest request, tgEntitySavePacket packet ) : NpgsqlCommand
BuildDynamicUpdateCommand ( tgDataRequest request, tgEntitySavePacket packet ) : NpgsqlCommand
BuildStoredProcDeleteCommand ( tgDataRequest request, tgEntitySavePacket packet ) : NpgsqlCommand
BuildStoredProcInsertCommand ( tgDataRequest request, tgEntitySavePacket packet ) : NpgsqlCommand
BuildStoredProcUpdateCommand ( tgDataRequest request, tgEntitySavePacket packet ) : NpgsqlCommand
CheckForConcurrencyException ( NpgsqlException ex ) : tgConcurrencyException
CreateFullName ( tgDataRequest request ) : string
CreateFullName ( tgDataRequest request, tgDynamicQuerySerializable query ) : string
CreateFullSPName ( tgDataRequest request, string spName ) : string
GatherReturnParameters ( NpgsqlCommand cmd, tgDataRequest request, tgDataResponse response ) : void
PopulateStoredProcParameters ( NpgsqlCommand cmd, tgDataRequest request, tgEntitySavePacket packet ) : void

Private Methods

Method Description
CloneParameter ( Npgsql.NpgsqlParameter p ) : Npgsql.NpgsqlParameter

Method Details

AddParameters() public static method

public static AddParameters ( NpgsqlCommand cmd, tgDataRequest request ) : void
cmd Npgsql.NpgsqlCommand
request Tiraggo.Interfaces.tgDataRequest
return void

BuildDynamicDeleteCommand() public static method

public static BuildDynamicDeleteCommand ( tgDataRequest request, tgEntitySavePacket packet ) : NpgsqlCommand
request Tiraggo.Interfaces.tgDataRequest
packet Tiraggo.Interfaces.tgEntitySavePacket
return Npgsql.NpgsqlCommand

BuildDynamicInsertCommand() public static method

public static BuildDynamicInsertCommand ( tgDataRequest request, tgEntitySavePacket packet ) : NpgsqlCommand
request Tiraggo.Interfaces.tgDataRequest
packet Tiraggo.Interfaces.tgEntitySavePacket
return Npgsql.NpgsqlCommand

BuildDynamicUpdateCommand() public static method

public static BuildDynamicUpdateCommand ( tgDataRequest request, tgEntitySavePacket packet ) : NpgsqlCommand
request Tiraggo.Interfaces.tgDataRequest
packet Tiraggo.Interfaces.tgEntitySavePacket
return Npgsql.NpgsqlCommand

BuildStoredProcDeleteCommand() public static method

public static BuildStoredProcDeleteCommand ( tgDataRequest request, tgEntitySavePacket packet ) : NpgsqlCommand
request Tiraggo.Interfaces.tgDataRequest
packet Tiraggo.Interfaces.tgEntitySavePacket
return Npgsql.NpgsqlCommand

BuildStoredProcInsertCommand() public static method

public static BuildStoredProcInsertCommand ( tgDataRequest request, tgEntitySavePacket packet ) : NpgsqlCommand
request Tiraggo.Interfaces.tgDataRequest
packet Tiraggo.Interfaces.tgEntitySavePacket
return Npgsql.NpgsqlCommand

BuildStoredProcUpdateCommand() public static method

public static BuildStoredProcUpdateCommand ( tgDataRequest request, tgEntitySavePacket packet ) : NpgsqlCommand
request Tiraggo.Interfaces.tgDataRequest
packet Tiraggo.Interfaces.tgEntitySavePacket
return Npgsql.NpgsqlCommand

CheckForConcurrencyException() public static method

public static CheckForConcurrencyException ( NpgsqlException ex ) : tgConcurrencyException
ex Npgsql.NpgsqlException
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 ( NpgsqlCommand cmd, tgDataRequest request, tgDataResponse response ) : void
cmd Npgsql.NpgsqlCommand
request Tiraggo.Interfaces.tgDataRequest
response Tiraggo.Interfaces.tgDataResponse
return void

PopulateStoredProcParameters() public static method

public static PopulateStoredProcParameters ( NpgsqlCommand cmd, tgDataRequest request, tgEntitySavePacket packet ) : void
cmd Npgsql.NpgsqlCommand
request Tiraggo.Interfaces.tgDataRequest
packet Tiraggo.Interfaces.tgEntitySavePacket
return void