0

I have two stored procedure with "same name" but different functionality in different database.

Suppose I have two database named DB1 & DB2. In DB1 stored procedure contains 7 parameteres and DB2 contains 11 parameters.

So how can i get stored procedure parameteres count using C#. By using Count I can add condition for both different databases.

Suhaib Janjua
  • 3,538
  • 16
  • 59
  • 73
Amit Kumar
  • 1,059
  • 3
  • 22
  • 43
  • possible duplicate of [How can I retrieve a list of parameters from a stored procedure in SQL Server](http://stackoverflow.com/questions/33761/how-can-i-retrieve-a-list-of-parameters-from-a-stored-procedure-in-sql-server) – Steve Mar 06 '14 at 09:41
  • 1
    I am using session for getting connection string.using nhibernate ORM – Amit Kumar Mar 06 '14 at 09:43