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