Пример #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);
        }