Knight Data Access Layer
InterceptSql Method (BaseDatabaseProvider)




KellermanSoftware.NetDataAccessLayer Namespace > BaseDatabaseProvider Class : InterceptSql Method
The SQL.
The parameters.
Intercept the SQL and change it with the passed parameters
Syntax
Protected Overridable Function InterceptSql( _
   ByVal sql As String, _
   ByVal parameters As Dictionary(Of String,Object) _
) As String
Dim instance As BaseDatabaseProvider
Dim sql As String
Dim parameters As Dictionary(Of String,Object)
Dim value As String
 
value = instance.InterceptSql(sql, parameters)
protected virtual string InterceptSql( 
   string sql,
   Dictionary<string,object> parameters
)
protected: virtual string* InterceptSql( 
   string* sql,
   Dictionary<string*,Object*>* parameters
) 
protected:
virtual String^ InterceptSql( 
   String^ sql,
   Dictionary<String^,Object^>^ parameters
) 

Parameters

sql
The SQL.
parameters
The parameters.
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