Hi all,

I've been using FNH for a couple of days, and I'd like to say big
thanks for all contributors to this wonderful project.

I've been doing automapping for the most parts, and everything went
smooth until I tried to use an IDictionary<string, MyEntityClass>.
After a lot of search I realized that I had to do it manually. Still
more search (the wiki pointed me to a missing page about collection
mapping), revealed this syntax:

.Override<ListItem>(mapping => mapping.HasMany(item =>
item.Values).AsMap<string>("`index`").Cascade.AllDeleteOrphan().Access.CamelCaseField(Prefix.Underscore))

I'm writing this post mostly for others who are googling for
automapping generic dictionaries, but also in hope that this would be
implemented as automapping some day..

ulu

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibern...@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.

Reply via email to