23 lines
540 B
C#
23 lines
540 B
C#
using DaSaSo.Domain.Model;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace DaSaSo.EntityFramework
|
|
{
|
|
public class DaSaSoDbContext : DbContext
|
|
{
|
|
public DaSaSoDbContext(DbContextOptions options) : base(options)
|
|
{
|
|
}
|
|
|
|
public DbSet<Client> Clients { get; set; }
|
|
public DbSet<Project> Projects { get; set; }
|
|
public DbSet<Buildingsite> Buildingsites { get; set; }
|
|
|
|
}
|
|
}
|