Fluent NHibernate IDictionary with composite element mapping
- by Alessandro Di Lello
Hi there,
i have these 2 classes:
public class Category
{
IDictionary<string, CategoryResorce> _resources;
}
public class CategoryResource
{
public virtual string Name { get; set; }
public virtual string Description { get; set; }
}
and this is xml mapping
…