0
votes
Vote UpVote

Spending time with Fluent NHibernate (Part 2): Our first Relationship

Hadi's Delphi Blog – In the first part of this series, we saw the basics of what Fluent NHibernate is about. In this second part, we're going to look into relationships and some of the mappings that FNH produces for us, as well as overriding certain mappings.   Relationships Let's say we have a new requirement that requires all customers to have multiple documents associated with them. In terms of a relational database world, if we were to have two tables, one representing customers, and the other documents, the result would be:   There would be a foreign key in Document pointing to the ...
Favorite? Off-Topic? fsdfdsfdsds @ 2009-03-30 11:19

Statistics

Visits: 17
Votes: 0
Favorites: 0
Off-Topic: 1

Visits by Source

User Actions

Users who voted for this posting

Subscribe:
SmartInspect Delphi Logging
Contact us to advertise on DelphiFeeds.com

Community Links

Delphi Tage Torry Firebird News

Sponsor

SmartInspect Delphi Logging
 
Please login or register to use this functionality.
(click on this box to dismiss)