示例#1
0
        public void Insert(string Srvname, int?Srvid)
        {
            Sysreplserver item = new Sysreplserver();

            item.Srvname = Srvname;

            item.Srvid = Srvid;


            item.Save(UserName);
        }
示例#2
0
        public void Update(string Srvname, int?Srvid)
        {
            Sysreplserver item = new Sysreplserver();

            item.MarkOld();
            item.IsLoaded = true;

            item.Srvname = Srvname;

            item.Srvid = Srvid;

            item.Save(UserName);
        }