hrms-api-backend/BMA.EHR.Application/Common/Interfaces/IApplicationDBExamContext.cs

15 lines
324 B
C#
Raw Normal View History

using BMA.EHR.Domain.Models.MetaData;
using Microsoft.EntityFrameworkCore;
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();
}
}