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
167 changed files with 2126 additions and 508 deletions
Showing only changes of commit 53a0439edb - Show all commits
.env
ApiDto
Application/Common/Mappings
Backend.sln
Endpoint
Persistence
Security
SqlData
Application
Application.csproj
Common
Cqrs
DependencyInjection.cs
Interfaces
Domain
Persistence

@ -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);
}