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

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

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

            return(coll);
        }