Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 3
0
 public bool Destroy(object Id)
 {
     return(PhpssSession.Destroy(Id) == 1);
 }
Esempio n. 4
0
 public bool Delete(object Id)
 {
     return(PhpssSession.Delete(Id) == 1);
 }