database query : add with(nolock)

This commit is contained in:
chi
2024-01-30 10:05:52 +09:00
parent ed37fd6c40
commit 3c86087f76
53 changed files with 6656 additions and 6423 deletions

View File

@@ -319,17 +319,18 @@ namespace FEQ0000
}
this.Text = $"데이터 입력중({itemCount}/{totalcnt})";
System.Threading.Thread.Sleep(500);
if (itemCount % 10 == 0) System.Windows.Forms.Application.DoEvents();
}
if (crmode == eImporttype.CR)
taCR.Update(this.dsPRJ.EETGW_PurchaseCR);
else if (crmode == eImporttype.NR)
taNR.Update(this.dsPRJ.Purchase);
else if (crmode == eImporttype.EB)
taEB.Update(this.dsPRJ.EETGW_PurchaseEB);
//if (crmode == eImporttype.CR)
// taCR.Update(this.dsPRJ.EETGW_PurchaseCR);
//else if (crmode == eImporttype.NR)
// taNR.Update(this.dsPRJ.Purchase);
//else if (crmode == eImporttype.EB)
// taEB.Update(this.dsPRJ.EETGW_PurchaseEB);
dsPRJ.AcceptChanges();
FCOMMON.Util.MsgI("Save OK");