forked from ddrilling/AsbCloudServer
add default WellSectionTypes
This commit is contained in:
parent
e96a9820db
commit
26f291806f
@ -236,6 +236,15 @@ namespace AsbCloudDb.Model
|
||||
new FileCategory {Id = 12, Name = "Рапорт", ShortName = "report"}
|
||||
});
|
||||
});
|
||||
|
||||
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 = "Хвостовик"},
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
private static void FillDemoData(ModelBuilder modelBuilder)
|
||||
|
Loading…
Reference in New Issue
Block a user