when we do a BeginRefresh("StaticFindMethod") it always work mulit times but not the BeginRefresh("StaticUpdateMethod")
public static void StaticUpdateMethod(ClosingRegisterER model, EventHandler<DataPortalResult<ClosingRegisterER>> callback)
{
var dp = new DataPortal<ClosingRegisterER>();
dp.UpdateCompleted += callback;
dp.BeginUpdate(model);
}
it returns The Remote Server returned an error: NotFound after the second call, 1st call working, why failling at second call and after?
server signature:
[Transactional(TransactionalTypes.TransactionScope)]
protected override void DataPortal_Update()
{
using (var ctx = ConnectionManager<SqlConnection>.GetManager("StaffSenseDb"))
{
FieldManager.UpdateChildren(this);
}
}
Copyright (c) Marimer LLC