Sync-kibővítése
This commit is contained in:
@@ -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<CheckListTemplateRow> CheckListTemplateRows { get; set; }
|
||||
public DbSet<CheckPoint> CheckPoints { get; set; }
|
||||
public DbSet<Equipment> Equipments { get; set; }
|
||||
public DbSet<Location> Locations { get; set; }
|
||||
|
||||
public AppDbContext()
|
||||
{
|
||||
|
||||
@@ -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!;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user