Example #1
0
        public void Insert(string Ip, string Access)
        {
            PhpssIpaccess item = new PhpssIpaccess();

            item.Ip = Ip;

            item.Access = Access;


            item.Save(UserName);
        }
Example #2
0
        public void Update(string Ip, string Access, int Id)
        {
            PhpssIpaccess item = new PhpssIpaccess();

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

            item.Ip = Ip;

            item.Access = Access;

            item.Id = Id;

            item.Save(UserName);
        }
Example #3
0
 public bool Destroy(object Id)
 {
     return(PhpssIpaccess.Destroy(Id) == 1);
 }
Example #4
0
 public bool Delete(object Id)
 {
     return(PhpssIpaccess.Delete(Id) == 1);
 }