File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Main/Source/lab/Effort.Lab.EF6 Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments