Exemplo n.º 1
0
        public CloneOrderTableCollection FetchByQuery(Query qry)
        {
            CloneOrderTableCollection coll = new CloneOrderTableCollection();

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

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

            return(coll);
        }