Meaning of "use provider specific code" in dataset wizard

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
matthieu de graaf
Posts: 18
Joined: Wed 14 May 2008 12:13

Meaning of "use provider specific code" in dataset wizard

Post by matthieu de graaf » Fri 29 Aug 2008 06:00

Hi,

I'm working with Oradirect 4.75.40.0 with MS Visual Studio 2008.

1)
Can you explain the meaning of the "use provider specific code generator" in the dataset wizard? I've noticed that only by unchecking this checkbox code for tableadapters is generated. The checked (default) value leads to no tableadapter code. In this case, do you have to write it yourself. It's a little bit confusing because a tableadapter is always shown in the dataset designer window.

2) My generated datasets don't show up in the dataset manager. Even a dataset I create in the dataset manager doesn't show up. Why?

Regards,

Matthieu de Graaf

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Fri 29 Aug 2008 14:24

If you check option "use provider specific code generator" in DataSet Wizard, the generated DataSet's type is CoreLab.Oracle.OracleDataSet. It uses CoreLab.Oracle.OracleDataTable objects instead of System.Data.DataTable. Otherwise, Devart DataSet Wizard generates the System.Data.DataSet with System.Data.DataTables and TableAdapters.

Devart classes provide more flexibility and convenience for users, and there is no more need in the TableAdapters - their functionality is incapsulated in the OracleDataTable class.

DataSet Manager supports only CoreLab.Oracle.OracleDataSet instances.

Post Reply