示例#1
0
        public LiteFilter And(LiteFilter childFilter)
        {
            LiteFilter filter = AND();

            filter.ChildFilters.Add(this);
            filter.ChildFilters.Add(childFilter);
            return(filter);
        }
示例#2
0
        public LiteFilter Or(LiteFilter childFilter)
        {
            LiteFilter filter = OR();

            filter.ChildFilters.Add(this);
            filter.ChildFilters.Add(childFilter);
            return(filter);
        }
示例#3
0
        public LiteFilter IN(object value1, params object[] otherValues)
        {
            ArrayList arrayConst = new ArrayList();

            arrayConst.Add(value1);
            arrayConst.AddRange(otherValues);
            return(LiteFilter.FieldIn(this, arrayConst));
        }
 public LiteJoinTable(LiteQuery query, string _tableName, string _tableAlias, JoinTypeEnum joinType, LiteFilter _filter)
 {
     this.joinTables = new List <LiteJoinTable>();
     this.query      = query;
     this.tableName  = _tableName;
     this.tableAlias = _tableAlias;
     this.filter     = _filter;
 }
示例#5
0
 public LiteFilter IsNotNull()
 {
     return(LiteFilter.IsNotNull(this));
 }
示例#6
0
 public LiteFilter IN(ArrayList constArray)
 {
     return(LiteFilter.FieldIn(this, constArray));
 }
示例#7
0
 public LiteFilter IN(LiteQuery subQuery)
 {
     return(LiteFilter.FieldIn(this, subQuery));
 }
示例#8
0
 public LiteFilter NotEqual(object constValue)
 {
     return(LiteFilter.NotEqual(this, constValue));
 }
 public LiteJoinTable ON(LiteFilter filter)
 {
     this.filter = filter;
     return(this);
 }
示例#10
0
 public LiteFilter Equal(string tableAlias, string fieldName)
 {
     return(LiteFilter.EqualField(this, New(tableAlias, fieldName)));
 }
示例#11
0
 public LiteFilter Equal(string constValue)
 {
     return(LiteFilter.EqualConst(this, constValue));
 }
示例#12
0
 public LiteFilter Equal(object constValue)
 {
     return(LiteFilter.EqualConst(this, constValue));
 }
示例#13
0
 public LiteFilter EndWith(object constValue)
 {
     return(LiteFilter.EndWith(this, constValue));
 }
示例#14
0
 public LiteFilter Contains(object constValue)
 {
     return(LiteFilter.Contains(this, constValue));
 }
示例#15
0
 public LiteFilter StartWith(object constValue)
 {
     return(LiteFilter.StartWith(this, constValue));
 }
示例#16
0
 public LiteFilter FullTextContains(object constValue)
 {
     return(LiteFilter.FullTextContains(this, constValue));
 }
示例#17
0
 public LiteFilter GreaterThanOrEqual(object constValue)
 {
     return(LiteFilter.GreaterThanOrEqual(this, constValue));
 }
示例#18
0
 public LiteQuery Where(LiteFilter filter)
 {
     this.query.Filter = filter;
     return(this.query);
 }
示例#19
0
 public LiteFilter LessThanOrEqual(object constValue)
 {
     return(LiteFilter.LessThanOrEqual(this, constValue));
 }