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); }
public ProductModelIllustrationCollection FetchByID(object ProductModelID) { ProductModelIllustrationCollection coll = new ProductModelIllustrationCollection().Where("ProductModelID", ProductModelID).Load(); return(coll); }