[pgsqlclient-checkins] pgsqlclient/PostgreSql.Data.PGSqlClient/source PGCommandBuilder.cs,1.5,1.6
Status: Inactive
Brought to you by:
carlosga_fb
From: <car...@us...> - 2003-07-30 19:12:23
|
Update of /cvsroot/pgsqlclient/pgsqlclient/PostgreSql.Data.PGSqlClient/source In directory sc8-pr-cvs1:/tmp/cvs-serv6561 Modified Files: PGCommandBuilder.cs Log Message: Fixed handling of expression columns at checkSchemaTable method Index: PGCommandBuilder.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient/PostgreSql.Data.PGSqlClient/source/PGCommandBuilder.cs,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** PGCommandBuilder.cs 30 Jul 2003 17:36:08 -0000 1.5 --- PGCommandBuilder.cs 30 Jul 2003 18:54:56 -0000 1.6 *************** *** 646,651 **** (string)schemaRow["BaseTableName"]; } ! if (tableName != (string)schemaRow["BaseSchemaName"] + "." + (string)schemaRow["BaseTableName"] && ! !(bool)schemaRow["IsExpression"]) { throw new InvalidOperationException("Dynamic SQL generation is not supported against multiple base tables."); --- 646,650 ---- (string)schemaRow["BaseTableName"]; } ! if (!(bool)schemaRow["IsExpression"] && tableName != (string)schemaRow["BaseSchemaName"] + "." + (string)schemaRow["BaseTableName"]) { throw new InvalidOperationException("Dynamic SQL generation is not supported against multiple base tables."); |