Export (0) Print
Expand All

Database.Connection Property

Gets the current connection to a database.

Namespace:  WebMatrix.Data
Assembly:  WebMatrix.Data (in WebMatrix.Data.dll)

public DbConnection Connection { get; }

Property Value

Type: System.Data.Common.DbConnection
The connection.

  • Medium trust for the immediate caller. This member can be used by partially trusted code.
Show:
© 2015 Microsoft