qol: formatting
This commit is contained in:
@@ -15,7 +15,7 @@ namespace Disco.Services.Logging.Models
|
||||
public int EventTypeId { get; set; }
|
||||
[Required]
|
||||
public DateTime Timestamp { get; set; }
|
||||
[Column(TypeName="ntext"), MaxLength]
|
||||
[Column(TypeName = "ntext"), MaxLength]
|
||||
public string Arguments { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
using System.Linq;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Linq;
|
||||
|
||||
namespace Disco.Services.Logging.Models
|
||||
{
|
||||
[Table("EventTypes")]
|
||||
public class LogEventType
|
||||
{
|
||||
[Required, Key, Column(Order=0), DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
[Required, Key, Column(Order = 0), DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
public int ModuleId { get; set; }
|
||||
[Required, Key, Column(Order = 1), DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
public int Id { get; set; }
|
||||
@@ -17,7 +17,7 @@ namespace Disco.Services.Logging.Models
|
||||
public int Severity { get; set; }
|
||||
[MaxLength(1024)]
|
||||
public string Format { get; set; }
|
||||
|
||||
|
||||
[NotMapped]
|
||||
public bool UsePersist { get; set; }
|
||||
[NotMapped]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
using Disco.Models.Exporting;
|
||||
using Disco.Models.Exporting;
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
|
||||
namespace Disco.Services.Logging.Models
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user