public ISelectStatement CreateSelect()
        {
            var select = new BasicSelectStatement();

            foreach (string field in this.setup.SelectedFields)
            {
                select.AddField(field);
            }

            return select;
        }
 public ISelectStatement CreateSelect()
 {
     var select = new BasicSelectStatement();
     select.AddField(FIELDS_ONLY);
     return select;
 }
 public ISelectStatement CreateSelect()
 {
     var select = new BasicSelectStatement();
     select.AddField(NAME_FIELD);
     return select;
 }
示例#4
0
        public void TestSimpleSelectOneSpecifiedField()
        {
            string expected = "Select emp";

            var select = new BasicSelectStatement();
            select.AddField("emp");

            Assert.AreEqual(expected.ToLower(), select.ToString().ToLower());
        }