Castle Project ActiveRecord - can it use stored procedures with SQLServer 2005?

懵懂的女人 提交于 2019-12-19 10:46:19

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/956116/castle-project-activerecord-can-it-use-stored-procedures-with-sqlserver-2005

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!