我有两个“同名”的存储过程,但在不同的数据库中有不同的功能。
假设我有两个名为DB1 & DB2的数据库。在DB1中,存储过程包含7个参数,DB2包含11个参数。
那么,如何使用C#获得存储过程参数计数。通过使用Count,我可以为两个不同的数据库添加条件。
发布于 2014-03-06 11:57:20
下面的链接会对你有帮助,
https://web.archive.org/web/20211029043832/https://www.4guysfromrolla.com/articles/092408-1.aspx
http://adamprescott.net/2012/09/21/sqlcommandbuilder-deriveparameters/
http://blogs.lessthandot.com/index.php/datamgmt/datadesign/getting-the-list-of-parameters/
任何帮助让我知道.
https://stackoverflow.com/questions/22220454
相似问题