mirror of
http://git.xinwangdao.com/cnnc-embedded-parts-detect/detect.git
synced 2025-06-24 05:24:12 +08:00
fixed
This commit is contained in:
parent
c89d26d177
commit
2749a840ec
@ -33,9 +33,9 @@ public class DetectContext : DbContext
|
||||
Set<UserAuthorityEntity>().Add(new UserAuthorityEntity { Id = 3, UserId = 1, AuthorityId = 3 });
|
||||
Set<UserAuthorityEntity>().Add(new UserAuthorityEntity { Id = 4, UserId = 1, AuthorityId = 4 });
|
||||
|
||||
Set<DeviceEntity>().Add(new DeviceEntity { Id = 1, Name = "设备11", DeviceIp = "192.168.101.253" });
|
||||
Set<DeviceEntity>().Add(new DeviceEntity { Id = 2, Name = "设备12" });
|
||||
Set<DeviceEntity>().Add(new DeviceEntity { Id = 3, Name = "设备13" });
|
||||
// Set<DeviceEntity>().Add(new DeviceEntity { Id = 1, Name = "设备11", DeviceIp = "192.168.101.253" });
|
||||
// Set<DeviceEntity>().Add(new DeviceEntity { Id = 2, Name = "设备12" });
|
||||
// Set<DeviceEntity>().Add(new DeviceEntity { Id = 3, Name = "设备13" });
|
||||
|
||||
SaveChanges();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user