Hi,
I like very much the new mapping by code in nhibernate 3.2.
What I don't know is this:
I have build a mapping for my class like this:
public class test:ClassMapping<Application>
{
public test()
{
Id(x=>x.Id, map=> map.Generator(Generators.GuidComb));
Property(x=>x.Description,
map=>map.Column("Description"));
}
}
How to add this mapping to the NHibernate.Cfg.Configuration so it can
be compiled when SessionFactory is build?
thanks
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/nhusers?hl=en.