จัดระเบียบ Code ใหม่ และเพิ่ม Extension Method
implement GenericRepository Class ใหม่
This commit is contained in:
parent
e49c6a4aca
commit
89de09d213
21 changed files with 1439 additions and 63 deletions
|
|
@ -6,11 +6,10 @@ using Microsoft.EntityFrameworkCore;
|
|||
namespace BMA.EHR.Infrastructure.Persistence
|
||||
{
|
||||
public class ApplicationDBContext : DbContext, IApplicationDBContext
|
||||
{
|
||||
public ApplicationDBContext(DbContextOptions<ApplicationDBContext> options)
|
||||
: base(options)
|
||||
{
|
||||
}
|
||||
{
|
||||
public ApplicationDBContext(DbContextOptions<ApplicationDBContext> options) : base(options)
|
||||
{
|
||||
}
|
||||
|
||||
#region " Prefix "
|
||||
|
||||
|
|
@ -33,8 +32,8 @@ namespace BMA.EHR.Infrastructure.Persistence
|
|||
#endregion
|
||||
|
||||
public Task<int> SaveChangesAsync()
|
||||
{
|
||||
return base.SaveChangesAsync();
|
||||
}
|
||||
}
|
||||
{
|
||||
return base.SaveChangesAsync();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue