Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Many to Many Relationship
Message
 
À
23/04/2008 18:52:34
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01312782
Message ID:
01312797
Vues:
18
Michael,

>I am working on a Many to Many relationship similar to the User roles bit in the example in the Manual. But I seem to be having a mental discunect with the idea of not needing an BO for the pivot table, can someone give me a small example of how you do this??

Basically, you can create one business object for each side of the many-to-many relationship, then select one of those business objects to be the “keeper” of the link table. Check out the User and Role business objects in the Mere Mortals Framework project to see an example of this.

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform