數(shù)據(jù)庫定義如下字段[test] timestamp; 如何定義映射: <property name="Test" column=test" type=“?”/>又如何定義實體類中的類型?Datatime Test;?已試過如何組合:Nhibernate type=“Timestamp”, Net type:datetime;可以插入數(shù)據(jù),但取不出數(shù)據(jù),提示數(shù)據(jù)類型不匹配。
- 2 回答
- 0 關(guān)注
- 726 瀏覽
添加回答
舉報
0/150
提交
取消