Adds a table to the database if it does not alreay exist (SQL Server only). The table is created with a single IDENTITY column named ID. Additonal columns can be added with AddColumn(String, String, String).

Namespace:  DbNetLink.Data
Assembly:  DbNetLink.DbNetData (in DbNetLink.DbNetData.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public void AddTable(
	string TableName
)
Visual Basic (Declaration)
Public Sub AddTable ( _
	TableName As String _
)
Visual C++
public:
void AddTable(
	String^ TableName
)

Parameters

TableName
Type: System..::.String

The name of the table

See Also