StiSybaseDatabase Class

Namespace: Stimulsoft.Report.Dictionary

Inheritance

Inherits from: StiSqlDatabase

Constructors

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

StiSybaseDatabase()

Creates a new object of the type StiSybaseDatabase.


StiSybaseDatabase(name: string, connectionString: string)

Creates a new object of the type StiSybaseDatabase.

Parameters

  • name (string)
  • connectionString (string)

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

Creates a new object of the type StiSybaseDatabase.

Parameters

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

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

Creates a new object of the type StiSybaseDatabase.

Parameters

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

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

Creates a new object of the type StiSybaseDatabase.

Parameters

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

Methods

Method Returns Description
CreateConnector StiDataConnector Returns new data connector for this database.
CreateDataSource StiSqlSource Returns new data source 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.


CreateDataSource

CreateDataSource(nameInSource: string, name: string): StiSqlSource

Returns new data source for this database.

Parameters

  • nameInSource (string)
  • name (string)

Returns StiSqlSource — Created data source.


GetConnectionStringHelper

GetConnectionStringHelper(): string

Returns string


GetDataAdapterType

GetDataAdapterType(): Type

Returns Type


MapUserNameAndPassword

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

Parameters

  • userName (string)
  • password (string)

Returns string