Click or drag to resize
ConnectionHelper Methods

The ConnectionHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberBulkInsert
Performs a bulk insert of the data into a target database table
Public methodStatic memberClear
Clears the connection helper cache
Public methodStatic memberExecuteNonQuery(String, QueryDataParameters, QueryMacros)
Executes query and returns the number of affected rows.
Public methodStatic memberExecuteNonQuery(String, QueryDataParameters, QueryTypeEnum, Boolean)
Executes query and returns the number of affected rows.
Public methodStatic memberExecuteQuery(QueryParameters)
Executes query and returns result as a dataset.
Public methodStatic memberExecuteQuery(String, QueryDataParameters, QueryTypeEnum, Boolean)
Runs the query.
Public methodStatic memberExecuteQuery(String, QueryDataParameters, String, String, Int32, String)
Executes query and returns result as a dataset.
Public methodStatic memberExecuteQuery(String, QueryDataParameters, String, String, Int32, String, Int32, Int32, Int32)
Executes query and returns result as a dataset.
Public methodStatic memberExecuteReader
Executes query and returns the results in a DataSet.
Public methodStatic memberExecuteScalar(String, QueryDataParameters, QueryMacros)
Executes query and returns result as a a single value.
Public methodStatic memberExecuteScalar(String, QueryDataParameters, QueryTypeEnum, Boolean)
Executes query and returns result as a a single value.
Public methodStatic memberGetConnection
Returns the connection.
Public methodStatic memberGetConnectionByName
Returns the connection.
Public methodStatic memberGetConnectionString(String)
Gets the connection string
Public methodStatic memberGetConnectionString(String, Boolean)
Gets the connection string
Public methodStatic memberGetConnectionString(SQLServerAuthenticationModeEnum, String, String, String, String, Int32, Boolean, String, Boolean)
Generates the connection string with the specified parameters.
Public methodStatic memberGetConnectionStringPrefix
Gets the connection string name for the given domain
Public methodStatic memberGetFirstFoundConnectionString
Gets the first found connection string by the prefix, if none found, returns null
Public methodStatic memberGetIsolationLevel
Returns the isolation level evaluated from the string representation.
Public methodStatic memberGetSqlConnectionString
Returns the connection string.
Public methodStatic memberGetSqlConnectionString(String)
Returns the connection string.
Public methodStatic memberInitRequestContext
Initializes the request context to use proper database based on current domain name
Public methodStatic memberTestConnection(String)
Tests the given connection parameters.
Public methodStatic memberTestConnection(SQLServerAuthenticationModeEnum, String, String, String, String)
Tests the given connection parameters.
Public methodStatic memberUpdateAll Obsolete.
Runs the update all query of the given class name
Top
See Also