| | |
Many-to-Many Relationships in O/R Mapping
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: May 2005
Posts: 6
Reputation:
Solved Threads: 0
If you are developing an object oriented .NET application that has to talk to a database, you'll inevitably map objects to a relational model. And, most likely you'll face situations where many-to-many relationships exist in your database. This article describes how you can handle many-to-many relationships in O/R mapping.
Most .NET applications are object oriented and at the same time they have to deal with relational databases. This creates a difficulty for the developers because they have to figure out how to map their objects to the tables in the database. Sometime, there is a one to one mapping between an object and a table and at other times, one object may consist of data from multiple tables or subset of data from one table.
The most important thing one can achieve in O/R Mapping is to capture the logical data model design in the object model of the application. This makes it really easy to design, develop, and later maintain this object model. We'll try to follow this rule when mapping many-to-many relationships to objects.
Please read the complete article at http://www.alachisoft.com/rp.php?sou...tionships.html
Most .NET applications are object oriented and at the same time they have to deal with relational databases. This creates a difficulty for the developers because they have to figure out how to map their objects to the tables in the database. Sometime, there is a one to one mapping between an object and a table and at other times, one object may consist of data from multiple tables or subset of data from one table.
The most important thing one can achieve in O/R Mapping is to capture the logical data model design in the object model of the application. This makes it really easy to design, develop, and later maintain this object model. We'll try to follow this rule when mapping many-to-many relationships to objects.
Please read the complete article at http://www.alachisoft.com/rp.php?sou...tionships.html
![]() |
Similar Threads
- Word Association Game (Posting Games)
- Mapping a drive between WinXP VMware host and Win98SE guest? (Windows NT / 2000 / XP)
- Network Mapping (Networking Hardware Configuration)
- mouse button mapping (Getting Started and Choosing a Distro)
- Rapidly Develop .NET Applications with O/R Mapping (Post your Resume)
- Cities and Districts DataBase - Basic Question (Database Design)
- Mapping Network Drives (Windows NT / 2000 / XP)
- recommendations 4 a 3D graphics prog? (Graphics and Multimedia)
Other Threads in the ASP.NET Forum
- Previous Thread: ASP.NET Crystal Report ODBC MySQL
- Next Thread: IIS Installation
| Thread Tools | Search this Thread |
.net 2.0 3.5 ajax alltypeofvideos appliances asp asp.net beginner box browser businesslogiclayer button c# cac checkbox class commonfunctions compatible content contenttype control countryselector courier dataaccesslayer database datagrid datagridview datalist deployment development dgv dialog dropdownlist dropdownmenu dynamic dynamically edit embeddingactivexcontrol fileuploader fill findcontrol flash flv formview gridview gudi iis javascript list listbox login menu microsoft mouse mssql nameisnotdeclared news novell numerical opera order panelmasterpagebuttoncontrols problem radio ratings redirect registration relationaldatabases reportemail schoolproject search security serializesmo.table sessionvariables silverlight smoobjects software sql sql-server sqlserver2005 ssl tracking treeview validatedate validation vb.net videos vista visual-studio visualstudio vs2008 web webapplications webarchitecture webdevelopment webprogramming webservice wizard xsl





