What is the equivalent NHibernate Code Mapping for the following Fluent NHibernate code:
Map(x => x.Orders).Access.CamelCaseField(Prefix.Underscore); <
Map(x => x.Orders).Access.CamelCaseField(Prefix.Underscore);
You can just use a naming strategy:
cfg.SetNamingStrategy(myStrategy);
Where myStrategy is an implementation of INamingStrategy. See my blog post at https://weblogs.asp.net/ricardoperes/nhibernate-conventions
myStrategy
INamingStrategy