I\'m new to NHibernate and Fluent NHibernate.
Assuming I have a situation like the following
Table Activities (uniquidentier ID, varchar ActivityName)
Ta
This seems helpful.
Theoretically it should look like:
public class ActivityClassMap : ClassMap
{
...
HasMany(x => x.ActivityParameters)
.AsMap(x=>x.NameOfParameterOrWhatever)
.KeyColumnNames.Add("ParameterId");
...
}
But that's just a small investigation through google - I didn't try this in practice.
P.s. don't forget to pick up the newest version.