コード例 #1
0
        public void Insert(string Sessionkey, int?Accountfid, long Ipfid, DateTime Created, DateTime Lastrequest, string Active)
        {
            PhpssSession item = new PhpssSession();

            item.Sessionkey = Sessionkey;

            item.Accountfid = Accountfid;

            item.Ipfid = Ipfid;

            item.Created = Created;

            item.Lastrequest = Lastrequest;

            item.Active = Active;


            item.Save(UserName);
        }
コード例 #2
0
        public void Update(int Id, string Sessionkey, int?Accountfid, long Ipfid, DateTime Created, DateTime Lastrequest, string Active)
        {
            PhpssSession item = new PhpssSession();

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

            item.Id = Id;

            item.Sessionkey = Sessionkey;

            item.Accountfid = Accountfid;

            item.Ipfid = Ipfid;

            item.Created = Created;

            item.Lastrequest = Lastrequest;

            item.Active = Active;

            item.Save(UserName);
        }