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

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

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

            return(coll);
        }