ปรับปรุงหน้า migration ให้ดูง่ายขึ้น และอื่นๆ อีกหลายจุด
This commit is contained in:
@@ -301,7 +301,7 @@ namespace TodoAPI2.Models
|
||||
public void Delete(int id)
|
||||
{
|
||||
var details = from i in _repository.Context.eva_adjust_postponement_detail
|
||||
where i.adjust_postponement_id == id
|
||||
where i.adjust_postponement_id == id || i.adjust_postponement_quota_id == id
|
||||
select i;
|
||||
_repository.Context.eva_adjust_postponement_detail.RemoveRange(details);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user