1
1
// <auto-generated />
2
2
using System ;
3
- using IoTSharp . Gateway . Modbus . Data ;
3
+ using IoTSharp . Gateways . Data ;
4
4
using Microsoft . EntityFrameworkCore ;
5
5
using Microsoft . EntityFrameworkCore . Infrastructure ;
6
6
using Microsoft . EntityFrameworkCore . Storage . ValueConversion ;
7
7
8
8
#nullable disable
9
9
10
- namespace IoTSharp . Gateway . Modbus . Migrations
10
+ namespace IoTSharp . Gateways . Migrations
11
11
{
12
12
[ DbContext ( typeof ( ApplicationDbContext ) ) ]
13
13
partial class ApplicationDbContextModelSnapshot : ModelSnapshot
@@ -17,7 +17,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
17
17
#pragma warning disable 612 , 618
18
18
modelBuilder . HasAnnotation ( "ProductVersion" , "6.0.7" ) ;
19
19
20
- modelBuilder . Entity ( "IoTSharp.Gateway.Modbus .Data.ModbusSlave" , b =>
20
+ modelBuilder . Entity ( "IoTSharp.Gateways .Data.ModbusSlave" , b =>
21
21
{
22
22
b . Property < Guid > ( "Id" )
23
23
. ValueGeneratedOnAdd ( )
@@ -45,7 +45,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
45
45
b . ToTable ( "ModbusSlaves" ) ;
46
46
} ) ;
47
47
48
- modelBuilder . Entity ( "IoTSharp.Gateway.Modbus .Data.PointMapping" , b =>
48
+ modelBuilder . Entity ( "IoTSharp.Gateways .Data.PointMapping" , b =>
49
49
{
50
50
b . Property < Guid > ( "Id" )
51
51
. ValueGeneratedOnAdd ( )
@@ -288,9 +288,9 @@ protected override void BuildModel(ModelBuilder modelBuilder)
288
288
b . ToTable ( "AspNetUserTokens" , ( string ) null ) ;
289
289
} ) ;
290
290
291
- modelBuilder . Entity ( "IoTSharp.Gateway.Modbus .Data.PointMapping" , b =>
291
+ modelBuilder . Entity ( "IoTSharp.Gateways .Data.PointMapping" , b =>
292
292
{
293
- b . HasOne ( "IoTSharp.Gateway.Modbus .Data.ModbusSlave" , "Owner" )
293
+ b . HasOne ( "IoTSharp.Gateways .Data.ModbusSlave" , "Owner" )
294
294
. WithMany ( "PointMappings" )
295
295
. HasForeignKey ( "OwnerId" ) ;
296
296
@@ -348,7 +348,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
348
348
. IsRequired ( ) ;
349
349
} ) ;
350
350
351
- modelBuilder . Entity ( "IoTSharp.Gateway.Modbus .Data.ModbusSlave" , b =>
351
+ modelBuilder . Entity ( "IoTSharp.Gateways .Data.ModbusSlave" , b =>
352
352
{
353
353
b . Navigation ( "PointMappings" ) ;
354
354
} ) ;
0 commit comments