Ejemplo n.º 1
0
 public static IQueryStrategy Create(string key, string value, IEntityQueryMapper <T> queryMapper)
 {
     return(OperatorFactory.IsOperator(key) ?
            new OperatorQueryStrategy(key, value) as IQueryStrategy : new EntityQueryStrategy <T>(key, value, queryMapper));
 }
Ejemplo n.º 2
0
 public bool Applies(string key)
 {
     return(OperatorFactory.IsOperator(key));
 }