Hi,
I need to do this HQL:
i have 2 tables: Project(ProjectId, Name) and Users(userId, Name) and a Many to Many relation.
1 project have many users and 1 user have many projects.
this results in a other table: ProjectUser(id, ProjectId, userId)
this structure already is mounted in the Active Record and nHibernate.
i'm using Active Record with nHibernate and im trying to verify if a user is a project's member. I try with ExecuteScalar(@"Select COUNT(*) From ... Join ...); but this dont work...
I need Help please!
|