C# Class Npgsql.Tests.TestBase

Afficher le fichier Open project: npgsql/npgsql

Méthodes protégées

Méthode Description
CreateSleepCommand ( NpgsqlConnection conn, int seconds ) : NpgsqlCommand

In PG under 9.1 you can't do SELECT pg_sleep(2) in binary because that function returns void and PG doesn't know how to transfer that. So cast to text server-side.

IsSequential ( CommandBehavior behavior ) : bool
OpenConnection ( NpgsqlConnectionStringBuilder csb ) : NpgsqlConnection
OpenConnection ( string connectionString = null ) : NpgsqlConnection
SetupLogging ( ) : void

Private Methods

Méthode Description
TestFixtureSetup ( ) : void

Method Details

CreateSleepCommand() protected static méthode

In PG under 9.1 you can't do SELECT pg_sleep(2) in binary because that function returns void and PG doesn't know how to transfer that. So cast to text server-side.
protected static CreateSleepCommand ( NpgsqlConnection conn, int seconds ) : NpgsqlCommand
conn NpgsqlConnection
seconds int
Résultat NpgsqlCommand

IsSequential() protected static méthode

protected static IsSequential ( CommandBehavior behavior ) : bool
behavior CommandBehavior
Résultat bool

OpenConnection() protected méthode

protected OpenConnection ( NpgsqlConnectionStringBuilder csb ) : NpgsqlConnection
csb NpgsqlConnectionStringBuilder
Résultat NpgsqlConnection

OpenConnection() protected méthode

protected OpenConnection ( string connectionString = null ) : NpgsqlConnection
connectionString string
Résultat NpgsqlConnection

SetupLogging() protected méthode

protected SetupLogging ( ) : void
Résultat void