예제 #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);
        }
예제 #3
0
 public bool Destroy(object Srvname)
 {
     return(Sysreplserver.Destroy(Srvname) == 1);
 }
예제 #4
0
 public bool Delete(object Srvname)
 {
     return(Sysreplserver.Delete(Srvname) == 1);
 }