Add Photosynthesis Type

This commit is contained in:
2016-02-09 13:47:11 -05:00
parent 15d911c86b
commit d101c2294f
14 changed files with 133 additions and 29 deletions
+3 -3
View File
@@ -22,9 +22,9 @@ namespace LeafWeb.Core.DAL
var photosynthesisTypes = new []
{
new PhotosynthesisType {Id = "C3_photosynthesis_leafweb", Name = "C3 Photosynthesis"},
new PhotosynthesisType {Id = "C4_photosynthesis_leafweb", Name = "C4 Photosynthesis"},
new PhotosynthesisType {Id = "CAM_photosynthesis_leafweb", Name = "CAM Photosynthesis"}
new PhotosynthesisType {Id = "C3_photosynthesis_leafweb", Name = "C3 Photosynthesis", SortOrder = 1},
new PhotosynthesisType {Id = "C4_photosynthesis_leafweb", Name = "C4 Photosynthesis", SortOrder = 2},
new PhotosynthesisType {Id = "CAM_photosynthesis_leafweb", Name = "CAM Photosynthesis", SortOrder = 3}
};
context.PhotosynthesisTypes.AddRange(photosynthesisTypes);