Castle Project ActiveRecord - 它可以在 SQLServer 2005 中使用存储过程吗?
我是 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
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