public void AddCondition(Action <IFluentConditionExpression> definition) { var condition = new FluentConditionExpression(); definition(condition); _query.Criteria.AddCondition(condition.GetCondition()); }
public IFluentFilterExpression Attribute(Action <IFluentConditionExpression> definition) { var condition = new FluentConditionExpression(); definition(condition); _filter.Conditions.Add(condition.GetCondition()); return(this); }