[fluent-nhib] Ternary association table and AsMap()

2009-04-16 Thread Romain Verdier
Hello, I have 3 tables: TUser(PK int id, string name, ...) TGroup(PK int id, string name, ...) TRole(PK int id, string name, ...) plus a 4th one that associates them: TUserGroupRole(FK int userid, FK int groupid, FK int roleid) I have 3 types in my model : User, UserGroup, and UserRole I wa

[fluent-nhib] How to ignore a base class?

2009-01-30 Thread Romain Verdier
Hello there, Using auto-mapping, how to ignore a base class that exists only in the model, and that we don't want in the database? The need is the same that for the typical base type all our entities derive from, (that we specify using Conventions.IsBaseType property) except that it only concern