Knight Data Access Layer
Delete<T>(IEnumerable<Object>) Method




KellermanSoftware.NetDataAccessLayer Namespace > DataHelper Class > Delete Method : Delete<T>(IEnumerable<Object>) Method
Generic class type
The parameters to use for the where clause
Delete the objects by the passed parameters
Syntax
Public Overloads Function Delete(Of T As {Class, New})( _
   ByVal nameValueParameters As IEnumerable(Of Object) _
) As Integer
Dim instance As DataHelper
Dim nameValueParameters As IEnumerable(Of Object)
Dim value As Integer
 
value = instance.Delete(Of T)(nameValueParameters)
public int Delete<T>( 
   IEnumerable<object> nameValueParameters
)
where T: class, new()
public: int Delete<T>( 
   IEnumerable<Object*>* nameValueParameters
) 
where T: ref class, gcnew()
public:
int Deletegeneric<typename T>
( 
   IEnumerable<Object^>^ nameValueParameters
) 
where T: ref class, gcnew()

Parameters

nameValueParameters
The parameters to use for the where clause

Type Parameters

T
Generic class type
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

DataHelper Class
DataHelper Members
Overload List