public static FetchQueryModelBuilder[] RemoveFetchRequestsFromQueryModel (QueryModel queryModel)
    {
      ArgumentUtility.CheckNotNull ("queryModel", queryModel);

      var visitor = new FetchFilteringQueryModelVisitor ();
      queryModel.Accept (visitor);
      return visitor.FetchQueryModelBuilders.ToArray();
    }
예제 #2
0
        public static FetchQueryModelBuilder[] RemoveFetchRequestsFromQueryModel(QueryModel queryModel)
        {
            ArgumentUtility.CheckNotNull("queryModel", queryModel);

            var visitor = new FetchFilteringQueryModelVisitor();

            queryModel.Accept(visitor);
            return(visitor.FetchQueryModelBuilders.ToArray());
        }