Partilhar via


RelationalOptionsExtension.Connection Propriedade

Definição

O DbConnectionou null se uma cadeia de conexão foi usada em vez do objeto de conexão completo.

public virtual System.Data.Common.DbConnection Connection { get; set; }
public virtual System.Data.Common.DbConnection Connection { get; }
public virtual System.Data.Common.DbConnection? Connection { get; }
member this.Connection : System.Data.Common.DbConnection with get, set
member this.Connection : System.Data.Common.DbConnection
Public Overridable Property Connection As DbConnection
Public Overridable ReadOnly Property Connection As DbConnection

Valor da propriedade

Aplica-se a