Beispiel #1
0
 public Log(int ID, int UID, int AdminID, string Source, string EventDescription, string FieldName, string FieldForValue, string FieldAfterValue, string SubModule, string Keyword, OperateCode OperateCode, DateTime OperateTime)
 {
     this.ID = ID; this.UID = UID; this.AdminID = AdminID; this.Source = Source; this.EventDescription = EventDescription; this.FieldName = FieldName; this.FieldForValue = FieldForValue; this.FieldAfterValue = FieldAfterValue; this.SubModule = SubModule; this.Keyword = Keyword; this.OperateCode = OperateCode.ToString(); this.OperateTime = OperateTime;
 }
Beispiel #2
0
        public SysLog(int ID, int UID, int AdminID, string Source, string EventDescription, string FieldName, string FieldForValue, string FieldAfterValue, string SubModule, string Keyword, OperateCode OperateCode, DateTime OperateTime)
        {
            Log log = new Log();

            log.ID   = ID; log.UID = UID; log.AdminID = AdminID; log.Source = Source; log.EventDescription = EventDescription; log.FieldName = FieldName; log.FieldForValue = FieldForValue; log.FieldAfterValue = FieldAfterValue; log.SubModule = SubModule; log.Keyword = Keyword; log.OperateCode = OperateCode.ToString(); log.OperateTime = OperateTime;
            this.log = log;
        }