Knight Data Access Layer
ExecuteNonQuery(String,Dictionary<String,Object>) Method




KellermanSoftware.NetDataAccessLayer Namespace > BaseDatabaseProvider Class > ExecuteNonQuery Method : ExecuteNonQuery(String,Dictionary<String,Object>) Method
The SQL text to execute
Parameters
Execute the passed query and return the number of affected records
Syntax
Public Overloads Overridable Function ExecuteNonQuery( _
   ByVal sql As String, _
   ByVal parameters As Dictionary(Of String,Object) _
) As Integer
Dim instance As BaseDatabaseProvider
Dim sql As String
Dim parameters As Dictionary(Of String,Object)
Dim value As Integer
 
value = instance.ExecuteNonQuery(sql, parameters)
public virtual int ExecuteNonQuery( 
   string sql,
   Dictionary<string,object> parameters
)
public: virtual int ExecuteNonQuery( 
   string* sql,
   Dictionary<string*,Object*>* parameters
) 
public:
virtual int ExecuteNonQuery( 
   String^ sql,
   Dictionary<String^,Object^>^ parameters
) 

Parameters

sql
The SQL text to execute
parameters
Parameters

Return Value

Affected records
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

Reference

BaseDatabaseProvider Class
BaseDatabaseProvider Members
Overload List