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

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

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

            return(coll);
        }