Castle Project ActiveRecord - 它可以在 SQLServer 2005 中使用存储过程吗?

发布于 2024-07-23 05:12:36 字数 190 浏览 3 评论 0原文

我是 Castle 项目 ActiveRecord 的新手。 我已经开始动手,我刚刚看到它可以为您生成模式、添加数据、将数据更新到模式。

在 SQL Server 2005 中使用存储过程有很多优点,其中之一是它们是预编译的。

在向模式插入/编辑数据时,有没有办法告诉 Active Records 使用特定的存储过程?

I am new to Castle Project ActiveRecord.
I have starting getting my hands dirty and I just seen that It can generate for you the schema, add data, update data to the schema.

There are advantages of using stored procedures in SQL Server 2005, one of them being they are precompiled.

Is there a way of telling Active Records to use a particular stored procedure when inserting/editing data to the schema?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

臻嫒无言 2024-07-30 05:12:36

ActiveRecord 使用 NHibernate。 有关如何使用存储过程的信息,请参阅此处:

http:// /ayende.com/Blog/archive/2006/09/18/UsingNHibernateWithStoredProcedures.aspx

ActiveRecord uses NHibernate. See here for information on how to use stored procedures with it:

http://ayende.com/Blog/archive/2006/09/18/UsingNHibernateWithStoredProcedures.aspx

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文