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