DigitalData.Modules.Database
Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
Create a new instance of Dispatcher. This is the preferred way to create the dispatcher.
An instance of LogConfig
Initial connectionstring for connecting to DD_ECM database.
An instance of Dispatcher with connections
Create a new instance of Dispatcher. Needs a manually constructed list of connection objects.
An instance of LogConfig
A list of DispatcherConnection objects
Returns a Datatable from the database with the specified connection id
The SQL query
The connection id
A datatable with the results or nothing if an error occurred
Returns a Datatable from the database
The SQL query
A datatable with the results or nothing if an error occurred
Executes a query without return value like INSERT or UPDATE from the database with the specified connection id and
returns a boolean value indicating success or failure of the query
The SQL query
The connection id
True if the query was successful, otherwise false
Executes a query without return value like INSERT or UPDATE from the database and
returns a boolean value indicating success or failure of the query
The SQL query
True if the query was successful, otherwise false
Returns a single value from the database specified by the connection id
The SQL query
The connection id
A value of type object
Returns a single value from the database
The SQL query
A value of type object
MODULE: Firebird
VERSION: 0.0.0.4
DATE: 18.12.2018
DESCRIPTION:
DEPENDENCIES: NLog, >= 4.5.10
EntityFramework.Firebird, >= 6.4.0
FirebirdSql.Data.FirebirdClient, >= 6.4.0
PARAMETERS: LogConfig, DigitalData.Modules.Logging.LogConfig
The LogFactory containing the current log config. Used to instanciate the class logger for this and any dependent class
DataSource, String
The server where the database lives, for example 127.0.0.1 or dd-vmx09-vm03
Database, String
The location of the Database in the format `127.0.0.1:E:\Path\To\Database.FDB`
User, String
The user name to connect as
Password, String
The user's password
PROPERTIES: ConnectionEstablished, Boolean
If the last opened connection was successful
ConnectionFailed, Boolean
If the last opened connection failed
ConnectionString, String
The used connectionstring
EXAMPLES:
REMARKS: If the connection fails due to "wrong username or password", the cause might be that the server harddrive is full..
The LogFactory containing the current log config. Used to instanciate the class logger for this and any dependent class
The server where the database lives, for example 127.0.0.1 or dd-vmx09-vm03
The location of the Database in the format `127.0.0.1:E:\Path\To\Database.FDB`
The user name to connect as
The user's password
Builds a connectionstring from the provided arguments.
The database server where to connect to
The datasource, eg. the path of the FDB-file
The user used to connect to the database
The password of the connecting user
A connectionstring
Executes a non-query command.
The command to execute
The Firebird connection to use
True, if command was executed sucessfully. Otherwise false.
Executes a non-query command.
The command to execute
True, if command was executed sucessfully. Otherwise false.
Executes a non-query command inside the specified transaction.
The command to execute
True, if command was executed sucessfully. Otherwise false.
Executes a sql query resulting in a scalar value.
The query to execute
The Firebird connection to use
The scalar value if the command was executed successfully. Nothing otherwise.
Executes a sql query resulting in a scalar value.
The query to execute
The scalar value if the command was executed successfully. Nothing otherwise.
Executes a sql query resulting in a table of values.
The query to execute
The Firebird connection to use
A datatable containing the results if the command was executed successfully. Nothing otherwise.
Executes a sql query resulting in a table of values.
The query to execute
A datatable containing the results if the command was executed successfully. Nothing otherwise.
Returns true if the initial connection to the configured database was successful.
Executes a non-query command.
The command to execute
The Firebird connection to use
True, if command was executed sucessfully. Otherwise false.
Executes a non-query command.
The command to execute
True, if command was executed sucessfully. Otherwise false.
Executes a sql query resulting in a scalar value.
The query to execute
The Firebird connection to use
The scalar value if the command was executed successfully. Nothing otherwise.
Executes a sql query resulting in a table of values.
The query to execute
A datatable containing the results if the command was executed successfully. Nothing otherwise.
Executes a sql query resulting in a table of values.
The query to execute
The Firebird connection to use
A datatable containing the results if the command was executed successfully. Nothing otherwise.
Executes a sql query resulting in a table of values.
The query to execute
A datatable containing the results if the command was executed successfully. Nothing otherwise.
Encrypts a connection string password.
A connection string with a plain-text password
The connection string with the password encrypted.
Decrypts a connection string password.
A connection string with a encrypted password
The connection string with the password decrypted.
Executes the passed sql-statement
the sql statement
Returns true if properly executed, else false
Executes the passed sql-statement as Scalar
the sql statement
Returns the scalarvalue
This Function intentionally has no try..catch block to have any errors caught outside
Encrypts a connection string password.
A connection string with a plain-text password
The connection string with the password encrypted.
Decrypts a connection string password.
A connection string with a encrypted password
The connection string with the password decrypted.
This Function intentionally has no try..catch block to have any errors caught outside
Returns a Datatable for a SQL Statement
SQL Command Text for Datatable (select XYZ from TableORView)
A datatable
Returns a datatable for a SQL Statement
SQL Command Object for Datatable (select XYZ from TableORView)
A datatable
Executes the passed sql-statement in asyncmode
the sql statement
Optional Timeout