04 2010 档案
摘要: 一直为在单元测试中测试mapping很纠结。现在用SQL Lite,不纠结了。 首先这里SQL Lite,然后编写config文件,如下 其中,要留意一下driver_class项,如果使用我提供的SQL Lite,就必须使用 NHibernate.Driver.SQLite2...
阅读全文
摘要:Mapping 错误:1) Could not determine type for:Namespance.Class,AssemblyName, for columns: NHibernate.Mapping.Column(ColumnName)通常是Mapping中的 type attribute设定错误,在Assembly找不到。如<property name="PropertyNam...
阅读全文


浙公网安备 33010602011771号