首页 新闻 会员 周边 捐助

NHibernate 使用视图

0
悬赏园豆:20 [已关闭问题]

数据库有两个表user和 photo 1对多的关系 创建视图 view_user_photo

但是查询的时候总是报

could not update: [SuperMan.Model.Entities.view_user_photo#2][SQL: UPDATE view_user_photo SET city = ?, createtime = ?, day = ?, email = ?, Expr1 = ?, isok = ?, logintime = ?, meigui_money = ?, meili = ?, money = ?, month = ?, nickname = ?, password = ?, photoid = ?, photonumber = ?, photopath = ?, province = ?, question = ?, regtype = ?, sex = ?, userid = ?, username = ?, vip = ?, year = ?, answer = ? WHERE userid = ?]

应该怎么解决

 

问题补充: 我是查询报的这样的错误,我很奇怪为什么查询会报这种错误,呵呵
程序小强的主页 程序小强 | 初学一级 | 园豆:0
提问于:2009-10-19 09:56
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册