src/OneBeyond.Studio.EntityAuditing/OneBeyond.Studio.EntityAuditing.SqlServer/Migrations/AuditDbContextModelSnapshot.cs
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
namespace OneBeyond.Studio.EntityAuditing.SqlServer.Migrations
{
[DbContext(typeof(AuditDbContext))]
partial class AuditDbContextModelSnapshot : ModelSnapshot
{
protected override void BuildModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasDefaultSchema("audit")
.HasAnnotation("ProductVersion", "3.1.2")
.HasAnnotation("Relational:MaxIdentifierLength", 128)
.HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
modelBuilder.Entity("OneBeyond.Studio.EntityAuditing.SqlServer.Entities.AuditEvent", b =>
{
b.Property<long>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint")
.HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
b.Property<string>("ChangedData")
.HasColumnType("nvarchar(max)");
b.Property<string>("EntityDescription")
.HasColumnType("nvarchar(max)");
b.Property<string>("EntityId")
.HasColumnType("nvarchar(max)");
b.Property<string>("EntityName")
.HasColumnType("nvarchar(max)");
b.Property<string>("EventType")
.HasColumnType("nvarchar(max)");
b.Property<DateTimeOffset>("InsertedDate")
.HasColumnType("datetimeoffset");
b.Property<string>("UserId")
.HasColumnType("nvarchar(max)");
b.Property<string>("Context")
.HasColumnType("nvarchar(max)");
b.HasKey("Id");
b.ToTable("AuditEvents");
});
#pragma warning restore 612, 618
}
}
}