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 (26.2.0.1000)
Syntax
public virtual string CreateTable(
	IDisposable connection,
	IDataReader tableDataReader,
	string tableName,
	bool forceRecreate
)

Parameters

connection  IDisposable
Opened connection.
tableDataReader  IDataReader
Table data reader.
tableName  String
Table name.
forceRecreate  Boolean
If and table exists, throw exception, otherwise - drop and recreate the table.

Return Value

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