Beispiel #1
0
        public RecipeHeaderCollection FetchByQuery(Query qry)
        {
            RecipeHeaderCollection coll = new RecipeHeaderCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Beispiel #2
0
        public RecipeHeaderCollection FetchAll()
        {
            RecipeHeaderCollection coll = new RecipeHeaderCollection();
            Query qry = new Query(RecipeHeader.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }