Creates database connection instances.
Inheritance Hierarchy
System.MarshalByRefObject
kCura.EventHandler.DatabaseConnection
Namespace: kCura.EventHandler
Assembly: kCura.EventHandler (in kCura.EventHandler.dll) Version: 17.0.1.1 588f15fd7550dbf54835f3417a0142d4ea37dbb5
Syntax
public class DatabaseConnection : MarshalByRefObject public class DatabaseConnection : MarshalByRefObject
The DatabaseConnection type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | BeginTransaction |
Opens a database connection and starts a database transaction.
|
![]() | CommitTransaction |
Commits the database transaction.
|
![]() | CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | ExecuteAsDataSet |
Executes a Transact-SQL statement against the connection and returns a dataset object.
|
![]() | ExecuteAsScalar |
Executes the query, and returns the first column of the first row in the result set returned by the query. Additional columns or rows are ignored.
|
![]() | ExecuteNonQuery |
Executes a Transact-SQL statement against the connection and returns the number of rows affected.
|
![]() | GetCaseDatabasePrependString(Int32) |
Returns a prepend string value for a given case database based on application ID.
|
![]() | GetCaseDatabasePrependString(Int32, Boolean) |
Returns a prepend string value for a given case database based on application ID and a Boolean flag indicating whether the schema name should be used.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
![]() | GetMasterPrependString() |
Returns a prepend string value for a master database.
|
![]() | GetMasterPrependString(Boolean) |
Returns a prepend string value for a master database based on boolean flag indicating if schema name should be used.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
![]() | RollbackTransaction |
Rolls back a database transaction from a pending state.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Remarks
See Also