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