StiODataDatabase Class

Namespace: Stimulsoft.Report.Dictionary

Inheritance

Inherits from: StiSqlDatabase

Constructors

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

StiODataDatabase()

Creates a new object of the type StiODataDatabase.


StiODataDatabase(name: string, connectionString: string)

Creates a new object of the type StiODataDatabase.

Parameters

  • name (string)
  • connectionString (string)

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

Creates a new object of the type StiODataDatabase.

Parameters

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

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

Creates a new object of the type StiODataDatabase.

Parameters

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

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

Creates a new object of the type StiODataDatabase.

Parameters

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

StiODataDatabase(name: string, alias: string, connectionString: string, promptUserNameAndpassword: bool, key: string, version: StiODataVersion)

Creates a new object of the type StiODataDatabase.

Parameters

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

Properties

Property Type Description
CookieContainer CookieContainer  
Headers NameValueCollection  
Version StiODataVersion  

Methods

Method Returns Description
ApplyDatabaseInformation void  
CreateConnector StiDataConnector Returns new data connector for this database.
CreateDataSource StiSqlSource Returns new data source for this database.
GetConnectionStringHelper string  
GetDataAdapterType Type  
GetDatabaseInformation StiDatabaseInformation Returns full database information.
LoadFromJsonObject void  
MapUserNameAndPassword string  
RegData void  
SaveToJsonObject JObject  

Method Details

ApplyDatabaseInformation

ApplyDatabaseInformation(information: StiDatabaseInformation, report: StiReport, informationAll: StiDatabaseInformation): void

Parameters


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


GetDatabaseInformation

GetDatabaseInformation(report: StiReport): StiDatabaseInformation

Returns full database information.

Parameters

Returns StiDatabaseInformation


LoadFromJsonObject

LoadFromJsonObject(jObject: JObject): void

Parameters


MapUserNameAndPassword

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

Parameters

  • userName (string)
  • password (string)

Returns string


RegData

RegData(dictionary: StiDictionary, loadData: bool): void

Parameters

  • dictionary (StiDictionary)
  • loadData (bool)

SaveToJsonObject

SaveToJsonObject(mode: StiJsonSaveMode): JObject

Parameters

Returns JObject