开发者

How to retrieve data from database using nhibernate

I am using VS 2010, SQL 2008 with nhibernate to perform database operations.

I know that we can use hbm.xml file to join 2 or more tables. I want to know how to make use of this file in retrieving the data by using 开发者_JAVA技巧the joins specified in this file?

Pls help me. Or any link which gives me info on this.

Thanks, Pavan


It sounds like you need to read over the nhibernate documentation. The first few sections give a rough overview of how hbm files map to POCOs (objects) and your database.

You should also read the Getting Started Guide on nhibernate.info. These will answer your somewhat vague question above.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜