refactor: Projektdateien migriert. Cloud-NuGet-Pakete durch lokale NuGet-Projekte ersetzt.
This commit is contained in:
17
HRD.WebApi/DAL/WebApiBaseContext.cs
Normal file
17
HRD.WebApi/DAL/WebApiBaseContext.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace HRD.WebApi.DAL
|
||||
{
|
||||
public abstract class WebApiBaseContext : DbContext
|
||||
{
|
||||
public WebApiBaseContext() : base(WebApiConfig.SQLOptions())
|
||||
{
|
||||
}
|
||||
|
||||
public WebApiBaseContext(DbContextOptions<DbContext> options)
|
||||
: base(options)
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user