Here an example:
Bag(x => x.ManyToManyCollection , map => { map.Table("many_to_many_table_name"); map.Lazy(CollectionLazy.Lazy); map.Key(k => k.Column("child_key_column")); } , action => action.ManyToMany(m => m.Column("parent_key_column")));
Happy mapping! ^^
No comments:
Post a Comment