Click here to Skip to main content
15,881,600 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When I develop a software for the company I came across a problem.I think I need to have some clarification on that.So I wrote this and if someone has this kind of question then this post will help you.

Ok let's start my question,

I will explain from the beginning of my question,

After I draw the Use case diagram then I start to draw the class diagram of my system, after that make the ER diagram for my system.

after all I tried to implement this system in my VS IDE.I create the SQL table structure according with My ER diagram which I already drew.after that I make Object relational mapping for sql.

Then my problem arose.My class diagram and the ORM class diagram both are alike.(not 100%).So I am thinking that "am I do the class diagram repeated?".because ORM class done most of the things for me so why do I implement other class diagrams ?(which is my class diagram when I start of design the software)

I am sure I have miss concept something somewhere and if you feel that you can help me highly appreciate.

thank you.
Posted

1 solution

Your system model is your domain model, which consists of classes from your business model.

The ORM model or the application model is the set of POCO (Plain old CLR objects) classes which holds the application entities.

I feel, in general, they should be similar (or same).

From the architectural point of view your system class diagram should be enough to explain the business entities. ANd if they are same as your ORM entitis, you may choose not to make the same diagram again.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900