Update of /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient.UnitTests/source
In directory sc8-pr-cvs1:/tmp/cvs-serv944
Modified Files:
PgCommandBuilderTest.cs PgCommandTest.cs
Log Message:
Added stored procedure execution using only the sp name.
Index: PgCommandBuilderTest.cs
===================================================================
RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient.UnitTests/source/PgCommandBuilderTest.cs,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** PgCommandBuilderTest.cs 2 Aug 2003 19:43:03 -0000 1.1.1.1
--- PgCommandBuilderTest.cs 15 Aug 2003 17:51:20 -0000 1.2
***************
*** 130,134 ****
PgCommandBuilder builder = new PgCommandBuilder();
! PgCommand command = new PgCommand("DeriveCount(10)", Connection);
command.CommandType = CommandType.StoredProcedure;
--- 130,134 ----
PgCommandBuilder builder = new PgCommandBuilder();
! PgCommand command = new PgCommand("DeriveCount", Connection);
command.CommandType = CommandType.StoredProcedure;
Index: PgCommandTest.cs
===================================================================
RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient.UnitTests/source/PgCommandTest.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** PgCommandTest.cs 3 Aug 2003 12:00:25 -0000 1.2
--- PgCommandTest.cs 15 Aug 2003 17:51:20 -0000 1.3
***************
*** 155,159 ****
public void ExecuteStoredProcTest()
{
! PgCommand command = new PgCommand("TestCount()", Connection);
command.CommandType = CommandType.StoredProcedure;
--- 155,159 ----
public void ExecuteStoredProcTest()
{
! PgCommand command = new PgCommand("TestCount", Connection);
command.CommandType = CommandType.StoredProcedure;
|