2024-12-10 19:20:51 +04:00

18 lines
428 B
C#

using Domain.Entities;
using Microsoft.EntityFrameworkCore;
namespace Persistence
{
public class RepositoryDbContext : DbContext
{
public DbSet<Region> Regions { get; set; }
public DbSet<City> Cities { get; set; }
public DbSet<Street> Streets { get; set; }
public RepositoryDbContext(DbContextOptions<RepositoryDbContext> options)
: base(options)
{
}
}
}