API_Finshark/Data/ApplicationDbContext.cs
Marc Wieland da8f1f8ba3 Init
2025-09-26 08:51:10 +02:00

21 lines
478 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using api.Models;
using Microsoft.EntityFrameworkCore;
namespace api.Data
{
public class ApplicationDbContext : DbContext
{
public ApplicationDbContext(DbContextOptions dbContextOptions) : base(dbContextOptions)
{
}
public DbSet<Stock> Stocks { get; set; }
public DbSet<Comment> Comments { get; set; }
}
}