public IMultiQuery AddNamedQuery <T>(string key, string queryName)
 {
     AddEntry(new QueryEntry(key, ShardedQueryImpl.GetNamedQuery(this.session, queryName), () => new List <T>()));
     return(this);
 }
 public IMultiQuery AddNamedQuery(string queryName)
 {
     AddEntry(new QueryEntry(ShardedQueryImpl.GetNamedQuery(this.session, queryName), () => new ArrayList()));
     return(this);
 }