public override IConnectionStringDictionary GetConnectionStringBuilder(string connectionString) { //TBD: should wrap the IConnectionStringDictionary IConnectionStringDictionary conectionStringBuilder = base.GetConnectionStringBuilder(connectionString); OleDbSqlHelper.InitConnectionStringBuilder(conectionStringBuilder); return(conectionStringBuilder); }
public override IConnectionStringDictionary GetConnectionStringBuilder(string connectionString) { //TBD: should wrap the IConnectionStringDictionary IConnectionStringDictionary conectionStringBuilder = base.GetConnectionStringBuilder(connectionString); OleDbSqlHelper.InitConnectionStringBuilder(conectionStringBuilder); string port = (string)conectionStringBuilder [Port]; if (port == null || port.Length == 0) { port = GetMSSqlPort(OleDbSqlHelper.GetInstanceName(conectionStringBuilder, DefaultInstanceName), OleDbSqlHelper.GetDataSource(conectionStringBuilder), OleDbSqlHelper.GetTimeout(conectionStringBuilder, DefaultTimeout)); conectionStringBuilder.Add(Port, port); } return(conectionStringBuilder); }