StiVistaDBDatabase Class

Namespace: Stimulsoft.Report.Dictionary

Inheritance

Inherits from: StiSqlDatabase

Constructors

Constructor Description
StiVistaDBDatabase() Creates a new object of the type StiVistaDBDatabase.
StiVistaDBDatabase(string name, string connectionString) Creates a new object of the type StiVistaDBDatabase.
StiVistaDBDatabase(string name, string alias, string connectionString) Creates a new object of the type StiVistaDBDatabase.
StiVistaDBDatabase(string name, string alias, string connectionString, bool promptUserNameAndpassword) Creates a new object of the type StiVistaDBDatabase.
StiVistaDBDatabase(string name, string alias, string connectionString, bool promptUserNameAndpassword, string key) Creates a new object of the type StiVistaDBDatabase.

StiVistaDBDatabase()

Creates a new object of the type StiVistaDBDatabase.


StiVistaDBDatabase(name: string, connectionString: string)

Creates a new object of the type StiVistaDBDatabase.

Parameters

  • name (string)
  • connectionString (string)

StiVistaDBDatabase(name: string, alias: string, connectionString: string)

Creates a new object of the type StiVistaDBDatabase.

Parameters

  • name (string)
  • alias (string)
  • connectionString (string)

StiVistaDBDatabase(name: string, alias: string, connectionString: string, promptUserNameAndpassword: bool)

Creates a new object of the type StiVistaDBDatabase.

Parameters

  • name (string)
  • alias (string)
  • connectionString (string)
  • promptUserNameAndpassword (bool)

StiVistaDBDatabase(name: string, alias: string, connectionString: string, promptUserNameAndpassword: bool, key: string)

Creates a new object of the type StiVistaDBDatabase.

Parameters

  • name (string)
  • alias (string)
  • connectionString (string)
  • promptUserNameAndpassword (bool)
  • key (string)

Methods

Method Returns Description
CreateConnector StiDataConnector Returns new data connector for this database.
GetConnectionStringHelper string  
GetDataAdapterType Type  
MapUserNameAndPassword string  

Method Details

CreateConnector

CreateConnector(connectionString: string): StiDataConnector

Returns new data connector for this database.

Parameters

  • connectionString (string)

Returns StiDataConnector — Created connector.


GetConnectionStringHelper

GetConnectionStringHelper(): string

Returns string


GetDataAdapterType

GetDataAdapterType(): Type

Returns Type


MapUserNameAndPassword

MapUserNameAndPassword(userName: string, password: string): string

Parameters

  • userName (string)
  • password (string)

Returns string