Export (0) Print
Expand All
1 out of 2 rated this helpful - Rate this topic

IDbConnection Members

Represents an open connection to a data source, and is implemented by .NET Framework data providers that access relational databases.

The IDbConnection type exposes the following members.

  NameDescription
Public method Supported by the .NET Compact Framework Supported by the XNA Framework BeginTransaction Overloaded. Begins a database transaction.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ChangeDatabase Changes the current database for an open Connection object.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Close Closes the connection to the database.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework CreateCommand Creates and returns a Command object associated with the connection.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Dispose Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Open Opens a database connection with the settings specified by the ConnectionString property of the provider-specific Connection object.
Top
  NameDescription
Public property Supported by the .NET Compact Framework Supported by the XNA Framework ConnectionString Gets or sets the string used to open a database.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework ConnectionTimeout Gets the time to wait while trying to establish a connection before terminating the attempt and generating an error.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Database Gets the name of the current database or the database to be used after a connection is opened.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework State Gets the current state of the connection.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.