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

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

            filter.ChildFilters.Add(this);
            filter.ChildFilters.Add(childFilter);
            return(filter);
        }
Exemple #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;
 }
Exemple #5
0
 public LiteFilter IsNotNull()
 {
     return(LiteFilter.IsNotNull(this));
 }
Exemple #6
0
 public LiteFilter IN(ArrayList constArray)
 {
     return(LiteFilter.FieldIn(this, constArray));
 }
Exemple #7
0
 public LiteFilter IN(LiteQuery subQuery)
 {
     return(LiteFilter.FieldIn(this, subQuery));
 }
Exemple #8
0
 public LiteFilter NotEqual(object constValue)
 {
     return(LiteFilter.NotEqual(this, constValue));
 }
 public LiteJoinTable ON(LiteFilter filter)
 {
     this.filter = filter;
     return(this);
 }
Exemple #10
0
 public LiteFilter Equal(string tableAlias, string fieldName)
 {
     return(LiteFilter.EqualField(this, New(tableAlias, fieldName)));
 }
Exemple #11
0
 public LiteFilter Equal(string constValue)
 {
     return(LiteFilter.EqualConst(this, constValue));
 }
Exemple #12
0
 public LiteFilter Equal(object constValue)
 {
     return(LiteFilter.EqualConst(this, constValue));
 }
Exemple #13
0
 public LiteFilter EndWith(object constValue)
 {
     return(LiteFilter.EndWith(this, constValue));
 }
Exemple #14
0
 public LiteFilter Contains(object constValue)
 {
     return(LiteFilter.Contains(this, constValue));
 }
Exemple #15
0
 public LiteFilter StartWith(object constValue)
 {
     return(LiteFilter.StartWith(this, constValue));
 }
Exemple #16
0
 public LiteFilter FullTextContains(object constValue)
 {
     return(LiteFilter.FullTextContains(this, constValue));
 }
Exemple #17
0
 public LiteFilter GreaterThanOrEqual(object constValue)
 {
     return(LiteFilter.GreaterThanOrEqual(this, constValue));
 }
 public LiteQuery Where(LiteFilter filter)
 {
     this.query.Filter = filter;
     return(this.query);
 }
Exemple #19
0
 public LiteFilter LessThanOrEqual(object constValue)
 {
     return(LiteFilter.LessThanOrEqual(this, constValue));
 }