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




KellermanSoftware.NetDataAccessLayer Namespace > BaseDatabaseProvider Class > RecordExists Method : RecordExists(String,Dictionary<String,Object>) Method
The SQL text to execute
The parameters to use for the where clause
Returns true if the record exists
Syntax
Public Overloads Overridable Function RecordExists( _
   ByVal sql As String, _
   ByVal parameters As Dictionary(Of String,Object) _
) As Boolean
Dim instance As BaseDatabaseProvider
Dim sql As String
Dim parameters As Dictionary(Of String,Object)
Dim value As Boolean
 
value = instance.RecordExists(sql, parameters)
public virtual bool RecordExists( 
   string sql,
   Dictionary<string,object> parameters
)
public: virtual bool RecordExists( 
   string* sql,
   Dictionary<string*,Object*>* parameters
) 
public:
virtual bool RecordExists( 
   String^ sql,
   Dictionary<String^,Object^>^ parameters
) 

Parameters

sql
The SQL text to execute
parameters
The parameters to use for the where clause
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