Tortuga.Chain Namespace
Tortuga.Chain.CommandBuilders Namespace
Tortuga.Chain.Metadata Namespace

ISupportsDeleteAll..::..DeleteAll Method (String)

Deletes all records in the specified table.

Namespace:  Tortuga.Chain.DataSources
Assembly:  Tortuga.Chain.Core (in Tortuga.Chain.Core.dll)

Syntax


ILink<Nullable<int>> DeleteAll(
	string tableName
)
Function DeleteAll ( _
	tableName As String _
) As ILink(Of Nullable(Of Integer))
ILink<Nullable<int^>>^ DeleteAll(
	String^ tableName
)

Parameters

tableName
Type: String
Name of the table to clear.

Return Value

The number of rows deleted or null if the database doesn't provide that information.