Page 1 of 1

OracleDataAdapter and MissingSchemaAction

Posted: Tue 21 May 2013 13:59
by chamamo
Hi,

I have Oracle Database, and one table with 2 columns (col1, col2);
In my solution I have a DataTable to represente the table, but it have just the first colomn (col1).

Code: Select all

var cmd = new OracleCommande();
cmd.CommandText = "SELECT * FROM MyTable";
cmd.Connection = new OracleConnection(MyConnectionString);

var dta = new OracleDataAdapter();
dta.SelectCommand = cmd;
dta.MissingSchemaAction = MissingSchemaAction.Ignore;
dta.Fill(dataTable);
I changed the MissingSchemaAction to MissingSchemaAction .Ignore to ignore the second colomn, but the adapter add it, have you a solution to my problem?

thank you in advance.

Re: OracleDataAdapter and MissingSchemaAction

Posted: Thu 23 May 2013 13:35
by Pinturiccio
We have reproduced the issue. We will investigate it and notify you about the results as soon as possible.

Re: OracleDataAdapter and MissingSchemaAction

Posted: Tue 02 Jul 2013 13:55
by Pinturiccio
We have fixed the bug with the malfunctioning MissingSchemaAction property of OracleDataAdapter. We will post here when the corresponding build of dotConnect for Oracle is available for download.

Re: OracleDataAdapter and MissingSchemaAction

Posted: Wed 03 Jul 2013 11:55
by Pinturiccio
The new build of dotConnect for Oracle 7.7.276 is available for download now!
It can be downloaded from http://www.devart.com/dotconnect/oracle/download.html (trial version) or from Registered Users' Area (for users with valid subscription only).
For more information, please refer to http://forums.devart.com/viewtopic.php?t=27462