Check-in [0cfda9d5ec]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Updated initial migration to accomodate MessageParticipant.Name.
Timelines: family | ancestors | descendants | both | dotnet
Files: files | file ages | folders
SHA1: 0cfda9d5ec213bdca20cd132912fe60097a44caf
User & Date: tinus 2019-09-14 06:22:16
Wiki:dotnet
Context
2019-09-14
06:47
Added documentation comments. Leaf check-in: 4b554307bf user: tinus tags: dotnet
06:22
Updated initial migration to accomodate MessageParticipant.Name. check-in: 0cfda9d5ec user: tinus tags: dotnet
06:18
Handle errors within each Populate* function, so the other ones get executed anyway. check-in: 02809ed40d user: tinus tags: dotnet
Changes

Name change from Migrations/20190903195645_Initial.Designer.cs to Migrations/20190914062021_Initial.Designer.cs.

5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
...
192
193
194
195
196
197
198


199
200
201
202
203
204
205
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;

namespace MailJanitor.Migrations
{
    [DbContext(typeof(MailJanitorContext))]
    [Migration("20190903195645_Initial")]
    partial class Initial
    {
        protected override void BuildTargetModel(ModelBuilder modelBuilder)
        {
#pragma warning disable 612, 618
            modelBuilder
                .HasAnnotation("ProductVersion", "2.2.6-servicing-10079");
................................................................................
                {
                    b.Property<long>("ID")
                        .ValueGeneratedOnAdd();

                    b.Property<int>("Field");

                    b.Property<long>("MessageID");



                    b.Property<int>("Order");

                    b.Property<long>("ParticipantID");

                    b.HasKey("ID");








|







 







>
>







5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
...
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;

namespace MailJanitor.Migrations
{
    [DbContext(typeof(MailJanitorContext))]
    [Migration("20190914062021_Initial")]
    partial class Initial
    {
        protected override void BuildTargetModel(ModelBuilder modelBuilder)
        {
#pragma warning disable 612, 618
            modelBuilder
                .HasAnnotation("ProductVersion", "2.2.6-servicing-10079");
................................................................................
                {
                    b.Property<long>("ID")
                        .ValueGeneratedOnAdd();

                    b.Property<int>("Field");

                    b.Property<long>("MessageID");

                    b.Property<string>("Name");

                    b.Property<int>("Order");

                    b.Property<long>("ParticipantID");

                    b.HasKey("ID");

Name change from Migrations/20190903195645_Initial.cs to Migrations/20190914062021_Initial.cs.

178
179
180
181
182
183
184
185

186
187
188
189
190
191
192
                columns: table => new
                {
                    ID = table.Column<long>(nullable: false)
                        .Annotation("Sqlite:Autoincrement", true),
                    MessageID = table.Column<long>(nullable: false),
                    ParticipantID = table.Column<long>(nullable: false),
                    Field = table.Column<int>(nullable: false),
                    Order = table.Column<int>(nullable: false)

                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_MessageParticipants", x => x.ID);
                    table.ForeignKey(
                        name: "FK_MessageParticipants_Messages_MessageID",
                        column: x => x.MessageID,







|
>







178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
                columns: table => new
                {
                    ID = table.Column<long>(nullable: false)
                        .Annotation("Sqlite:Autoincrement", true),
                    MessageID = table.Column<long>(nullable: false),
                    ParticipantID = table.Column<long>(nullable: false),
                    Field = table.Column<int>(nullable: false),
                    Order = table.Column<int>(nullable: false),
                    Name = table.Column<string>(nullable: true)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_MessageParticipants", x => x.ID);
                    table.ForeignKey(
                        name: "FK_MessageParticipants_Messages_MessageID",
                        column: x => x.MessageID,

Changes to Migrations/MailJanitorContextModelSnapshot.cs.

190
191
192
193
194
195
196


197
198
199
200
201
202
203
                {
                    b.Property<long>("ID")
                        .ValueGeneratedOnAdd();

                    b.Property<int>("Field");

                    b.Property<long>("MessageID");



                    b.Property<int>("Order");

                    b.Property<long>("ParticipantID");

                    b.HasKey("ID");








>
>







190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
                {
                    b.Property<long>("ID")
                        .ValueGeneratedOnAdd();

                    b.Property<int>("Field");

                    b.Property<long>("MessageID");

                    b.Property<string>("Name");

                    b.Property<int>("Order");

                    b.Property<long>("ParticipantID");

                    b.HasKey("ID");