Database.Connection Property

Gets the current connection to a database.

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

function get Connection () : DbConnection

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: