Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#
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 20-Apr-13 18:30pm

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  

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

  Print Answers RSS
0 Maciej Los 315
1 OriginalGriff 273
2 Aajmot Sk 224
3 Marcin Kozub 210
4 Richard MacCutchan 200
0 OriginalGriff 7,853
1 Sergey Alexandrovich Kryukov 7,107
2 DamithSL 5,604
3 Manas Bhardwaj 4,986
4 Maciej Los 4,790


Advertise | Privacy | Mobile
Web01 | 2.8.1411023.1 | Last Updated 21 Apr 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100