コード例 #1
0
        public UsontCollection FetchByQuery(Query qry)
        {
            UsontCollection coll = new UsontCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #2
0
        public UsontCollection FetchAll()
        {
            UsontCollection coll = new UsontCollection();
            Query           qry  = new Query(Usont.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #3
0
        public UsontCollection FetchByID(object OrderNumber)
        {
            UsontCollection coll = new UsontCollection().Where("OrderNumber", OrderNumber).Load();

            return(coll);
        }