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);
        }
Esempio n. 3
0
        public RecipeDetailCollection FetchByID(object RecipeDetailID)
        {
            RecipeDetailCollection coll = new RecipeDetailCollection().Where("RecipeDetailID", RecipeDetailID).Load();

            return(coll);
        }