protected virtual void InitComm (int port, int timeout) { comm = new TdsComm (dataSource, port, packetSize, timeout, tdsVersion); }
public Tds (string dataSource, int port, int packetSize, int timeout, TdsVersion tdsVersion) { this.tdsVersion = tdsVersion; this.packetSize = packetSize; this.dataSource = dataSource; comm = new TdsComm (dataSource, port, packetSize, timeout, tdsVersion); }