Esempio 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));
 }
Esempio n. 2
0
 public bool Applies(string key)
 {
     return(OperatorFactory.IsOperator(key));
 }