18 private Object locker =
new Object();
19 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
22 swigCPtr =
new HandleRef(
this, cPtr);
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
27 return (obj ==
null) ?
new HandleRef(
null, IntPtr.Zero) : obj.swigCPtr;
30 protected override void Dispose(
bool disposing) {
32 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
37 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
39 base.Dispose(disposing);
44 : this(
TD_DbPINVOKE.new_OdDbTransactionReactor(), MemoryManager.GetMemoryManager().GetCurrentTransaction() == null)
46 MemoryTransaction mTr = MemoryManager.GetMemoryManager().GetCurrentTransaction();
52 SwigDirectorConnect();
53 DelegateHolder.OnHoldSwigDirectorDelegates(
this);
57 MemoryManager mMan = MemoryManager.GetMemoryManager();
58 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
98 MemoryManager mMan = MemoryManager.GetMemoryManager();
99 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
163 private void SwigDirectorConnect() {
164 if (SwigDerivedClassHasMethod(
"queryX", swigMethodTypes0))
166 if (SwigDerivedClassHasMethod(
"isA", swigMethodTypes1))
168 if (SwigDerivedClassHasMethod(
"copyFrom", swigMethodTypes2))
170 if (SwigDerivedClassHasMethod(
"transactionAboutToStart", swigMethodTypes3))
172 if (SwigDerivedClassHasMethod(
"transactionStarted", swigMethodTypes4))
174 if (SwigDerivedClassHasMethod(
"transactionAboutToEnd", swigMethodTypes5))
176 if (SwigDerivedClassHasMethod(
"transactionEnded", swigMethodTypes6))
178 if (SwigDerivedClassHasMethod(
"transactionAboutToAbort", swigMethodTypes7))
180 if (SwigDerivedClassHasMethod(
"transactionAborted", swigMethodTypes8))
182 if (SwigDerivedClassHasMethod(
"endCalledOnOutermostTransaction", swigMethodTypes9))
184 if (SwigDerivedClassHasMethod(
"objectIdSwapped", swigMethodTypes10))
186 TD_DbPINVOKE.
OdDbTransactionReactor_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10);
189 private bool SwigDerivedClassHasMethod(
string methodName, global::System.Type[] methodTypes) {
190 global::System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, global::System.Reflection.BindingFlags.Public | global::System.Reflection.BindingFlags.NonPublic | global::System.Reflection.BindingFlags.Instance,
null, methodTypes,
null);
192 return hasDerivedMethod;
195 private IntPtr SwigDirectorMethodqueryX(IntPtr protocolClass) {
204 private IntPtr SwigDirectorMethodisA() {
211 private void SwigDirectorMethodcopyFrom(IntPtr pSource) {
217 private void SwigDirectorMethodtransactionAboutToStart(IntPtr pDb) {
219 (OdDbDatabase)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbDatabase),pDb,
false)
223 private void SwigDirectorMethodtransactionStarted(IntPtr pDb) {
225 (OdDbDatabase)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbDatabase),pDb,
false)
229 private void SwigDirectorMethodtransactionAboutToEnd(IntPtr pDb) {
231 (OdDbDatabase)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbDatabase),pDb,
false)
235 private void SwigDirectorMethodtransactionEnded(IntPtr pDb) {
237 (OdDbDatabase)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbDatabase),pDb,
false)
241 private void SwigDirectorMethodtransactionAboutToAbort(IntPtr pDb) {
243 (OdDbDatabase)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbDatabase),pDb,
false)
247 private void SwigDirectorMethodtransactionAborted(IntPtr pDb) {
249 (OdDbDatabase)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbDatabase),pDb,
false)
253 private void SwigDirectorMethodendCalledOnOutermostTransaction(IntPtr pDb) {
255 (OdDbDatabase)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbDatabase),pDb,
false)
259 private void SwigDirectorMethodobjectIdSwapped(IntPtr pTransObj, IntPtr pOtherTransObj, IntPtr pDb) {
261 (OdDbObject)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbObject),pTransObj,
false)
263 (OdDbObject)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbObject),pOtherTransObj,
false)
265 (OdDbDatabase)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbDatabase),pDb,
false)
293 private static global::System.Type[] swigMethodTypes0 =
new global::System.Type[] { typeof(
OdRxClass) };
294 private static global::System.Type[] swigMethodTypes1 =
new global::System.Type[] { };
295 private static global::System.Type[] swigMethodTypes2 =
new global::System.Type[] { typeof(
OdRxObject) };
296 private static global::System.Type[] swigMethodTypes3 =
new global::System.Type[] { typeof(OdDbDatabase) };
297 private static global::System.Type[] swigMethodTypes4 =
new global::System.Type[] { typeof(OdDbDatabase) };
298 private static global::System.Type[] swigMethodTypes5 =
new global::System.Type[] { typeof(OdDbDatabase) };
299 private static global::System.Type[] swigMethodTypes6 =
new global::System.Type[] { typeof(OdDbDatabase) };
300 private static global::System.Type[] swigMethodTypes7 =
new global::System.Type[] { typeof(OdDbDatabase) };
301 private static global::System.Type[] swigMethodTypes8 =
new global::System.Type[] { typeof(OdDbDatabase) };
302 private static global::System.Type[] swigMethodTypes9 =
new global::System.Type[] { typeof(OdDbDatabase) };
303 private static global::System.Type[] swigMethodTypes10 =
new global::System.Type[] { typeof(OdDbObject), typeof(OdDbObject), typeof(OdDbDatabase) };
static void OdDbTransactionReactor_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, OdDbTransactionReactor.SwigDelegateOdDbTransactionReactor_0 delegate0, OdDbTransactionReactor.SwigDelegateOdDbTransactionReactor_1 delegate1, OdDbTransactionReactor.SwigDelegateOdDbTransactionReactor_2 delegate2, OdDbTransactionReactor.SwigDelegateOdDbTransactionReactor_3 delegate3, OdDbTransactionReactor.SwigDelegateOdDbTransactionReactor_4 delegate4, OdDbTransactionReactor.SwigDelegateOdDbTransactionReactor_5 delegate5, OdDbTransactionReactor.SwigDelegateOdDbTransactionReactor_6 delegate6, OdDbTransactionReactor.SwigDelegateOdDbTransactionReactor_7 delegate7, OdDbTransactionReactor.SwigDelegateOdDbTransactionReactor_8 delegate8, OdDbTransactionReactor.SwigDelegateOdDbTransactionReactor_9 delegate9, OdDbTransactionReactor.SwigDelegateOdDbTransactionReactor_10 delegate10)