Book a Demo

Author Topic: ADO.NET Dataset reversed  (Read 5801 times)

rescobar

  • EA User
  • **
  • Posts: 69
  • Karma: +0/-0
  • Viva Bolivia
    • View Profile
ADO.NET Dataset reversed
« on: February 06, 2003, 10:42:16 am »
I don't know if this is a bug.
When you reverse a Dataset created in a Web Service Visual.NET project, the first datatable in the dataset is not reversed properly. All the following tables are created ok (EventsArgs -- DataRow - DataTable).
Any experience about it?
Regards
Sergio
Sergio Escobar
[email protected]

abeljda

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: ADO.NET Dataset reversed
« Reply #1 on: February 20, 2003, 08:10:17 am »
We are just getting into EA, and we will be using ASP.Net and VB.Net, reverse engineering our code to keep our model current with our applications. Have you had any luck/problems in doing so? Looks like you have been using DataSets and DataTables, which is what I am trying to model right now. Any insight as to what you have run into? Thanks

KFTL

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: ADO.NET Dataset reversed
« Reply #2 on: February 25, 2003, 07:31:10 am »
What do you mean that the first datatable is not reversed property?  I am using build 602 and when I reverse engineer a typed dataset, I have no problems.

What build are you using and what are the exact problems?

rescobar

  • EA User
  • **
  • Posts: 69
  • Karma: +0/-0
  • Viva Bolivia
    • View Profile
Re: ADO.NET Dataset reversed
« Reply #3 on: February 25, 2003, 08:08:58 am »
I used build 602. The problem is still there. The problem is when you add a dataset to the webservice. After that you drop your tables into the dataset (or you can create the datatables directly). The first table you create does not appear in the model with an association to the dataset. I have to add a "dummy" table in order that all the rest should be created with association. I delete this dummy table from the model and that's it.
I think that nevertheless there is a workaround there is a bug there.
Please let me know how your are getting right reverse engineering.
Sergio Escobar
[email protected]

KFTL

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: ADO.NET Dataset reversed
« Reply #4 on: February 25, 2003, 08:28:02 am »
It appears to be a bug with the VB.NET reverse engine code.  The C# version, which I tested with first, does not have this issue.

Other than the work around that you stated in your previous post, you could generate the dataset using C#, reverse engineer it and then change the class model to VB.NET.  It is nasty but hopefully it will be fixed in an upcoming release.  

I have reported the bug.