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

ISupportsTruncate..::..Truncate Method (String)

Truncates the specified table.

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

Syntax


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

Parameters

tableName
Type: String
Name of the table to Truncate.

Return Value

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