如何映射字典與FluentNHibernate?如何映射IDictionary <Enum, bool>?
IDictionary<SomeEnum, bool>
和..
IDictionary<string, bool>
?
喜歡:
public class SomeClass
{
public int Id {get;set;}
public IDictionary<SomeEnum, bool> Dictionary2 {get;set;}
public IDictionary<string, bool> Dictionary1 {get;set;}
}
我怎樣才能在第二種情況下映射一個'Enum'爲'string'? –