示例#1
0
        public WorkOrderCollection FetchByQuery(Query qry)
        {
            WorkOrderCollection coll = new WorkOrderCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
示例#2
0
        public WorkOrderCollection FetchAll()
        {
            WorkOrderCollection coll = new WorkOrderCollection();
            Query qry = new Query(WorkOrder.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
示例#3
0
        public WorkOrderCollection FetchByID(object WorkOrderID)
        {
            WorkOrderCollection coll = new WorkOrderCollection().Where("WorkOrderID", WorkOrderID).Load();

            return(coll);
        }