Esempio n. 1
0
        /// <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();
        }
Esempio n. 2
0
 public void SetUp()
 {
     this.connector = Connector.GetConnector();
     this.connector.Connect();
 }
Esempio n. 3
0
 public static Connector GetConnector()
 {
     return instance ?? (instance = new Connector());
 }