存储过程或 OR 映射器? [英] Stored procedures or OR mappers?

查看:28
本文介绍了存储过程或 OR 映射器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

哪个更好?或者将和或映射器与 SP 一起使用?如果您已经有一个带有 SP 的系统,那么 OR 映射器值得吗?

Which is better? Or use and OR mapper with SP's? If you have a system with SP's already, is an OR mapper worth it?

推荐答案

我喜欢 ORM,因为您不必重新发明轮子.话虽如此,这完全取决于您的应用需求、开发风格和团队的风格.

I like ORM's because you don't have to reinvent the wheel. That being said, it completely depends on your application needs, development style and that of the team.

这个问题已经被覆盖了为什么 NHibernate 生成参数化 SQL 的速度和存储过程一样快?

这篇关于存储过程或 OR 映射器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆