Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IDbConnection Members

IDbConnection overview

Public Properties

public propertyConnectionString

Supported by the .NET Compact Framework.

Gets or sets the string used to open a database.
public propertyConnectionTimeout

Supported by the .NET Compact Framework.

Gets the time to wait while trying to establish a connection before terminating the attempt and generating an error.
public propertyDatabase

Supported by the .NET Compact Framework.

Gets the name of the current database or the database to be used after a connection is opened.
public propertyState

Supported by the .NET Compact Framework.

Gets the current state of the connection.

Public Methods

public methodBeginTransaction

Supported by the .NET Compact Framework.

Overloaded. Begins a database transaction.
public methodChangeDatabase

Supported by the .NET Compact Framework.

Changes the current database for an open Connection object.
public methodClose

Supported by the .NET Compact Framework.

Closes the connection to the database.
public methodCreateCommand

Supported by the .NET Compact Framework.

Creates and returns a Command object associated with the connection.
public methodOpen

Supported by the .NET Compact Framework.

Opens a database connection with the settings specified by the ConnectionString property of the provider-specific Connection object.

See Also

IDbConnection Interface | System.Data Namespace

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.