diff --git a/detect.gui/Context/DetectContext.cs b/detect.gui/Context/DetectContext.cs index 16e1a5e..82a96a0 100644 --- a/detect.gui/Context/DetectContext.cs +++ b/detect.gui/Context/DetectContext.cs @@ -33,9 +33,9 @@ public class DetectContext : DbContext Set().Add(new UserAuthorityEntity { Id = 3, UserId = 1, AuthorityId = 3 }); Set().Add(new UserAuthorityEntity { Id = 4, UserId = 1, AuthorityId = 4 }); - Set().Add(new DeviceEntity { Id = 1, Name = "设备11", DeviceIp = "192.168.101.253" }); - Set().Add(new DeviceEntity { Id = 2, Name = "设备12" }); - Set().Add(new DeviceEntity { Id = 3, Name = "设备13" }); + // Set().Add(new DeviceEntity { Id = 1, Name = "设备11", DeviceIp = "192.168.101.253" }); + // Set().Add(new DeviceEntity { Id = 2, Name = "设备12" }); + // Set().Add(new DeviceEntity { Id = 3, Name = "设备13" }); SaveChanges(); }