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

时间:2022-09-11 17:13:59

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.

我是Castle Project ActiveRecord的新手。我已经开始弄脏手了,我刚看到它可以为您生成架构,添加数据,更新数据到架构。

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

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

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

有没有办法告诉Active Records在插入/编辑数据到架构时使用特定的存储过程?

1 个解决方案

#1


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

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

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

#1


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

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

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