Platform Core .NET Assemblies API
Execute(String,QueryParameterCollection) Method
See Also  Send Feedback
Terrasoft.DB.PostgreSql Namespace > PostgreSqlExecutor Class > Execute Method : Execute(String,QueryParameterCollection) Method
sqlText
SQL command text.
queryParameters
Query parameters that will be converted into System.Data.Common.DbParameterCollection

Glossary Item Box

Executes a SQL statement with parameters, if any, against a connection object.

Syntax

 
C#
 
 

Parameters

sqlText
SQL command text.
queryParameters
Query parameters that will be converted into System.Data.Common.DbParameterCollection

Return Value

The number of rows affected.

Exceptions

ExceptionDescription
PostgreSqlExecutorException Executor was created in another thread.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© Terrasoft 2002-2018.