Packagestimulsoft.report.dictionary.databases
Classpublic class StiMySqlDatabase
InheritanceStiMySqlDatabase Inheritance StiSqlDatabase Inheritance StiDatabase Inheritance StiService Inheritance StiObject Inheritance Object



Public Properties
 PropertyDefined By
 Inheritedalias : String
Gets or sets an alias of the database.
StiDatabase
 InheritedconnectionString : String
Gets or sets a connection string which contains SQL connection parameters.
StiSqlDatabase
 InheritedconnectionStringEncrypted : String
Gets or sets a connection string which contains SQL connection parameters, in encrypted form.
StiSqlDatabase
 InheriteddataSet : DataSet = null
StiDatabase
 InheriteddataSources : StiDataSourcesCollection
Коллекция всех источников данных этого подключения.
StiDatabase
 InheriteddataSourcesCache : Array
StiDatabase
 Inheriteddictionary : StiDictionary = null
StiDatabase
 Inheritedinherited : Boolean
StiDatabase
 InheritedloadData : Boolean = true
StiDatabase
 Inheritedname : String
Gets or sets a name of the database.
StiDatabase
 Inheritedpassword : String = null
StiSqlDatabase
 InheritedpromptUserNameAndPassword : Boolean
Gets or sets a value which indicates that UserName and Password parameters should be requested from user.
StiSqlDatabase
 Inheritedproperties : StiRepositoryItems
StiService
 Inheritedref : int
StiDatabase
 InheritedserviceCategory : String
[read-only] Gets a service category.
StiService
 InheritedserviceInfo : String
[read-only] Gets a service description.
StiService
  serviceName : String
[override] [read-only] Gets a service name.
StiMySqlDatabase
 InheritedserviceType : Class
[read-only] Gets a service type.
StiService
 Inheritedusername : String = null
StiSqlDatabase
Protected Properties
 PropertyDefined By
  dataAdapterType : Class
[override] [read-only]
StiMySqlDatabase
Public Methods
 MethodDefined By
  
StiMySqlDatabase(name:String, alias:String = null, connectionString:String, promptUserNameAndPassword:Boolean = false)
StiMySqlDatabase
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
StiDatabase
 Inherited
clone(... args):Object
[override] Creates a new object that is a copy of the current instance.
StiService
 Inherited
createDataSet(dataSources:Array):DataSet
Создание нового DataSet с таблицами данных на основе указанного списка источников данных
StiDatabase
 Inherited
Создание списка источников данных текущего подключения для их последующей загрузки
StiDatabase
 Inherited
dispatchEvent(event:Event):Boolean
StiDatabase
 Inherited
equals(object:Object):Boolean
StiObject
 Inherited
StiDatabase
 Inherited
Get a short object type name (without library path).
StiObject
 Inherited
getType():Class
StiObject
 Inherited
getTypeName():String
StiObject
 Inherited
hasEventListener(type:String):Boolean
StiDatabase
 Inherited
isSimple(object:*):Boolean
[static]
StiObject
 Inherited
[override]
StiSqlDatabase
 Inherited
StiService
 Inherited
promptUserPassword(method:Function, query:String = null, parameters:StiDataParametersCollection = null):void
StiSqlDatabase
 Inherited
regData(dictionary:StiDictionary, loadData:Boolean):void
[override] Загрузка всех данных из SQL источников текущей базы данных
StiSqlDatabase
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
StiDatabase
 Inherited
retrieveColumns(nameInSource:String):Array
[override] Возвращает массив сохранённых колонок по имени источника данных
StiSqlDatabase
  
synhronize(dictionary:StiDictionary, query:String, parameters:StiDataParametersCollection):void
[override] Синхронизация таблиц и колонок с внутренним кэшем базы данных
StiMySqlDatabase
  
[override] Тестирование подключения к базе данных
StiMySqlDatabase
 Inherited
toString():String
StiDatabase
Protected Methods
 MethodDefined By
 Inherited
Загрузка успешно завершена
StiSqlDatabase
 Inherited
Событие завершения получения таблиц и колонок базы данных
StiDatabase
 Inherited
StiSqlDatabase
 Inherited
parseQuery(query:String, parameters:StiDataParametersCollection = null):String
Применение парсера выражений к указанному SQL запросу
StiSqlDatabase
  
regDataSource(dataSource:StiSqlSource):void
[override] Загрузка данных из очередного SQL источника
StiMySqlDatabase
  
synhronizeStart(query:String, parameters:StiDataParametersCollection):void
[override]
StiMySqlDatabase
Property Detail
dataAdapterTypeproperty
dataAdapterType:Class  [read-only] [override]


Implementation
    protected function get dataAdapterType():Class
serviceNameproperty 
serviceName:String  [read-only] [override]

Gets a service name.


Implementation
    public function get serviceName():String
Constructor Detail
StiMySqlDatabase()Constructor
public function StiMySqlDatabase(name:String, alias:String = null, connectionString:String, promptUserNameAndPassword:Boolean = false)



Parameters
name:String
 
alias:String (default = null)
 
connectionString:String
 
promptUserNameAndPassword:Boolean (default = false)
Method Detail
regDataSource()method
override protected function regDataSource(dataSource:StiSqlSource):void

Загрузка данных из очередного SQL источника

Parameters

dataSource:StiSqlSource

synhronize()method 
override public function synhronize(dictionary:StiDictionary, query:String, parameters:StiDataParametersCollection):void

Синхронизация таблиц и колонок с внутренним кэшем базы данных

Parameters

dictionary:StiDictionary
 
query:String
 
parameters:StiDataParametersCollection

synhronizeStart()method 
override protected function synhronizeStart(query:String, parameters:StiDataParametersCollection):void

Parameters

query:String
 
parameters:StiDataParametersCollection

testConnection()method 
override public function testConnection():void

Тестирование подключения к базе данных