Ejemplo n.º 1
0
        //add()数据
        public void serch_add_data(string name, Assortment mm)
        {
            Assort muser = serchdata(name);

            Assortmentmessage mserchmassage = muser.mserch;

            mserchmassage.addnewdata(mm, mserchmassage.getmsderchdatanode());
        }
Ejemplo n.º 2
0
        //搜索返回数据
        public Assortment serch_result(string username, string wordstr)
        {
            Assort muser = serchdata_(username);

            if (muser == null)
            {
                return(null);
            }
            Assortmentmessage mserch = muser.mserch;

            if (mserch == null)
            {
                return(null);
            }

            Assortment mword = mserch.serchofword(mserch.getmsderchdatanode(), wordstr);


            return(mword);
        }