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