Beispiel #1
0
        public CloneOrderTableCollection FetchByQuery(Query qry)
        {
            CloneOrderTableCollection coll = new CloneOrderTableCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Beispiel #2
0
        public CloneOrderTableCollection FetchAll()
        {
            CloneOrderTableCollection coll = new CloneOrderTableCollection();
            Query qry = new Query(CloneOrderTable.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Beispiel #3
0
        public CloneOrderTableCollection FetchByID(object OrderNumber)
        {
            CloneOrderTableCollection coll = new CloneOrderTableCollection().Where("OrderNumber", OrderNumber).Load();

            return(coll);
        }