The DbNetData type exposes the following members.

Constructors

  NameDescription
DbNetDataOverloaded.

Methods

  NameDescription
AddColumnOverloaded.
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
DisposeOverloaded.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
ExecuteDeleteOverloaded.
ExecuteInsertOverloaded.
ExecuteNonQueryOverloaded.
ExecuteQueryOverloaded.
ExecuteSingletonQueryOverloaded.
ExecuteUpdateOverloaded.
Finalize (Overrides Object..::.Finalize()()().)
GetDataSetOverloaded.
GetDataTableOverloaded.
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetHashtableOverloaded.
GetSchemaTableOverloaded.
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.)
MetaDataCollectionOverloaded.
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
ReaderValueOverloaded.
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
Returns a String that represents the current Object.
(Inherited from Object.)
UnqualifiedDbObjectNameOverloaded.
UserTableFilter
Creates a vendor independent filter string for the Tables metadata collection to select on "user" tables.
UserViewFilter

Fields

  NameDescription
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

  NameDescription
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

  NameDescription
OnCommandConfigured
OnCommandConfigured event can be used to customise the configuration of the command just prior to it being executed.

See Also