Saving extra information with Many To Many collection
10:47 26 Nov 2010

I am trying to build a mapping for the following problem. A Case can have multiple clients and a client can be attached to multiple Cases.

i have these mappings : Case

 Map(x => x.CaseNumber);
        References(x => x.Status).Cascade.All();
        HasManyToMany(x => x.Clients)
        .Table("CaseToClient")
        .Access.CamelCaseField(Prefix.Underscore)
        .Cascade.SaveUpdate()
        .LazyLoad();

Now my CaseToClient Table consists of Case_Id and Client_Id what i want is another column in the table with in it a boolen of the client is relevant for the case. How can i add the column so that i can write the property?

c# nhibernate fluent-nhibernate