Untitled

There are 1 entries for the tag Untitled

Multi-Table Entity Support for ActiveRecord

NHibernate supports the ability to map a single entity to multiple tables. Now I know this is not encouraged, but it is sometimes necessary. I just started a project in which the existing code base uses the ASP.NET Membership Provider. The existing software uses ActiveRecord and wanted to represent the concept of a user with several fields for the membership database. The user in the membership database is spread over several tables so the ActveRecord model used had lots of formulas which really smelled. To understand what NHibernate can do, Ayende has a really nice post on this subject. To avoid the...

Copyright © Craig

Design by Bartosz Brzezinski

Design by Phil Haack Based On A Design By Bartosz Brzezinski