摘要: return Session .CreateQuery("select from Customer c where c.Name.Firstname=:fn and c.Name.Lastname=:ln") .SetString("fn", firstname) .SetString("ln", lastname) .List();上段代码执行的时候出现引发类型为 Antlr.Runtime.NoViableAltException 的异常解决办法: 把select 去掉 阅读全文
posted @ 2012-11-07 16:58 Arthur.Wang 阅读(7241) 评论(0) 推荐(0) 编辑