Exemple #1
0
        public OrderStatusCollection FetchByQuery(Query qry)
        {
            OrderStatusCollection coll = new OrderStatusCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemple #2
0
        public OrderStatusCollection FetchAll()
        {
            OrderStatusCollection coll = new OrderStatusCollection();
            Query qry = new Query(OrderStatus.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemple #3
0
        public OrderStatusCollection FetchByID(object Id)
        {
            OrderStatusCollection coll = new OrderStatusCollection().Where("Id", Id).Load();

            return(coll);
        }