FlowWright.cDevDeAPI Namespace
FlowWright.cDevDecisionEngine Namespace

clsDataAccess Members

The clsDataAccess type exposes the following members.

Constructors


  Name Description
Public method clsDataAccess()()()()
Initializes a new instance of the clsDataAccess class.
Public method clsDataAccess(String)
Connect using the connection string
Public method clsDataAccess(String, Boolean)
Initializes a new instance of the clsDataAccess class.

Methods


  Name Description
Public method addItemsToLogXML
add items to the log file
Public method Static member adjustDatesForTimeZone
Adjusts the dates for time zone.
Public method beginTransaction
starts the transaction mode
Public method Static member buildSQLServerConnectionString
Builds the SQL server connection string.
Public method changeDatabase
Changes the database.
Public method commitTransaction
commits all the transactions
Public method connect
Connect using the connection string
Public method Static member createDatabase
Creates the database.
Public method Static member dataSetToXML
Convert to dataset to XML.
Public method Static member dataTableToXML
convert data table to XML
Public method deleteRecord
delete a given record
Public method Disconnect
Disconnects the connection from the database
Public method generateTableData
Generates the table data.
Public method generateTableScripts
Generates table scripts
Public method Static member getConfigValue
Get the config value from config table
Public method Static member getConnectionStringPropertiesValues
Gets the connection string properties values.
Public method GetDataAdapter
returns a data adapter by executing a sql statement
Public method Static member GetDataset(String, String, String%, OrderedDictionary)
Gets the data set.
Public method GetDataset(String, OrderedDictionary)
returns a data set by executing a sql statement
Public method GetDataset(String, OleDbCommand)
returns a data set by executing a stored procedure
Public method GetDataset(String, SqlCommand)
Gets the dataset.
Public method Static member GetDataTable(String, String, String%, OrderedDictionary)
Gets the data table.
Public method GetDataTable(String, OrderedDictionary)
returns a data table by executing a sql statement
Public method GetDateTimeColumns
get all datetime columns for a db
Public method getDBColumnNames
Gets the Data Table Column names
Public method Static member getInsertStatement
Gets the insert statement.
Public method GetScalarBool(String, OrderedDictionary)
Gets the scalar int.
Public method Static member GetScalarBool(String, String, String%, OrderedDictionary)
Gets the scalar bool.
Public method GetScalarInt(String, OrderedDictionary)
Gets the scalar int value by executing a sql statement
Public method Static member GetScalarInt(String, String, String%, OrderedDictionary)
Gets the scalar int.
Public method GetScalarLong(String, OrderedDictionary)
Gets the scalar long value by executing a sql statement
Public method Static member GetScalarLong(String, String, String%, OrderedDictionary)
Gets the scalar long.
Public method GetScalarString(String, OrderedDictionary)
Gets the scalar string value by executing a sql statement
Public method Static member GetScalarString(String, String, String%, OrderedDictionary)
Gets the scalar string.
Public method GetScalarValue(String, OrderedDictionary)
Gets the scalar value by executing a sql statement
Public method Static member GetScalarValue(String, String, String%, OrderedDictionary)
Gets the scalar value.
Public method GetSqlDataReader(String)
returns a data reader from executing a sql statement
Public method GetSqlDataReader(String, OleDbCommand%)
returns a data reader by executing a stored procedure
Public method getTableColumns
Gets the list of table columns within a database table.
Public method getTableNamesThatStartWith
Gets the table names that start with.
Public method getTables
Gets the list of tables within the database.
Public method Static member hasDatabase
Determines whether the specified connection string has database.
Public method hasTable
Determines whether the specified table name has table.
Public method hasTables
Returns if the db has user tables
Public method insertRecord
insert a record into the table
Public method Static member isValidSELECTQuery
Determines whether [is valid select query] [the specified s SQL].
Public method Static member NonQuery(String, String, Int32%, String%, OrderedDictionary)
Nons the query.
Public method Static member NonQuery(String, String, String%, OrderedDictionary, Int32)
Nons the query.
Public method NonQuery(String, OrderedDictionary, Int32)
execute a non-query
Public method NonQuery(String, Int32%, OrderedDictionary, Int32)
execute a non returning sql statement, insert, update, delete
Public method NonQuery(SqlCommand%)
execute non query using the sql command
Public method NonQuery(SqlCommand%, Int32%)
execute non query using sql command
Public method NonQuery(OleDbCommand%)
execute non query using ole db command
Public method NonQuery(OleDbCommand%, Int32%)
execute a non returning sql statement, insert, update, delete
Public method NonQuery(String, SqlCommand%)
execute non query using the stored procedure and sql command object
Public method NonQuery(String, OleDbCommand%)
execute non query using stored procedure and ole db command
Public method readBinaryData
Reads the binary data.
Public method rollbackTransaction
rolls back all the transactions
Public method Static member tableExists
Table exists
Public method Static member testConnection
Tests the connection.
Public method updateRecord
update or insert a record
update record
Public method upsertRecord(String, Hashtable, String)
Upserts the record.
Public method upsertRecord(String, Hashtable, String, List<(Of <<'(String>)>>), List<(Of <<'(String>)>>))
Public method writeBinaryData
Writes the binary data.
Public method Static member writeDBCall(String, String)
SQL call logging
Public method writeDBCall(String, OrderedDictionary, Stopwatch)
SQL call logging
Public method writeError
write the error message to the log file

Properties


  Name Description
Public property commandTimeOut
Gets or sets the command time out.
Public property connectionString
returns the connection string
Public property connType
returns the connection type
Public property database
returns the name of the database
Public property getDatabaseVersion
returns the database version
Public property lastError
return the last error message
Public property serverName
returns the name of the database server
Public property setFieldNamesToUpper
get/set the field name upper flag