public bool HasPredicate(Type entityType)
 {
     return(EntityFilter.ContainsKey(entityType) || QueryFilter.ContainsKey(entityType));
 }