Hi,
You could try the using statement (not the using directive!). See: https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/statements/using
This should free the resource immediately after the end of the using statement:
So in your case it would be something like this:
protected override void OnLeaveRow()
{
using (var mytable = new DbTable.mytable())
{
mytable.Insert(() => Gid.Value =
"myData", ProcessId.Value = 12345);
}
}
Don’t know if it will work. Let me know! 😉
Best regards,
Harry Kleinsmit.
--
You received this message because you are subscribed to the Google Groups "Migrated By Firefly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to migrated-by-fir...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/migrated-by-firefly/0056af9e-11e2-4fd4-b5a9-2e72e2e911c2n%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/migrated-by-firefly/d92fd0a1-6e83-4c43-876d-7326aef4cd6bn%40googlegroups.com.
I have a private class "NoTransactionEntityDataProvider" in ENV.ConnectionManager but without a Init-Method.
remark: since now we only have one Oracle-Connection/DataProvider
To view this discussion visit https://groups.google.com/d/msgid/migrated-by-firefly/ca2c8cf2-afe8-4f4f-b8b7-6f2b89a814b8n%40googlegroups.com.