예제 #1
0
        public LiteQuery GroupBy(string tableAlias, string fieldName)
        {
            LiteField item = LiteField.NewEntityField(tableAlias, fieldName);

            this.GroupByList.Add(item);
            return(this);
        }
예제 #2
0
 public void AddFields(string tableAlias, params string[] fieldArray)
 {
     if (fieldArray != null)
     {
         foreach (string str in fieldArray)
         {
             this.SelectFields.Add(LiteField.NewEntityField(tableAlias, str));
         }
     }
 }
예제 #3
0
 public void AddField(LiteQuery subQuery, string fieldAlias)
 {
     this.SelectFields.Add(LiteField.NewSubQueryField(subQuery, fieldAlias));
 }
예제 #4
0
 public void AddField(string tableAlias, string fieldName, string fieldAlias)
 {
     this.SelectFields.Add(LiteField.NewEntityField(tableAlias, fieldName, fieldAlias));
 }
예제 #5
0
 public void AddField(string fieldAlias)
 {
     this.SelectFields.Add(LiteField.NewConstField("", fieldAlias));
 }