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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public KnDmucMadangkyCollection FetchByID(object MaDangky)
        {
            KnDmucMadangkyCollection coll = new KnDmucMadangkyCollection().Where("ma_dangky", MaDangky).Load();

            return(coll);
        }