#DirectFusionConnection

##Properties

Datatype Property name Property description Default Value
String Alias Gets the Izenda.Fusion.FusionConnection's alias that was registered with the Izenda.Fusion.FusionConnection. null
Boolean IsDefault Gets a System.Boolean representing whether this connection is the Izenda.Fusion.FusionDriver's default connection. null

##Methods

###AliasPresents(System.String) Determines whether the input string contains the alias that was registered to this Izenda.Fusion.FusionConnection.

Parameters:

  • System.String s - The database identifier to determine whether it has been aliased or not.

Returns:

A System.Boolean value representing whether the input identifier has been aliased or not.


###AppendAlias(System.String) Adds the alias and separator character for this connection to the identifier supplied.

Parameters:

  • System.String s - The database identifier that should be aliased.

Returns:

The System.String representation of the entire aliased database identifier.


###Equals(System.Object) Determines whether the specified System.Object is equal to the current System.Object.

Parameters:

Returns:

true if the specified System.Object is equal to the current System.Object; otherwise, false.


###GenerateCommand(Izenda.AdHoc.Report,System.Boolean,out System.String) Creates an System.Data.IDbCommand object from the specified Izenda.AdHoc.Report with data from multiple databases.

Parameters:

Returns:

The System.Data.IDbCommand that can be executed to get the report data.


###GenerateSql(Izenda.AdHoc.Report,System.Boolean,System.String,out System.Collections.IList,out System.String) Gets a SQL statement for the specified report with data from multiple databases with the option of including filter parameters in the output.

Parameters:


###GenerateTotalsCommand(Izenda.AdHoc.Report,System.Int32,out System.String) Gets a System.Data.IDbCommand that produces grand totals for the specified Izenda.AdHoc.Report with data from multiple databases.

Parameters:

Returns:

The System.Data.IDbCommand that produces grand totals.


###GenerateTotalsSql(Izenda.AdHoc.Report,System.Boolean,System.String,out System.Collections.IList,out System.String) Gets a SQL statement that generates subtotals for the specified report with data from multiple databases with the option of including filter parameters in the output.

Parameters:


###GetAllTables() Gets a list of all tables and views on the schema registered to this connection.

Returns:

The Izenda.AdHoc.Database.Table array corresponding to the tables and views found.


###GetColumns(Izenda.AdHoc.Database.Table) Gets the complete list of columns found on the schema registered to this connection for the specified table.

Parameters:

Returns:

The Izenda.AdHoc.Database.Column array corresponding to the columns found.


###GetConstraints(Izenda.AdHoc.Database.DatabaseSchema) Gets a list of constraints for the specified database schema.

Parameters:

Returns:

The Izenda.AdHoc.Database.Constraint array corresponding to the database constraints found.


###GetDatabase() Gets the System.String representation of the database that was registered with this Izenda.Fusion.DirectFusionConnection.

Returns:

The System.String that represents the database that was registered with this connection.


###GetDataSet(System.Data.IDbCommand,System.String,out System.String) Gets a System.Data.DataSet for the specified SQL command.

Parameters:

Returns:

The new System.Data.DataSet with the results of the query.


###GetDataTable(Izenda.AdHoc.Report,System.Data.IDbCommand,out System.String) Gets a System.Data.DataTable from the specified Izenda.AdHoc.Report and System.Data.IDbCommand provided.

Parameters:

Returns:

The first System.Data.DataTable found on the System.Data.DataSet returned by the query.


###GetDirectConnection() Gets the Izenda.Fusion.FusionConnection that was registered as the default connection during initialization.

Returns:

The System.Data.IDbConnection representation of the Izenda.Fusion.DirectFusionConnection.


###GetHashCode() Serves as a hash function for a particular type.

Returns:

A hash code for the current System.Object.


###GetInstance() Gets the System.String representation of the instance of the DBMS that was registered with this Izenda.Fusion.DirectFusionConnection.

Returns:

The System.String that represents the name of the instance of the DBMS registered with this connection.


###GetMinMax(System.Collections.Generic.IDictionary>,out System.DateTime,out System.DateTime,out System.String) Gets the minimum and maximum System.DateTime values from a collection of date columns across various tables.

Parameters:


###GetType() Gets the System.Type of the current instance.

Returns:

The System.Type instance that represents the exact runtime type of the current instance.


###GetVersion() Represents a method that gets the version of the service-based datasource that is registered to this connection.

Returns:

The System.Version representation of the service-based datasource's version.


###InjectDataSet(System.Data.DataSet,System.Data.IDbConnection,out System.String) Allows a Izenda.Fusion.FusionDriver to combine multiple datasets from various databases into a single database using the System.Data.SqlClient.SqlBulkCopy class and the DefaultConnection.

Parameters:

Returns:

The System.String representation of a temporary table name that will be used to copy the data for this connection into.


###InvalidateSchemaCache() Clears the server schema cache for this Izenda.Fusion.FusionConnection and forces an update on the clients as well.


###ProcessPostRequest(System.Net.HttpWebRequest) Represents a method that provides a way to intercept POST requests to OData services before the request is sent.

Parameters:


###RequestRealSql(Izenda.AdHoc.Report,System.Boolean,System.String,out System.Collections.IList,out System.String) Gets a SQL statement for the specified report with data from multiple databases with the option of including filter parameters in the output.

Parameters:


###RequestRealTotalsSql(Izenda.AdHoc.Report,System.Boolean,System.String,out System.Collections.IList,out System.String) Gets a SQL statement that generates subtotals for the specified report with data from multiple databases with the option of including filter parameters in the output.

Parameters:


###RetrieveDataSet(System.String,System.String,out System.String) Gets a System.Data.DataSet object that contains the entire result set from the specified schema and table.

Parameters:

Returns:

The System.Data.DataSet containing the entire table's data.


###StripAliases(System.String) Represents a method that is used to ensure aliases are not used for operations that require unaliased names.

Parameters:

  • System.String s - The name of the identifier to strip aliases from.

Returns:

The unaliased System.String representation of the identifier.


###ToString() Returns a System.String that represents the current System.Object.

Returns:

A System.String that represents the current System.Object.