fix default entities ids

This commit is contained in:
Фролов 2021-08-10 15:57:58 +05:00
parent ae5954e345
commit 791d09ce2b

View File

@ -239,10 +239,12 @@ namespace AsbCloudDb.Model
modelBuilder.Entity<WellSectionType>(entity => {
entity.HasData(new List<WellSectionType>{
new WellSectionType{ Id = 1, Caption = "Направление"},
new WellSectionType{ Id = 1, Caption = "Кондуктор"},
new WellSectionType{ Id = 1, Caption = "Транспорт. ствол"},
new WellSectionType{ Id = 1, Caption = "Хвостовик"},
new WellSectionType{ Id = 1, Caption = "Пилотный ствол"},
new WellSectionType{ Id = 2, Caption = "Направление"},
new WellSectionType{ Id = 3, Caption = "Кондуктор"},
new WellSectionType{ Id = 4, Caption = "Эксплуатационная колонна"},
new WellSectionType{ Id = 5, Caption = "Транспортный ствол"},
new WellSectionType{ Id = 6, Caption = "Хвостовик"},
});
});
}