示例#1
0
        public DmucDiachinhCollection FetchByQuery(Query qry)
        {
            DmucDiachinhCollection coll = new DmucDiachinhCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
示例#2
0
        public DmucDiachinhCollection FetchAll()
        {
            DmucDiachinhCollection coll = new DmucDiachinhCollection();
            Query qry = new Query(DmucDiachinh.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
示例#3
0
        public DmucDiachinhCollection FetchByID(object MaDiachinh)
        {
            DmucDiachinhCollection coll = new DmucDiachinhCollection().Where("ma_diachinh", MaDiachinh).Load();

            return(coll);
        }