The DbNetData type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| DbNetData | Overloaded. |
Methods
| Name | Description | |
|---|---|---|
| AddColumn | Overloaded. | |
| AddTable |
Adds a table to the database if it does not alreay exist (SQL Server only). The table is created
with a single IDENTITY column named ID. Additonal columns can be added with AddColumn(String, String, String).
| |
| AddViewColumn |
Adds a column (if it does not already exist) to an existing SQL Server View (SQL Server Only)
| |
| ApplyBatchUpdate |
Applys the batch of updates
| |
| BeginTransaction |
Starts a database transaction
| |
| Close |
Closes the connection
| |
| ColumnExists |
Checks for the existence of a column in a table
| |
| Commit |
Commits a database transaction
| |
| DeriveParameters |
Derives the parameters for a stored procedure
| |
| Dispose | Overloaded. | |
| Equals | (Inherited from Object.) | |
| ExecuteDelete | Overloaded. | |
| ExecuteInsert | Overloaded. | |
| ExecuteNonQuery | Overloaded. | |
| ExecuteQuery | Overloaded. | |
| ExecuteSingletonQuery | Overloaded. | |
| ExecuteUpdate | Overloaded. | |
| Finalize | (Overrides Object..::.Finalize()()().) | |
| GetDataSet | Overloaded. | |
| GetDataTable | Overloaded. | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetHashtable | Overloaded. | |
| GetSchemaTable | Overloaded. | |
| GetSequenceValue |
Returns the next or current Oracle sequence value
| |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| IsReservedWord |
Returns true if the Token parameter is a reserved word in the database
| |
| JsonRecord |
Returns a ListDictionary object representing the current record in a format suitable for serialising in JSON format
| |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| MetaDataCollection | Overloaded. | |
| Open |
Opens the database connection
| |
| ParameterName |
Returns then corresponding database parameter name for the supplied token
| |
| ParseParameters |
Parses the Sql statement for parameter names and returns a corresponding paramater collection
| |
| QualifiedDbObjectName |
Qualifies a database object name to ensure that it can can be used in an SQL Statement.
| |
| ReaderString |
Returns the string value for the current row in the Reader for the specified column name
| |
| ReaderValue | Overloaded. | |
| Rollback |
Rolls back a database transaction
| |
| RunScript | ||
| SetParamValue |
Sets the value of a parameter in a collection irrespective of case-sensitivity and whether the parameter is a simple
value or IDbDataParameter object
| |
| TableExists |
Checks for the existence of a table in the database
| |
| ToString | (Inherited from Object.) | |
| UnqualifiedDbObjectName | Overloaded. | |
| UserTableFilter |
Creates a vendor independent filter string for the Tables metadata collection to select on "user" tables.
| |
| UserViewFilter |
Fields
| Name | Description | |
|---|---|---|
| Adapter |
implemented by provider
| |
| AllowUnqualifiedUpdates |
Prevents accidental execution of unqualified update/delete statements
| |
| CloseConnectionOnError |
If set to true then the connection is automatically closed if an error occurs
| |
| Command |
implemented by provider
| |
| CommandDurationWarningThreshold |
The threshold in milliseconds above which details of commands executing for longer will be logged
| |
| CommandTimeout |
The number of seconds before a command will timeout. 30 is the default. A value of 0 will prevent a timeout.
| |
| Conn |
implemented by provider
| |
| ConvertEmptyToNull |
Converts empty string to null values in update statements when set to true
| |
| DataSourcePath |
The fully mapped path to the data source
| |
| Identity |
The autoincrementing value assigned to the last inserted record (where applicable). Only set if ReturnAutoIncrementValue is set to true
| |
| NameDelimiterTemplate |
The template used to qualify database object names containing spaces
| |
| Reader |
implemented by provider
| |
| ReturnAutoIncrementValue |
Determines if an attempt is made to fetch the value assigned by an autoincrementing column after an insert
| |
| RowsAffected |
The number of rows affected by the last ExecuteDelete(String) or ExecuteUpdate(String) method
| |
| ShowConnectionStringOnError |
Controls the display of the connection string when reporting an error condition
| |
| SummaryExceptionMessage |
Controls the level of detail shown in any exceptions
| |
| Transaction |
implemented by provider
| |
| VerboseErrorInfo |
Controls the verbosity of the error message
|
Properties
| Name | Description | |
|---|---|---|
| ConnectionString |
The connection string (after any path mappings have been made)
| |
| Database |
The type of database connected to
| |
| DatabaseVersion |
Returns the major version number for the database
| |
| IsBatchUpdateSupported |
Indicates if database provider supports batch updates
| |
| Provider |
The data provider used for the connection
| |
| ReservedWords |
Returns a list of reserved words for the database
| |
| UpdateBatchSize |
Specifies the batch size for batch updates.
|
Events
| Name | Description | |
|---|---|---|
| OnCommandConfigured |
OnCommandConfigured event can be used to customise the configuration of the command just prior to it being executed.
|