fix : Update LeaveRequest Error Tracking Entity Id
Some checks failed
release-dev / release-dev (push) Failing after 13s
Some checks failed
release-dev / release-dev (push) Failing after 13s
This commit is contained in:
parent
d67e0450e5
commit
069f427459
5 changed files with 19 additions and 8 deletions
|
|
@ -49,5 +49,10 @@ namespace BMA.EHR.Infrastructure.Persistence
|
|||
{
|
||||
Attach(entity);
|
||||
}
|
||||
|
||||
public void Detach<T>(T entity) where T : class
|
||||
{
|
||||
base.Entry(entity).State = EntityState.Detached;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue