Пример #1
0
        public RecipeHeaderCollection FetchByQuery(Query qry)
        {
            RecipeHeaderCollection coll = new RecipeHeaderCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public RecipeHeaderCollection FetchAll()
        {
            RecipeHeaderCollection coll = new RecipeHeaderCollection();
            Query qry = new Query(RecipeHeader.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #3
0
        public RecipeHeaderCollection FetchByID(object RecipeHeaderID)
        {
            RecipeHeaderCollection coll = new RecipeHeaderCollection().Where("RecipeHeaderID", RecipeHeaderID).Load();

            return(coll);
        }