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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 3
0
        public RecipeDetailCollection FetchByID(object RecipeDetailID)
        {
            RecipeDetailCollection coll = new RecipeDetailCollection().Where("RecipeDetailID", RecipeDetailID).Load();

            return(coll);
        }