RelationalOptionsExtension.ConnectionString 属性

定义

连接字符串; null 如果使用 DbConnection 而不是连接字符串,则为 。

public virtual string ConnectionString { get; set; }
public virtual string ConnectionString { get; }
public virtual string? ConnectionString { get; }
member this.ConnectionString : string with get, set
member this.ConnectionString : string
Public Overridable Property ConnectionString As String
Public Overridable ReadOnly Property ConnectionString As String

属性值

适用于