Page 1 of 1

Problem with dcOracleDataSetGenerator

Posted: Wed 05 May 2010 12:27
by jboekhoff
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".
Sample

Code: Select all

 [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        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);
            base.Tables.Add(this.tableQPD_VRE1OBJVERZ);
        }
Is there already a fix to this issue?

Posted: Thu 06 May 2010 13:57
by StanislavK
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.