Införande av repository method

This commit is contained in:
2024-05-22 11:10:37 +02:00
parent 673387215d
commit c7d4307f47
23 changed files with 541 additions and 17 deletions

View File

@ -0,0 +1,13 @@
using Accounting.Models;
using Microsoft.EntityFrameworkCore;
namespace Accounting.DAL;
public class DataContext : DbContext
{
public DataContext(DbContextOptions options) : base(options)
{
}
public DbSet<AccountRecord> AccountRecords { get; set; }
}