如何使用fluentnhibernate约定将<string>自动化为单个字段</string>

时间:2011-12-19 17:17:03

标签: fluent-nhibernate automapping

我想在这里使用约定自动执行解决方案。我该怎么做呢? Fluent NHibernate automap list of strings with nvarchar(max)

我想我会以这种方式使用我想要存储的属性的属性,但我愿意接受建议。

1 个答案:

答案 0 :(得分:0)

发现这个: How do you automap List<float> or float[] with Fluent NHibernate?

看起来我可以通过使用字符串[]而不是IList

来完成我需要的工作