Пример #1
0
        public SgontCollection FetchByQuery(Query qry)
        {
            SgontCollection coll = new SgontCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public SgontCollection FetchAll()
        {
            SgontCollection coll = new SgontCollection();
            Query           qry  = new Query(Sgont.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #3
0
        public SgontCollection FetchByID(object OrderNumber)
        {
            SgontCollection coll = new SgontCollection().Where("OrderNumber", OrderNumber).Load();

            return(coll);
        }