public RecipeHeaderCollection FetchByQuery(Query qry) { RecipeHeaderCollection coll = new RecipeHeaderCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public RecipeHeaderCollection FetchAll() { RecipeHeaderCollection coll = new RecipeHeaderCollection(); Query qry = new Query(RecipeHeader.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }