Packageat.db
Classpublic class ConnectToDatabase

Class for pasring the variable ConnectToDatabase.databaseName and creating the object necessary to connect eVE to the application database. Note: every class in at.db uses this class to obtain the database connection object. If this class is modified in any way application failure is almost a certainty.



Public Properties
 PropertyDefined by
  databaseName : Object
[static] Holds the databasePathAndFilename value for use in methods that connect to the application database.
ConnectToDatabase
  dbName : String
Holds the dbName value that specifies the name of the application database.
ConnectToDatabase
  file : File
[static] Holds the file value that represents the relative path where the application database is stored.
ConnectToDatabase
Public Methods
 MethodDefined by
  
Constructor.
ConnectToDatabase
Protected Methods
 MethodDefined by
  
init():void
Init.
ConnectToDatabase
Property detail
databaseNameproperty
public static var databaseName:Object

Holds the databasePathAndFilename value for use in methods that connect to the application database. This is type object and is used strictly for use when establishing a SQLConnection instance via the SQLConnection class. Used in conjunction with variable file.

dbNameproperty 
public var dbName:String

Holds the dbName value that specifies the name of the application database.

fileproperty 
public static var file:File

Holds the file value that represents the relative path where the application database is stored.

Constructor detail
ConnectToDatabase()constructor
public function ConnectToDatabase()

Constructor.

Method detail
init()method
protected function init():void

Init. This method sets the databaseName object variable based onn the variable GlobalSettings.databaseName for use throughout eVE.

See also