Exemple #1
0
        public MultitableSqlFilter <TEntity> OrGroup(SqlFilterBase filter)
        {
            var items = AddItem(SqlFilterItems.Or)
                        .Add(SqlFilterItems.Build("("))
                        .AddRange(filter.FilterItems)
                        .Add(SqlFilterItems.Build(")"));

            return(new MultitableSqlFilter <TEntity>(items));
        }
Exemple #2
0
 public MultitableSqlFilter <TEntity> And(SqlFilterBase filter)
 {
     return(new MultitableSqlFilter <TEntity>(AddItem(SqlFilterItems.And).AddRange(filter.FilterItems)));
 }