コード例 #1
0
        public void Insert(string Ip, string Access)
        {
            PhpssIpaccess item = new PhpssIpaccess();

            item.Ip = Ip;

            item.Access = Access;


            item.Save(UserName);
        }
コード例 #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);
        }