hn-dotnet/Application/IDbContext.cs

14 lines
260 B
C#

using HN.Domain;
using Microsoft.EntityFrameworkCore;
namespace HN.Application
{
/// <summary>
/// Interface permettant l'accès aux DbSet pour toute la partie Query.
/// </summary>
public interface IDbContext
{
DbSet<Link> Links { get; }
}
}