Knight Data Access Layer
TruncateTable<T>() Method




KellermanSoftware.NetDataAccessLayer Namespace > IDataHelper Interface > TruncateTable Method : TruncateTable<T>() Method
Delete all the records from a table
Syntax
Overloads Function TruncateTable(Of T As {Class, New})() As Long
Dim instance As IDataHelper
Dim value As Long
 
value = instance.TruncateTable(Of T)()
long TruncateTable<T>()
where T: class, new()
long TruncateTable<T>(); 
where T: ref class, gcnew()
int64 TruncateTablegeneric<typename T>
(); 
where T: ref class, gcnew()

Type Parameters

T
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

IDataHelper Interface
IDataHelper Members
Overload List