public IConnectionStringBuilder BuildTimeout(int _timeout) { ///There is no timeout in SqlServer connection string, but for sample we use "Timeout" connection.AddConnectionPart(string.Format("Timeout={0}", _timeout)); return(this); }
public IConnectionStringBuildDatabase BuildServer(string _server) { connection.AddConnectionPart(string.Format("Server={0}", _server)); return(this); }