Try this: http://nmg.codeplex.com/
It will generate the mappings based on your schema. Most NH aficionados are
heavily into creating the db from your mappings, but when you have a
brownfield project, that might not be an option. NMG will get you up and
running and generate most of your mappings, b
How about this one? (what are your domain classes exactly)
var list = session.QueryOver()
.Fetch(x => x.Children).Eager
.Where(x => x.Parent == null)
.TransformUsing(NHibernate.Transform.Transformers.DistinctRootEntity)
ActiveWriter is for ActiveRecord attribute mapppings not FNH.
For FNH if you want to minimize the code you write, you should check mapping
by convention, or -in FNH words- Automapping.
With Automapping FNH can do all the mapping for the classes you want without
you writing anything almost. You ju
Hi all,
Are there any VS addins similar to NHibernate designer which have a visual
designer for Fluet NHibernate mappings?
I was pointed to ActiveWriter but development appears to have stopped...
Thanks in advance.
--
Regards,
James Darbyshire
jamesdarbysh...@gmail.com
--
You received this
I am exploring FluentNHibernate with NHibernate 3.0 and have run into
an issue that I'm hoping can be resolved easily either by a change in
how I'm doing something or an updated build somewhere.
Using the following fluent configuration:
SessionFactory = Fluently.Configure()
.Cache(c => c
Hi all,
Does Fluent NHibernate work on Mono under Mac OSX? Is the build broken?
I was under the impression that it should do, however when I try to build
the cloned source from github I get 6 errors:
/Users/jdarbyshire/Documents/git/fluent-nhibernate/src/FluentNHibernate/Conventions/Instances/IC