コード例 #1
0
        public void Insert(DateTime Timestamp, int?Sessionfid, int?Accountfid, int Ipfid, string ModuleX, string Message)
        {
            PhpssLog item = new PhpssLog();

            item.Timestamp = Timestamp;

            item.Sessionfid = Sessionfid;

            item.Accountfid = Accountfid;

            item.Ipfid = Ipfid;

            item.ModuleX = ModuleX;

            item.Message = Message;


            item.Save(UserName);
        }
コード例 #2
0
        public void Update(int Id, DateTime Timestamp, int?Sessionfid, int?Accountfid, int Ipfid, string ModuleX, string Message)
        {
            PhpssLog item = new PhpssLog();

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

            item.Id = Id;

            item.Timestamp = Timestamp;

            item.Sessionfid = Sessionfid;

            item.Accountfid = Accountfid;

            item.Ipfid = Ipfid;

            item.ModuleX = ModuleX;

            item.Message = Message;

            item.Save(UserName);
        }
コード例 #3
0
 public bool Destroy(object Id)
 {
     return(PhpssLog.Destroy(Id) == 1);
 }
コード例 #4
0
 public bool Delete(object Id)
 {
     return(PhpssLog.Delete(Id) == 1);
 }