Example #1
0
        public void Log(AuditLogItem log)
        {
            var dbItem = new AuditItem();

            dbItem.Title          = log.Title;
            dbItem.Content        = log.FriendlyContent;
            dbItem.PrivateContent = log.PrivateContent;
            dbItem.User           = log.User;
            dbItem.MachineName    = log.MachineName;
            dbItem.ModuleName     = log.ModuleName;
            dbItem.Type           = log.Type;
            dbItem.LogTime        = log.LogTime;
            dbItem.EntityId       = log.EntityId;

            RF.Save(dbItem);
        }
Example #2
0
 public void Insert(int index, AuditItem entity)
 {
     base.Insert(index, entity);
 }
Example #3
0
 public int IndexOf(AuditItem entity)
 {
     return(base.IndexOf(entity));
 }
Example #4
0
 public bool Contains(AuditItem entity)
 {
     return(base.Contains(entity));
 }
Example #5
0
 public void Add(AuditItem entity)
 {
     base.Add(entity);
 }
Example #6
0
 public bool Remove(AuditItem entity)
 {
     return(base.Remove(entity));
 }