This repository was archived by the owner on Jul 28, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathServiceLayerDbContextModelSnapshot.cs
More file actions
63 lines (51 loc) · 2.08 KB
/
ServiceLayerDbContextModelSnapshot.cs
File metadata and controls
63 lines (51 loc) · 2.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using ServiceLayer.Mesh.Data;
#nullable disable
namespace ServiceLayer.Mesh.Migrations
{
[DbContext(typeof(ServiceLayerDbContext))]
partial class ServiceLayerDbContextModelSnapshot : ModelSnapshot
{
protected override void BuildModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("ProductVersion", "9.0.1")
.HasAnnotation("Relational:MaxIdentifierLength", 128);
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
modelBuilder.Entity("ServiceLayer.Mesh.Models.MeshFile", b =>
{
b.Property<string>("FileId")
.HasMaxLength(255)
.HasColumnType("nvarchar(255)");
b.Property<string>("BlobPath")
.HasMaxLength(1024)
.HasColumnType("nvarchar(1024)");
b.Property<string>("FileType")
.IsRequired()
.HasMaxLength(50)
.HasColumnType("nvarchar(50)");
b.Property<DateTime>("FirstSeenUtc")
.HasColumnType("datetime2");
b.Property<DateTime>("LastUpdatedUtc")
.HasColumnType("datetime2");
b.Property<string>("MailboxId")
.IsRequired()
.HasMaxLength(50)
.HasColumnType("nvarchar(50)");
b.Property<string>("Status")
.IsRequired()
.HasMaxLength(20)
.HasColumnType("nvarchar(20)");
b.HasKey("FileId");
b.ToTable("MeshFiles");
});
#pragma warning restore 612, 618
}
}
}