Max,
>So I'm guessing that I could override HookParentTransactionBegin() in my parent business object and store the handles passed in the eventarg somewhere with global scope. Then in the CheckRulesHook of my child rules object I would need to retrieve the connection handle and use it when executing my query. I have no clue how to do that.
If you want to store information that is globally accessible, you can create a static field or property in which to store the information. For example:
public class MyClass
{
public static mmBusinessStateChangeEventArgs TrxEventArgs;
}
Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com