DbDatabase Class |
Namespace: Cadcorp.DataAccess
The DbDatabase type exposes the following members.
Name | Description | |
---|---|---|
![]() | DbDatabase | Initializes a new instance of the DbDatabase class |
Name | Description | |
---|---|---|
![]() | CreateReturnParameter |
Adds a return parameter to non query.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetAdapter | |
![]() | GetDbCommand |
Creates a new command object.
|
![]() | GetDbConnection |
Creates a new connection object.
|
![]() | GetDbDataAdapter |
Creates a new adapter object.
|
![]() | GetDBParameterString |
Returns the correct parameter string for the database platform in use.
|
![]() | GetDBUppercaseFunction |
Returns the correct parameter string for the database platform in use.
|
![]() | GetDBWildcardString |
Returns the correct parameter string for the database platform in use.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetParameter(String, Object, String) |
Returns a new parameter.
|
![]() | GetParameter(String, Object, String, Boolean) | |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | RunProcedure(String, String, IDataParameter, String) |
Runs a stored procedure, returning an SqlResultSet containing the result of the stored procedure.
|
![]() | RunProcedure(DbConnection, String, IDataParameter, Int32, String) |
Runs a stored procedure, returning an integer indicating the return value of the stored procedure.
Also returns the value of the RowsAffected aspect of the stored procedure that is returned by the
ExecuteNonQuery method.
|
![]() | RunProcedure(DbConnection, String, String, IDataParameter, String) |
Runs a stored procedure, returning an SqlResultSet containing the result of the stored procedure.
|
![]() | RunProcedure(String, String, IDataParameter, Int32, String) |
Runs a stored procedure, returning an integer indicating the return value of the stored procedure.
Also returns the value of the RowsAffected aspect of the stored procedure that is returned by the
ExecuteNonQuery method.
|
![]() | RunProcedure(String, String, IDataParameter, String, String) |
Runs a stored procedure, returning a DataSet that contains the results of the stored procedure in
a named table.
|
![]() | RunProcedure(String, String, IDataParameter, String, String) |
Runs a stored procedure, returning an ArrayList containing the specified fields from the result of the stored procedure.
N.B. This method has been retained for backward compatibility. It is recommended that a strongly typed generic list is used instead of an ArrayList.
|
![]() | RunProcedure(DbConnection, String, String, IDataParameter, String, String) |
Runs a stored procedure, returning a DataSet that contains the results of the stored procedure in
a named table.
|
![]() | RunProcedure(DbConnection, String, String, IDataParameter, String, String) |
Runs a stored procedure, returning an ArrayList containing the specified fields from the result of the stored procedure.
N.B. This method has been retained for backward compatibility. It is recommended that a strongly typed generic list is used instead of an ArrayList.
|
![]() | RunProcedure(String, String, IDataParameter, DataSet, String, String) |
Takes an existing DataSet and fills the given table name with the results of the stored procedure.
|
![]() | RunProcedure(String, String, IDataParameter, Int32, Int32, String) |
Returns a populated DataTable from the stored procedure provided.
|
![]() | RunProcedure(String, String, IDataParameter, String, String, String) |
Runs a stored procedure, returning a DataView that contains the results of the stored procedure in
a named table within a DataSet.
|
![]() | RunProcedure(DbConnection, String, String, IDataParameter, DataSet, String, String) |
Takes an existing DataSet and fills the given table name with the results of the stored procedure.
|
![]() | RunProcedure(DbConnection, String, String, IDataParameter, Int32, Int32, String) |
Returns a populated DataTable from the stored procedure provided.
|
![]() | RunProcedure(DbConnection, String, String, IDataParameter, String, String, String) |
Runs a stored procedure, returning a DataView that contains the results of the stored procedure in
a named table within a DataSet.
|
![]() | RunQuery(String, String, IDataParameter, String) |
Runs a query, returning an SqlResultSet containing the result of the query.
|
![]() | RunQuery(DbConnection, String, IDataParameter, Int32, String) |
Runs a query, returning an integer indicating the return value of the stored procedure.
Also returns the value of the RowsAffected aspect of the stored procedure that is returned by the
ExecuteNonQuery method.
|
![]() | RunQuery(DbConnection, String, String, IDataParameter, String) |
Runs a query, returning an SqlResultSet containing the result of the query.
|
![]() | RunQuery(String, String, IDataParameter, DataTable, String) |
Takes an existing DataTable and fills it with the results of the query.
|
![]() | RunQuery(String, String, IDataParameter, Int32, String) |
Runs a query, returning an integer indicating the return value of the stored procedure.
Also returns the value of the RowsAffected aspect of the stored procedure that is returned by the
ExecuteNonQuery method.
|
![]() | RunQuery(String, String, IDataParameter, String, String) |
Runs a query, returning a DataSet that contains the results of the query in
a named table.
|
![]() | RunQuery(String, String, IDataParameter, String, String) |
Runs a stored procedure, returning an ArrayList containing the specified fields from the result of the query.
N.B. This method has been retained for backward compatibility. It is recommended that a strongly typed generic list is used instead of an ArrayList.
|
![]() | RunQuery(DbConnection, String, String, IDataParameter, DataTable, String) |
Takes an existing DataTable and fills it with the results of the query.
|
![]() | RunQuery(DbConnection, String, String, IDataParameter, String, String) |
Runs a query, returning a DataSet that contains the results of the query in
a named table.
|
![]() | RunQuery(DbConnection, String, String, IDataParameter, String, String) |
Runs a stored procedure, returning an ArrayList containing the specified fields from the result of the query.
N.B. This method has been retained for backward compatibility. It is recommended that a strongly typed generic list is used instead of an ArrayList.
|
![]() | RunQuery(String, String, IDataParameter, DataSet, String, String) |
Takes an existing DataSet and fills the given table name with the results of the query.
|
![]() | RunQuery(String, String, IDataParameter, Int32, Int32, String) |
Returns a populated DataTable from the query provided.
|
![]() | RunQuery(String, String, IDataParameter, String, String, String) |
Runs a query, returning a DataView that contains the results of the query in
a named table within a DataSet.
|
![]() | RunQuery(DbConnection, String, String, IDataParameter, DataSet, String, String) |
Takes an existing DataSet and fills the given table name with the results of the query.
|
![]() | RunQuery(DbConnection, String, String, IDataParameter, Int32, Int32, String) |
Returns a populated DataTable from the query provided.
|
![]() | RunQuery(DbConnection, String, String, IDataParameter, String, String, String) |
Runs a query, returning a DataView that contains the results of the query in
a named table within a DataSet.
|
![]() | RunScalarQuery |
Runs a scalar query.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | TruncateString | |
![]() | TypeToDbType |
Returns a DbType to go along with a parameter.
|