I've updated the NHibernate blog example code to include a custom profile provider. This provider stores the profile information using the XML data type in SQL Server 2005. New profile properties can be added to the web.config file in same way as the Microsoft SqlProfileProvider. The included web.config contains examples showing how to add new properties and their types. If adding a custom type be sure to include the full type name (i.e. NHBlog.BusinessEntities.Security.Application.).
The example now includes custom NHibernate based providers for Membership, Roles, and Profiles.
08-09-2007 8:29 AM