NetSqlAzMan & Nhibernate

Jun 15, 2010 at 11:45 PM

I have an application that is using netsqlazman for security concerns.  I would like to be able to map the netsqlazman tables to a user table that exists in the application.  The user table has the SID, and would link to AuthorizationsTable via objectSid.  The problem is nhibernate gives me an error about using a binary object for an ID.  Has anyone else dealt with this problem?  Is there anyway to resolve?

 

David Guthu

Coordinator
Jun 21, 2010 at 11:47 AM

Never used NHibernate.

Have you tried using it without NHibernate ?

__________________________________
Andrea Ferendeles
NetSqlAzMan Project Coordinator
E-mail aferende@hotmail.com Web http://netsqlazman.codeplex.com

Jun 24, 2010 at 3:54 PM
Hi Andrea, What I ended up doing, hopefully as a temporary solution, was create a view which has a subquery which grabs my userid (primary key on the user table) from the database table I store users in. I use that to link my User Objects to the authorizations table. Seems like there has to be a better way though. NHibernate doesn't allow joining objects using a varbinary field... Maybe there is a way to make this possible... David