Automatically retrieve parameters from a sql statement

Automatically retrieve parameters from a sql statement

Postby StefanL » Mon 19 Apr 2010 09:33

Hi

is there a way to extract the names of all used parameters from a sql-statment with dotConnect?

Thanks
Stefan
StefanL
 
Posts: 5
Joined: Mon 05 Jan 2009 13:52

Postby Shalex » Tue 20 Apr 2010 13:59

Please refer to the description of the PgSqlCommand.ParameterCheck property in our documentation. You can use this property to automatically populate PgSqlParameterCollection with the parameters used in CommandText, and iterate through it using the PgSqlCommand.Parameters property.
Shalex
Devart Team
 
Posts: 7341
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for Oracle