Skip to content

Commit c88a265

Browse files
committed
save
1 parent d85a544 commit c88a265

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Main/Source/lab/Effort.Lab.EF6/Form_Request_Identity.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ public Form_Request_Identity()
3030
// SEED
3131
using (var context = new EntityContextNoIdentity(connection))
3232
{
33-
context.EntitySimples.Add(new EntitySimple {ID = 4, ColumnInt = 1});
34-
context.EntitySimples.Add(new EntitySimple {ID = 12, ColumnInt = 2});
35-
context.EntitySimples.Add(new EntitySimple {ID = 24, ColumnInt = 3});
33+
context.EntitySimples.Add(new EntitySimple {ID = -44, ColumnInt = 1});
34+
context.EntitySimples.Add(new EntitySimple {ID = -4, ColumnInt = 2});
35+
context.EntitySimples.Add(new EntitySimple {ID = -5, ColumnInt = 3});
3636
context.SaveChanges();
3737
}
3838

@@ -45,6 +45,7 @@ public Form_Request_Identity()
4545
using (var context = new EntityContext(connection))
4646
{
4747
context.EntitySimples.Add(new EntitySimple() {ColumnInt = 4});
48+
context.EntitySimples.Add(new EntitySimple() { ColumnInt = 4 });
4849
context.SaveChanges();
4950
var list = context.EntitySimples.ToList();
5051
}

Main/Source/lab/Effort.Lab.EF6/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ static class Program
1414
[STAThread]
1515
static void Main()
1616
{
17-
new Form_Request_EffortExtra();
17+
new Form_Request_Identity();
1818
}
1919
}
2020
}

0 commit comments

Comments
 (0)