14 lines
432 B
C#
14 lines
432 B
C#
using Microsoft.EntityFrameworkCore;
|
|
using ComplianceNFs.Core.Entities;
|
|
|
|
namespace ComplianceNFs.Infrastructure.Repositories
|
|
{
|
|
public class ComplianceNFsDbContext : DbContext
|
|
{
|
|
public ComplianceNFsDbContext(DbContextOptions<ComplianceNFsDbContext> options) : base(options) { }
|
|
|
|
public DbSet<EnergyInvoice> EnergyInvoices { get; set; }
|
|
// Add other DbSets as needed (e.g., BuyingRecord, etc.)
|
|
}
|
|
}
|