BaseService BL projektbe
This commit is contained in:
@@ -1,10 +1,6 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.ChangeTracking;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using WorkFlowCheck.Common.RequestContext;
|
||||
using WorkFlowCheck.Common.Security;
|
||||
using WorkFlowCheck.DL.Configurations;
|
||||
@@ -23,14 +19,6 @@ namespace WorkFlowCheck.DL
|
||||
_requestContext = requestContext;
|
||||
}
|
||||
|
||||
#if !DEBUG
|
||||
private dynamic _requestContext;
|
||||
public AppDbContext(DbContextOptions<AppDbContext> options)
|
||||
: base(options)
|
||||
{
|
||||
_requestContext = new { CurrentUserEmail = "", CurrentUsername = "admin", TraceId = 0 };
|
||||
}
|
||||
#endif
|
||||
#region Entities DbSet
|
||||
public DbSet<Entities.CheckListHeader> CheckListHeaders { get; set; } = null!;
|
||||
public DbSet<Entities.CheckListRow> CheckListRows { get; set; } = null!;
|
||||
|
||||
Reference in New Issue
Block a user