Package | at.db |
Class | public class ConnectToDatabase |
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.
Property | Defined 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 |
Method | Defined by | ||
---|---|---|---|
Constructor.
| ConnectToDatabase |
Method | Defined by | ||
---|---|---|---|
init():void
Init.
| ConnectToDatabase |
databaseName | property |
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
.
dbName | property |
public var dbName:String
Holds the dbName
value that specifies the name of the application database.
file | property |
public static var file:File
Holds the file
value that represents the relative path where the application database is stored.
ConnectToDatabase | () | constructor |
public function ConnectToDatabase()
Constructor.
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