diff --git a/src/WorkFlowCheck.MAUI/DataLayer/AppDbContext.cs b/src/WorkFlowCheck.MAUI/DataLayer/AppDbContext.cs index 048c1d4..fd6b2b6 100644 --- a/src/WorkFlowCheck.MAUI/DataLayer/AppDbContext.cs +++ b/src/WorkFlowCheck.MAUI/DataLayer/AppDbContext.cs @@ -5,6 +5,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; using WorkFlowCheck.MAUI.DataLayer.Entities; +using Location = WorkFlowCheck.MAUI.DataLayer.Entities.Location; namespace WorkFlowCheck.MAUI.DataLayer { @@ -16,6 +17,7 @@ namespace WorkFlowCheck.MAUI.DataLayer public DbSet CheckListTemplateRows { get; set; } public DbSet CheckPoints { get; set; } public DbSet Equipments { get; set; } + public DbSet Locations { get; set; } public AppDbContext() { diff --git a/src/WorkFlowCheck.MAUI/DataLayer/Entities/Location.cs b/src/WorkFlowCheck.MAUI/DataLayer/Entities/Location.cs new file mode 100644 index 0000000..a9eb60b --- /dev/null +++ b/src/WorkFlowCheck.MAUI/DataLayer/Entities/Location.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WorkFlowCheck.MAUI.DataLayer.Entities +{ + public class Location + { + public int Id { get; set; } + public string FullName { get; set; } = null!; + } +} diff --git a/src/WorkFlowCheck.MAUI/Pages/System/SyncPage.xaml b/src/WorkFlowCheck.MAUI/Pages/System/SyncPage.xaml index 3136b80..4a864b3 100644 --- a/src/WorkFlowCheck.MAUI/Pages/System/SyncPage.xaml +++ b/src/WorkFlowCheck.MAUI/Pages/System/SyncPage.xaml @@ -2,13 +2,9 @@ + Title="Adatok szinkronizálása"> -