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)); }
public MultitableSqlFilter <TEntity> And(SqlFilterBase filter) { return(new MultitableSqlFilter <TEntity>(AddItem(SqlFilterItems.And).AddRange(filter.FilterItems))); }