开发者

NHibernate mapping in Asp.Net using MySql

I'm new to NHibernate. Actually I'm trying to save the values ffrom two text boxes into MySql Database in asp.Net page. I that开发者_运维技巧 I got "Resource not found: WebApplication1.Sample.hbm.xml" error. But I can't fix this error. Can anyone help me to fix this one?


That sounds like the error you get if you do not set your hbm's Build Action to Embedded Resource.

Step by step for build action

EDIT References to set to Copy Local = True

  • Castle.Core
  • Castle.DynamicProxy2
  • Iesi.Collections
  • NHibernate
  • NHibernate.ByteCode.Castle
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜