Home
Help
Register
Log in

Search

 
   Active Threads  

You are here: Home > LLBLGen Pro > LLBLGen Pro Runtime Framework> Bridging Entity
 

Pages: 1
LLBLGen Pro Runtime Framework
Bridging Entity
Page:1/1 

  Print all messages in this thread  
Poster Message
CliffH
User



Location:

Joined on:
03-May-2006 14:27:07
Posted:
52 posts
# Posted on: 01-Jun-2006 10:44:12.  
I have a passenger entity collection and a service entity collection.
Both get added to a Booking entity

I have a bridging entity ServicePassenger containing columns Passenger_ID and Service_ID.

Passengers are assigned to each service on a booking.

When I save, do I have to add ServicePassenger to both the Passenger and Service entities. Obviously Passengers and Service need to be created before the necessary identity column values to be retrieved for ServicePassenger.Passenger_ID and SericePassenger.Passenger_ID.

Any suggestions.
  Top
Walaa
Support Team



Location:

Joined on:
21-Aug-2005 16:03:48
Posted:
14524 posts
# Posted on: 01-Jun-2006 16:49:45.  
Please check the sample code provided for the following question "How do I create a m:n relation between two entity objects?"
In the LLBLGen Pro documentation manual, under "Best practises - How do I ... ?" section


  Top
CliffH
User



Location:

Joined on:
03-May-2006 14:27:07
Posted:
52 posts
# Posted on: 02-Jun-2006 07:53:53.  
Thanks Walaa, works fine.
  Top
Pages: 1  


Powered by HnD ©2002-2007 Solutions Design
HnD uses LLBLGen Pro

Version: 2.1.12172008 Final.