SubSonic 2.x StoredProcedure参数数据类型? [英] SubSonic 2.x StoredProcedure parameter data types?
问题描述
从我所看到的,SubSonic 2.x存储过程参数数据类型只能是System.Data.DbType类型.
From what I can see, SubSonic 2.x stored procedure parameter data types can only be of type System.Data.DbType.
是否有添加System.Data.SqlDbType的快速方法,因此我们可以使用System.Data.SqlDbType.Structured传递表-最终传递给TVP的表?
Is there a quick way to add System.Data.SqlDbType so we can use System.Data.SqlDbType.Structured to pass tables - ultimately to TVP's?
在此特定项目中,所有数据调用程序功能都可以通过StoredProcedures.cs访问.如果我们切换到3.x,它是否支持SqlDbType.Structured,如果是,是否可以无缝集成以保留当前的StoredProcedures.cs方法?
In this particular project, all data caller functions are accessed through StoredProcedures.cs. If we switched to 3.x, does it support SqlDbType.Structured, and if so, is it a seamless integration to retain the current StoredProcedures.cs methods?
推荐答案
So, I created my own solution for this - SubSonic 2.x now supports TVP's - SqlDbType.Structure / DataTables for SQL Server 2008
我对TVP缺乏回应感到惊讶,而且TVP在网络社区中的吸引力似乎很低.
I'm somewhat surprised at the lack of response to TVP's, and seemingly low traction TVP's have in online communities.
这篇关于SubSonic 2.x StoredProcedure参数数据类型?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!