Esempio n. 1
0
        public RecipeDetailCollection FetchByQuery(Query qry)
        {
            RecipeDetailCollection coll = new RecipeDetailCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 2
0
        public RecipeDetailCollection FetchAll()
        {
            RecipeDetailCollection coll = new RecipeDetailCollection();
            Query qry = new Query(RecipeDetail.Schema);

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