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




KellermanSoftware.NetDataAccessLayer Namespace > TableCrud Class > Delete Method : Delete(String,Dictionary<String,Object>) Method
The name of the table
The parameters to use for the where clause
Delete a record where all parameters are equal
Syntax
Public Overloads Function Delete( _
   ByVal tableName As String, _
   ByVal parameters As Dictionary(Of String,Object) _
) As Integer
Dim instance As TableCrud
Dim tableName As String
Dim parameters As Dictionary(Of String,Object)
Dim value As Integer
 
value = instance.Delete(tableName, parameters)
public int Delete( 
   string tableName,
   Dictionary<string,object> parameters
)

Parameters

tableName
The name of the table
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

TableCrud Class
TableCrud Members
Overload List