Convert MER (Entity Relationship Model) diagram to VB.NET or C#

Asked

Viewed 1,367 times

3

I developed the diagram of the tables of the layout of the XML of Nfe, are 58 tables with its relationships. I would like to generate the classes automatically from the diagram or it can be through the database as well. Is there any tool for this?

DER

  • 2

    Taking advantage of the "that’s it" sequence of Paulo Henrique, you’re using DOUBLE for monetary values, is that it? I hope it’s just a college exercise or something. Although it is not the same language, understand the problems here: http://answall.com/a/118418/70

1 answer

4


How about use Visual Studio same? Even because it seems to have been done in it. I know that it generates for C#. I do not know about VB.NET, although I have how to convert. It seems to me that this feature is not available in all editions of VS.

Can be done in Microsoft Visio.

If you have to do it in other software it will be so much work that writing the code in hand will be more advantageous. Some software can read the diagram created in VS. This is the case of Visual Paradigm.

Has the Nclass that is open souce, or the Argouml, or the Model.

Still has the Umodel and the Enterprise Architect.

Of course, it is of little use to generate the code if the diagram has crucial errors. As Bacco even said in comment I hope that this is an exercise and not fiscal in fact. Although after so much work, even being an exercise, have a serious error is not legal. If it is for tax use is very serious.

Can’t use double for monetary value. This causes huge losses to companies, including fines. It takes a lot of responsibility to program.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.