[pgsqlclient-checkins] pgsqlclient/PostgreSql.Data.PGSqlClient.UnitTests/source PGCommandBuilderTest
Status: Inactive
Brought to you by:
carlosga_fb
From: <car...@us...> - 2003-07-30 18:57:30
|
Update of /cvsroot/pgsqlclient/pgsqlclient/PostgreSql.Data.PGSqlClient.UnitTests/source In directory sc8-pr-cvs1:/tmp/cvs-serv6501 Modified Files: PGCommandBuilderTest.cs Log Message: Fixed handling of expression columns at checkSchemaTable method Index: PGCommandBuilderTest.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient/PostgreSql.Data.PGSqlClient.UnitTests/source/PGCommandBuilderTest.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** PGCommandBuilderTest.cs 30 Jul 2003 18:40:30 -0000 1.1 --- PGCommandBuilderTest.cs 30 Jul 2003 18:54:36 -0000 1.2 *************** *** 92,96 **** Console.WriteLine(builder.GetDeleteCommand().CommandText); ! adapter.SelectCommand.CommandText = "select int4_field, date_field from TEST_TABLE_01 where int4_field = @int4_field"; builder.RefreshSchema(); --- 92,96 ---- Console.WriteLine(builder.GetDeleteCommand().CommandText); ! adapter.SelectCommand.CommandText = "select int4_field, date_field from public.test_table where int4_field = @int4_field"; builder.RefreshSchema(); *************** *** 111,115 **** public void CommandBuilderWithExpressionFieldTest() { ! PGCommand command = new PGCommand("select *, o AS EXPR_VALUE from public.test_table where int4_field = @int4_field and varchar_field = @varchar_field", Connection); PGDataAdapter adapter = new PGDataAdapter(command); PGCommandBuilder builder = new PGCommandBuilder(adapter); --- 111,115 ---- public void CommandBuilderWithExpressionFieldTest() { ! PGCommand command = new PGCommand("select public.test_table.*, 0 AS EXPR_VALUE from public.test_table where int4_field = @int4_field and varchar_field = @varchar_field", Connection); PGDataAdapter adapter = new PGDataAdapter(command); PGCommandBuilder builder = new PGCommandBuilder(adapter); |