/// <summary> /// Construct the QueryBuilder. /// /// Will initialize an instance of the Connector class /// and call the Connect() method of this. /// /// Also calls the method Clear() which at this point /// works as a field initializer. /// </summary> public QueryBuilder() { this.connector = Connector.GetConnector(); this.connector.Connect(); Clear(); }
public void SetUp() { this.connector = Connector.GetConnector(); this.connector.Connect(); }
public static Connector GetConnector() { return instance ?? (instance = new Connector()); }