public ProductStatusDescriptorCollection FetchByQuery(Query qry) { ProductStatusDescriptorCollection coll = new ProductStatusDescriptorCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public ProductStatusDescriptorCollection FetchAll() { ProductStatusDescriptorCollection coll = new ProductStatusDescriptorCollection(); Query qry = new Query(ProductStatusDescriptor.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public ProductStatusDescriptorCollection FetchByID(object ProductStatusDescriptorId) { ProductStatusDescriptorCollection coll = new ProductStatusDescriptorCollection().Where("ProductStatusDescriptorId", ProductStatusDescriptorId).Load(); return(coll); }