58 lines
1.5 KiB
C#
58 lines
1.5 KiB
C#
namespace AppData
|
|
{
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Data.Entity.Spatial;
|
|
|
|
public partial class ELMAH_Error
|
|
{
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
|
public ELMAH_Error()
|
|
{
|
|
Tags = new HashSet<Tag>();
|
|
}
|
|
|
|
[Key]
|
|
public Guid ErrorId { get; set; }
|
|
|
|
[Required]
|
|
[StringLength(60)]
|
|
public string Application { get; set; }
|
|
|
|
[Required]
|
|
[StringLength(50)]
|
|
public string Host { get; set; }
|
|
|
|
[Required]
|
|
[StringLength(100)]
|
|
public string Type { get; set; }
|
|
|
|
[Required]
|
|
[StringLength(60)]
|
|
public string Source { get; set; }
|
|
|
|
[Required]
|
|
[StringLength(500)]
|
|
public string Message { get; set; }
|
|
|
|
[Required]
|
|
[StringLength(50)]
|
|
public string User { get; set; }
|
|
|
|
public int StatusCode { get; set; }
|
|
|
|
public DateTime TimeUtc { get; set; }
|
|
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public int Sequence { get; set; }
|
|
|
|
[Required]
|
|
public string AllXml { get; set; }
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
|
public virtual ICollection<Tag> Tags { get; set; }
|
|
}
|
|
}
|