コード例 #1
0
        public IngredientCollection FetchByQuery(Query qry)
        {
            IngredientCollection coll = new IngredientCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #2
0
        public IngredientCollection FetchAll()
        {
            IngredientCollection coll = new IngredientCollection();
            Query qry = new Query(Ingredient.Schema);

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