Add Application configuration #11

Merged
Wesser merged 128 commits from feat/add-setup into release/v1.0.0 2024-06-01 07:35:30 +03:00
Showing only changes of commit 53a0439edb - Show all commits

View File

@ -0,0 +1,9 @@
using Microsoft.EntityFrameworkCore;
namespace Mirea.Api.DataAccess.Persistence.Common;
public abstract class BaseDbContext<TContext>(DbContextOptions<TContext> options) : DbContext(options) where TContext : DbContext
{
public void ApplyConfigurations(ModelBuilder modelBuilder) =>
base.OnModelCreating(modelBuilder);
}