C# Class Tiraggo.Npgsql2Provider.Shared

Afficher le fichier Open project: BrewDawg/Tiraggo

Méthodes publiques

Méthode 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

Méthode Description
CloneParameter ( Npgsql.NpgsqlParameter p ) : Npgsql.NpgsqlParameter

Method Details

AddParameters() public static méthode

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

BuildDynamicDeleteCommand() public static méthode

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

BuildDynamicInsertCommand() public static méthode

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

BuildDynamicUpdateCommand() public static méthode

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

BuildStoredProcDeleteCommand() public static méthode

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

BuildStoredProcInsertCommand() public static méthode

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

BuildStoredProcUpdateCommand() public static méthode

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

CheckForConcurrencyException() public static méthode

public static CheckForConcurrencyException ( NpgsqlException ex ) : tgConcurrencyException
ex Npgsql.NpgsqlException
Résultat tgConcurrencyException

CreateFullName() public static méthode

public static CreateFullName ( tgDataRequest request ) : string
request Tiraggo.Interfaces.tgDataRequest
Résultat string

CreateFullName() public static méthode

public static CreateFullName ( tgDataRequest request, tgDynamicQuerySerializable query ) : string
request Tiraggo.Interfaces.tgDataRequest
query tgDynamicQuerySerializable
Résultat string

CreateFullSPName() public static méthode

public static CreateFullSPName ( tgDataRequest request, string spName ) : string
request Tiraggo.Interfaces.tgDataRequest
spName string
Résultat string

GatherReturnParameters() public static méthode

public static GatherReturnParameters ( NpgsqlCommand cmd, tgDataRequest request, tgDataResponse response ) : void
cmd Npgsql.NpgsqlCommand
request Tiraggo.Interfaces.tgDataRequest
response Tiraggo.Interfaces.tgDataResponse
Résultat void

PopulateStoredProcParameters() public static méthode

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