Na most működik az API + adatbázis
This commit is contained in:
@@ -4,6 +4,7 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using WorkFlowCheck.DL.Configurations;
|
||||
|
||||
namespace WorkFlowCheck.DL
|
||||
{
|
||||
@@ -15,5 +16,10 @@ namespace WorkFlowCheck.DL
|
||||
}
|
||||
|
||||
public DbSet<Entities.User> Users { get; set; } = null!;
|
||||
|
||||
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
||||
{
|
||||
modelBuilder.ApplyConfiguration(new UserTypeConfiguration());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user