Problem with dcOracleDataSetGenerator

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
Posts: 1
Joined: Wed 05 May 2010 12:17

Problem with dcOracleDataSetGenerator

Post by jboekhoff » Wed 05 May 2010 12:27

I'm using dotConnect for Oracle 5.60 within VS2010. The code generated by dcOracleDataSetGenerator produces an error within InitClass() of a Dataset: The designer calls the constructor of a table with the connection as parameter. There is only one overload of the table constructor taking a param. And that would like to should be of type "DataTable".

Code: Select all

        private void InitClass() {
            this.DataSetName = "DataSet1";
            this.Prefix = "";
            this.EnforceConstraints = true;
            this.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
            this.tableQPD_VRE1OBJVERZ = new QPD_VRE1OBJVERZDataTable(this.Connection);
Is there already a fix to this issue?

Devart Team
Posts: 1710
Joined: Thu 03 Dec 2009 10:48

Post by StanislavK » Thu 06 May 2010 13:57

Please specify whether you are using Devart DataSet Wizard (Tools -> Oracle -> DataSet Wizard in the Visual Studio main menu) or MS DataSet Wizard (Add New Item -> Data -> DataSet in Solution Explorer). If possible, please send us the definition of database objects used in the dataset and the generated DataSet.Designer.cs file.

We couldn't reproduce the problem. In our wizard, the typed DataTable constructor with the OracleConnection parameter was generated; in the MS wizard, the DataTable constructor was called without parameters.

Post Reply