Пример #1
0
        public void Insert(string Ip, int Accountfid, string Access)
        {
            PhpssIpaccessAccount item = new PhpssIpaccessAccount();

            item.Ip = Ip;

            item.Accountfid = Accountfid;

            item.Access = Access;


            item.Save(UserName);
        }
Пример #2
0
        public void Update(string Ip, int Accountfid, string Access, int Id)
        {
            PhpssIpaccessAccount item = new PhpssIpaccessAccount();

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

            item.Ip = Ip;

            item.Accountfid = Accountfid;

            item.Access = Access;

            item.Id = Id;

            item.Save(UserName);
        }
Пример #3
0
 public bool Destroy(object Id)
 {
     return(PhpssIpaccessAccount.Destroy(Id) == 1);
 }
Пример #4
0
 public bool Delete(object Id)
 {
     return(PhpssIpaccessAccount.Delete(Id) == 1);
 }