Exemplo n.º 1
0
        private ITableQueryFilterConditionBuilder <TValue> Property <TValue>(Expression <Func <TEntity, TValue> > property, FilterConditionGenerator <TValue> generator)
        {
            var propertyName = GetPropertyName(property);

            return(new TableQueryFilterConditionBuilder <TValue>(propertyName, generator, _node));
        }
Exemplo n.º 2
0
 private ConditionTableQueryFilterNode GenerateConditionNode <TValue>(string operation, TValue value, FilterConditionGenerator <TValue> generator)
 {
     return(new ConditionTableQueryFilterNode(generator.Invoke(_propertyName, operation, value)));
 }
Exemplo n.º 3
0
 public TableQueryFilterStringConditionBuilder(string propertyName, FilterConditionGenerator <string> generator, ITableQueryFilterNode node)
     : base(propertyName, generator, node)
 {
 }
Exemplo n.º 4
0
 private void AddFilterCondition <TValue>(string operation, TValue value, FilterConditionGenerator <TValue> generator)
 {
     _node.Add(GenerateConditionNode(operation, value, generator));
 }