[Info-ingres] How to code table locking in C# .Net

Ingres Forums info-ingres at kettleriverconsulting.com
Thu Mar 12 12:19:29 UTC 2015


This seems to work, at this point I'll stick with it unless someone has
a better way using the C# Ingres libraries:

I run this after I first connect using C#, then commit and it
successfully will throw exception if lock request exceeds the specified
time:

SET LOCKMODE SESSION WHERE TIMEOUT=5


-- 
kyledarrenhanson
------------------------------------------------------------------------
kyledarrenhanson's Profile: http://community.actian.com/forum/member.php?userid=394
View this thread: http://community.actian.com/forum/showthread.php?t=16917




More information about the Info-ingres mailing list