2023-11-16 13:17:54 +07:00
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
2023-10-09 11:25:07 +07:00
|
|
|
|
|
|
|
|
|
|
namespace BMA.EHR.Application.Common.Interfaces
|
|
|
|
|
|
{
|
|
|
|
|
|
public interface IApplicationDBExamContext
|
|
|
|
|
|
{
|
|
|
|
|
|
DbSet<T> Set<T>() where T : class;
|
|
|
|
|
|
|
|
|
|
|
|
void Attatch<T>(T entity) where T : class;
|
|
|
|
|
|
|
|
|
|
|
|
Task<int> SaveChangesAsync();
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|