Införande av repository method
This commit is contained in:
13
Accounting.DAL/DataContext.cs
Normal file
13
Accounting.DAL/DataContext.cs
Normal 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; }
|
||||
}
|
||||
Reference in New Issue
Block a user