Class MsSqlConAdapter
Connection string adapter for Microsoft SQL Server databases.
public class MsSqlConAdapter : DbConAdapter
- Inheritance
-
MsSqlConAdapter
- Inherited Members
- Extension Methods
Properties
PropDefs
Gets the connection property definitions supported by SQL Server.
public override DbConPropDef[] PropDefs { get; }
Property Value
ServerType
Gets the database server type handled by this adapter.
public override DbServerType ServerType { get; }
Property Value
Methods
ReadPort(Dictionary<string, string>, List<DbConProp>)
Reads the port from the SQL Server Data Source value.
protected override void ReadPort(Dictionary<string, string> Dict, List<DbConProp> Props)
Parameters
DictDictionary<string, string>PropsList<DbConProp>
ReadServer(Dictionary<string, string>, List<DbConProp>)
Reads the server name from the SQL Server Data Source value.
protected override void ReadServer(Dictionary<string, string> Dict, List<DbConProp> Props)
Parameters
DictDictionary<string, string>PropsList<DbConProp>
WriteDatabase(List<string>, List<DbConProp>)
Writes the database name using the Initial Catalog key.
protected override void WriteDatabase(List<string> Parts, List<DbConProp> Props)
Parameters
WritePort(List<string>, List<DbConProp>)
Does nothing because SQL Server stores the port as part of the Data Source value.
protected override void WritePort(List<string> Parts, List<DbConProp> Props)
Parameters
WriteServer(List<string>, List<DbConProp>)
Writes the server and port using the SQL Server Data Source syntax.
protected override void WriteServer(List<string> Parts, List<DbConProp> Props)
Parameters
WriteTrustServerCertificate(List<string>, List<DbConProp>)
Writes the TrustServerCertificate setting.
protected override void WriteTrustServerCertificate(List<string> Parts, List<DbConProp> Props)