开发者

NHibernate 3.2 Mapping by convention (code) stored procedure

开发者 https://www.devze.com 2023-04-11 08:52 出处:网络
How can I ma开发者_运维百科p a stored procedure using mapping by convention or mapping by code?

How can I ma开发者_运维百科p a stored procedure using mapping by convention or mapping by code?

If it is not possible then how to map it by hbm and include it into configuration done by Mapping by convention?


Nhibernate 3.2 allows you to mix your mappings; that is you can use the mapping by code syntax and still have your old hbm.xml files.

See this blog post to find out how.

For mapping a stored procedure then I recommend reading this nhibernate.info Blog post.

0

精彩评论

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