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

            item.Srvname = Srvname;

            item.Srvid = Srvid;


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