RelationalDataProviderCreateTable Method

Creates a database table.

Namespace:  Dundas.BI.Data.DataProviders.Relational
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
public virtual string CreateTable(
	IDisposable connection,
	IDataReader tableDataReader,
	string tableName,
	bool forceRecreate
)

Parameters

connection
Type: SystemIDisposable
Opened connection.
tableDataReader
Type: System.DataIDataReader
Table data reader.
tableName
Type: SystemString
Table name.
forceRecreate
Type: SystemBoolean
If and table exists, throw exception, otherwise - drop and recreate the table.

Return Value

Type: String
Table name. This name maybe different than tableName.
Exceptions
ExceptionCondition
NotSupportedExceptionThrown when the data provider does not support creating tables.
Remarks
Table name returned is a "full" name and maybe different than tableName.
See Also