|
|
1
0
设计 时间。我已经有一段时间没有使用NHibernate了,但是有没有一种方法可以用如下语法插入实体:
编辑: 或
|
|
|
2
0
这个链接应该对你有帮助 http://todotnet.com/post/2006/11/13/Instantiating-Generic-Types-at-runtime.aspx
http://www.victorchen.info/call-static-method-with-a-string-name/
(实际上我还没有试过这个,但理论上我认为它应该会起作用) |