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

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

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

            return(coll);
        }