public OrderDetailCollection FetchByQuery(Query qry)
        {
            OrderDetailCollection coll = new OrderDetailCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public OrderDetailCollection FetchAll()
        {
            OrderDetailCollection coll = new OrderDetailCollection();
            Query qry = new Query(OrderDetail.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public OrderDetailCollection FetchByID(object OrderID)
        {
            OrderDetailCollection coll = new OrderDetailCollection().Where("OrderID", OrderID).Load();

            return(coll);
        }