How to specify table name in Fluent NHibernate ClassMap class?
Use Table(“table_name”) instead.
Use Table(“table_name”) instead.
The wiki is your best bet. I’ve had a few Fluent NHibernate posts on my blog, but most of that content is mirrored on the wiki anyway.
There’s a CompositeId method. public class EntityMap : ClassMap<Entity> { public EntityMap() { CompositeId() .KeyProperty(x => x.Something) .KeyReference(x => x.SomethingElse); } }