public QheBacsiKhoaphongCollection FetchByQuery(Query qry)
        {
            QheBacsiKhoaphongCollection coll = new QheBacsiKhoaphongCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public QheBacsiKhoaphongCollection FetchAll()
        {
            QheBacsiKhoaphongCollection coll = new QheBacsiKhoaphongCollection();
            Query qry = new Query(QheBacsiKhoaphong.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public QheBacsiKhoaphongCollection FetchByID(object IdBacsi)
        {
            QheBacsiKhoaphongCollection coll = new QheBacsiKhoaphongCollection().Where("id_bacsi", IdBacsi).Load();

            return(coll);
        }