hrms-api-backend/BMA.EHR.Application/Common/Interfaces/IApplicationDBContext.cs
2023-11-16 13:17:54 +07:00

13 lines
276 B
C#

using Microsoft.EntityFrameworkCore;
namespace BMA.EHR.Application.Common.Interfaces
{
public interface IApplicationDBContext
{
DbSet<T> Set<T>() where T : class;
void Attatch<T>(T entity) where T : class;
Task<int> SaveChangesAsync();
}
}