Files
elma/AppData/ELMAH_Error.cs
2020-08-24 23:11:46 +02:00

49 lines
1.1 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
{
[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; }
}
}