Example #1
0
        public void Insert(Guid ErrorId, string Application, string Host, string Type, string Source, string Message, string User, int StatusCode, DateTime TimeUtc, string AllXml)
        {
            Elmah_Error item = new Elmah_Error();

            item.ErrorId = ErrorId;

            item.Application = Application;

            item.Host = Host;

            item.Type = Type;

            item.Source = Source;

            item.Message = Message;

            item.User = User;

            item.StatusCode = StatusCode;

            item.TimeUtc = TimeUtc;

            item.AllXml = AllXml;


            item.Save(UserName);
        }
Example #2
0
 public bool Destroy(object ErrorId)
 {
     return(Elmah_Error.Destroy(ErrorId) == 1);
 }
Example #3
0
 public bool Delete(object ErrorId)
 {
     return(Elmah_Error.Delete(ErrorId) == 1);
 }