Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/DatabaseStructure.sql =================================================================== diff -u -r6059a4af5c28390c79efa4e808e28cc93eeddac1 -rb2e7713ec43e71c2ad818b0f5d6405b6eab49e63 --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/DatabaseStructure.sql (.../DatabaseStructure.sql) (revision 6059a4af5c28390c79efa4e808e28cc93eeddac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/DatabaseStructure.sql (.../DatabaseStructure.sql) (revision b2e7713ec43e71c2ad818b0f5d6405b6eab49e63) @@ -1,6 +1,6 @@ /* ---------------------------------------------------- */ /* Generated by Enterprise Architect Version 12.0 */ -/* Created On : 31-mei-2016 14:13:08 */ +/* Created On : 02-jun-2016 11:44:10 */ /* DBMS : SQLite */ /* ---------------------------------------------------- */ @@ -132,7 +132,7 @@ 'FailureMechanismSectionEntityId' INTEGER NOT NULL, 'X' NUMERIC NOT NULL, 'Y' NUMERIC NOT NULL, - 'Order' INTEGER NOT NULL, + 'Order' INT (4) NOT NULL, CONSTRAINT 'FK_FailureMechanismSectionPointEntity_FailureMechanismSectionEntity' FOREIGN KEY ('FailureMechanismSectionEntityId') REFERENCES 'FailureMechanismSectionEntity' ('FailureMechanismSectionEntityId') ON DELETE Cascade ON UPDATE Cascade ) ; Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/FailureMechanismSectionPointEntity.cs =================================================================== diff -u -rb809769cd89b011d6746bf0b9b99eff1abd49f60 -rb2e7713ec43e71c2ad818b0f5d6405b6eab49e63 --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/FailureMechanismSectionPointEntity.cs (.../FailureMechanismSectionPointEntity.cs) (revision b809769cd89b011d6746bf0b9b99eff1abd49f60) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/FailureMechanismSectionPointEntity.cs (.../FailureMechanismSectionPointEntity.cs) (revision b2e7713ec43e71c2ad818b0f5d6405b6eab49e63) @@ -39,7 +39,7 @@ public long FailureMechanismSectionEntityId { get; set; } public decimal X { get; set; } public decimal Y { get; set; } - public long Order { get; set; } + public int Order { get; set; } public virtual FailureMechanismSectionEntity FailureMechanismSectionEntity { get; set; } } Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/RingtoetsEntities.Designer.cs =================================================================== diff -u -r6059a4af5c28390c79efa4e808e28cc93eeddac1 -rb2e7713ec43e71c2ad818b0f5d6405b6eab49e63 --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/RingtoetsEntities.Designer.cs (.../RingtoetsEntities.Designer.cs) (revision 6059a4af5c28390c79efa4e808e28cc93eeddac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/RingtoetsEntities.Designer.cs (.../RingtoetsEntities.Designer.cs) (revision b2e7713ec43e71c2ad818b0f5d6405b6eab49e63) @@ -1,4 +1,4 @@ -// T4 code generation is enabled for model 'D:\Clean_WTI2017\Application\Ringtoets\src\Application.Ringtoets.Storage\DbContext\RingtoetsEntities.edmx'. +// T4 code generation is enabled for model 'D:\Branch_WTI2017\Application\Ringtoets\src\Application.Ringtoets.Storage\DbContext\RingtoetsEntities.edmx'. // To enable legacy code generation, change the value of the 'Code Generation Strategy' designer // property to 'Legacy ObjectContext'. This property is available in the Properties Window when the model // is open in the designer. Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/RingtoetsEntities.edmx =================================================================== diff -u -r6059a4af5c28390c79efa4e808e28cc93eeddac1 -rb2e7713ec43e71c2ad818b0f5d6405b6eab49e63 --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/RingtoetsEntities.edmx (.../RingtoetsEntities.edmx) (revision 6059a4af5c28390c79efa4e808e28cc93eeddac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/RingtoetsEntities.edmx (.../RingtoetsEntities.edmx) (revision b2e7713ec43e71c2ad818b0f5d6405b6eab49e63) @@ -4,7 +4,7 @@ - + @@ -63,7 +63,7 @@ - + @@ -715,7 +715,7 @@ - + Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/RingtoetsEntities.edmx.diagram =================================================================== diff -u -r6059a4af5c28390c79efa4e808e28cc93eeddac1 -rb2e7713ec43e71c2ad818b0f5d6405b6eab49e63 --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/RingtoetsEntities.edmx.diagram (.../RingtoetsEntities.edmx.diagram) (revision 6059a4af5c28390c79efa4e808e28cc93eeddac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/RingtoetsEntities.edmx.diagram (.../RingtoetsEntities.edmx.diagram) (revision b2e7713ec43e71c2ad818b0f5d6405b6eab49e63) @@ -7,21 +7,21 @@ - + - - - - + + + + - - - - - - - - + + + + + + + + Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Update/StochasticSoilModelUpdateExtensionsTest.cs =================================================================== diff -u -r4478bdf539df278f9e2aac0f9fe683c34ac55335 -rb2e7713ec43e71c2ad818b0f5d6405b6eab49e63 --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Update/StochasticSoilModelUpdateExtensionsTest.cs (.../StochasticSoilModelUpdateExtensionsTest.cs) (revision 4478bdf539df278f9e2aac0f9fe683c34ac55335) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Update/StochasticSoilModelUpdateExtensionsTest.cs (.../StochasticSoilModelUpdateExtensionsTest.cs) (revision b2e7713ec43e71c2ad818b0f5d6405b6eab49e63) @@ -428,10 +428,10 @@ soilModel.Update(registry, context); // Assert - StochasticSoilModelSegmentPointEntity[] segmentPointEntites = context.StochasticSoilModelSegmentPointEntities.ToArray(); - CollectionAssert.Contains(segmentPointEntites, originalPointEntity1); - CollectionAssert.Contains(segmentPointEntites, originalPointEntity2); - Assert.AreEqual(2, segmentPointEntites.Length); + StochasticSoilModelSegmentPointEntity[] segmentPointEntities = context.StochasticSoilModelSegmentPointEntities.ToArray(); + CollectionAssert.Contains(segmentPointEntities, originalPointEntity1); + CollectionAssert.Contains(segmentPointEntities, originalPointEntity2); + Assert.AreEqual(2, segmentPointEntities.Length); mocks.VerifyAll(); }