Hi Folks,
I'm using NHibernate and I map my objects directly with attributes. I've seen similar questions but most of the case people use mapping files... or they give answers with links that don't exist anymore :) For the following class, which attributes do I have to add for the property Table which is a IDictionary? I guess it's something like [Map] but with which attributes and/or elements? Where could I find some documentation?
[Class(Table = "SpecificitySets", Name = "ZslSpecificityTable")]
public class SpecificityTable
{
[Id(0, TypeType = typeof(ulong), Name = "Id")]
[Generator(1, Class = "native")]
public uint Id
[Map(Name = "specificityMapping", Table = "SpecificityMapping")]
// and then ??
public virtual IDictionary<string, double> Table { get; private set; }
// ...
}