Пример #1
0
        public Int32 FieldChangeComplete(Int32 cFields, object fields, NetOffice.ADODBApi.Error pError, NetOffice.ADODBApi.Enums.EventStatusEnum adStatus, NetOffice.ADODBApi._Recordset pRecordset)
        {
            object[] paramsArray = Invoker.ValidateParamsArray(cFields, fields, pError, adStatus, pRecordset);
            object   returnItem  = Invoker.MethodReturn(this, "FieldChangeComplete", paramsArray);

            return(NetRuntimeSystem.Convert.ToInt32(returnItem));
        }
        public Int32 InfoMessage(NetOffice.ADODBApi.Error pError, NetOffice.ADODBApi.Enums.EventStatusEnum adStatus, NetOffice.ADODBApi._Connection pConnection)
        {
            object[] paramsArray = Invoker.ValidateParamsArray(pError, adStatus, pConnection);
            object   returnItem  = Invoker.MethodReturn(this, "InfoMessage", paramsArray);

            return(NetRuntimeSystem.Convert.ToInt32(returnItem));
        }
        public Int32 RollbackTransComplete(NetOffice.ADODBApi.Error pError, NetOffice.ADODBApi.Enums.EventStatusEnum adStatus, NetOffice.ADODBApi._Connection_Deprecated pConnection)
        {
            object[] paramsArray = Invoker.ValidateParamsArray(pError, adStatus, pConnection);
            object   returnItem  = Invoker.MethodReturn(this, "RollbackTransComplete", paramsArray);

            return(NetRuntimeSystem.Convert.ToInt32(returnItem));
        }
        public Int32 ExecuteComplete(Int32 recordsAffected, NetOffice.ADODBApi.Error pError, NetOffice.ADODBApi.Enums.EventStatusEnum adStatus, NetOffice.ADODBApi._Command_Deprecated pCommand, NetOffice.ADODBApi._Recordset_Deprecated pRecordset, NetOffice.ADODBApi._Connection_Deprecated pConnection)
        {
            object[] paramsArray = Invoker.ValidateParamsArray(recordsAffected, pError, adStatus, pCommand, pRecordset, pConnection);
            object   returnItem  = Invoker.MethodReturn(this, "ExecuteComplete", paramsArray);

            return(NetRuntimeSystem.Convert.ToInt32(returnItem));
        }
        public Int32 FetchComplete(NetOffice.ADODBApi.Error pError, NetOffice.ADODBApi.Enums.EventStatusEnum adStatus, NetOffice.ADODBApi._Recordset_Deprecated pRecordset)
        {
            object[] paramsArray = Invoker.ValidateParamsArray(pError, adStatus, pRecordset);
            object   returnItem  = Invoker.MethodReturn(this, "FetchComplete", paramsArray);

            return(NetRuntimeSystem.Convert.ToInt32(returnItem));
        }
        public Int32 BeginTransComplete(Int32 transactionLevel, NetOffice.ADODBApi.Error pError, NetOffice.ADODBApi.Enums.EventStatusEnum adStatus, NetOffice.ADODBApi._Connection pConnection)
        {
            object[] paramsArray = Invoker.ValidateParamsArray(transactionLevel, pError, adStatus, pConnection);
            object   returnItem  = Invoker.MethodReturn(this, "BeginTransComplete", paramsArray);

            return(NetRuntimeSystem.Convert.ToInt32(returnItem));
        }
Пример #7
0
        public void ExecuteComplete([In] object recordsAffected, [In, MarshalAs(UnmanagedType.IDispatch)] object pError, [In] object adStatus, [In, MarshalAs(UnmanagedType.IDispatch)] object pCommand, [In, MarshalAs(UnmanagedType.IDispatch)] object pRecordset, [In, MarshalAs(UnmanagedType.IDispatch)] object pConnection)
        {
            Delegate[] recipients = _eventBinding.GetEventRecipients("ExecuteComplete");
            if ((true == _eventClass.IsCurrentlyDisposing) || (recipients.Length == 0))
            {
                Invoker.ReleaseParamsArray(recordsAffected, pError, adStatus, pCommand, pRecordset, pConnection);
                return;
            }

            Int32 newRecordsAffected = Convert.ToInt32(recordsAffected);

            NetOffice.ADODBApi.Error newpError = Factory.CreateObjectFromComProxy(_eventClass, pError) as NetOffice.ADODBApi.Error;
            NetOffice.ADODBApi.Enums.EventStatusEnum newadStatus = (NetOffice.ADODBApi.Enums.EventStatusEnum)adStatus;
            NetOffice.ADODBApi._Command    newpCommand           = Factory.CreateObjectFromComProxy(_eventClass, pCommand) as NetOffice.ADODBApi._Command;
            NetOffice.ADODBApi._Recordset  newpRecordset         = Factory.CreateObjectFromComProxy(_eventClass, pRecordset) as NetOffice.ADODBApi._Recordset;
            NetOffice.ADODBApi._Connection newpConnection        = Factory.CreateObjectFromComProxy(_eventClass, pConnection) as NetOffice.ADODBApi._Connection;
            object[] paramsArray = new object[6];
            paramsArray[0] = newRecordsAffected;
            paramsArray[1] = newpError;
            paramsArray[2] = newadStatus;
            paramsArray[3] = newpCommand;
            paramsArray[4] = newpRecordset;
            paramsArray[5] = newpConnection;
            _eventBinding.RaiseCustomEvent("ExecuteComplete", ref paramsArray);
        }
Пример #8
0
 public NetOffice.ADODBApi.Error this[object index]
 {
     get
     {
         object[] paramsArray = Invoker.ValidateParamsArray(index);
         object   returnItem  = Invoker.PropertyGet(this, "Item", paramsArray);
         NetOffice.ADODBApi.Error newObject = NetOffice.Factory.CreateKnownObjectFromComProxy(this, returnItem, NetOffice.ADODBApi.Error.LateBindingApiWrapperType) as NetOffice.ADODBApi.Error;
         return(newObject);
     }
 }
Пример #9
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="pError"></param>
        /// <param name="adStatus"></param>
        /// <param name="pConnection"></param>
        public virtual void CommitTransComplete([In, MarshalAs(UnmanagedType.IDispatch)] object pError, [In] object adStatus, [In, MarshalAs(UnmanagedType.IDispatch)] object pConnection)
        {
            if (!Validate("CommitTransComplete"))
            {
                Invoker.ReleaseParamsArray(pError, adStatus, pConnection);                return;
            }

            NetOffice.ADODBApi.Error newpError = Factory.CreateKnownObjectFromComProxy <NetOffice.ADODBApi.Error>(EventClass, pError, typeof(NetOffice.ADODBApi.Error));
            NetOffice.ADODBApi.Enums.EventStatusEnum newadStatus    = (NetOffice.ADODBApi.Enums.EventStatusEnum)adStatus;
            NetOffice.ADODBApi._Connection           newpConnection = Factory.CreateEventArgumentObjectFromComProxy(EventClass, pConnection) as NetOffice.ADODBApi._Connection;
            object[] paramsArray = new object[3];
            paramsArray[0] = newpError;
            paramsArray[1] = newadStatus;
            paramsArray[2] = newpConnection;
            EventBinding.RaiseCustomEvent("CommitTransComplete", ref paramsArray);
        }
Пример #10
0
        public void FetchComplete([In, MarshalAs(UnmanagedType.IDispatch)] object pError, [In] object adStatus, [In, MarshalAs(UnmanagedType.IDispatch)] object pRecordset)
        {
            if (!Validate("FetchComplete"))
            {
                Invoker.ReleaseParamsArray(pError, adStatus, pRecordset);
                return;
            }

            NetOffice.ADODBApi.Error newpError = Factory.CreateKnownObjectFromComProxy <NetOffice.ADODBApi.Error>(EventClass, pError, NetOffice.ADODBApi.Error.LateBindingApiWrapperType);
            NetOffice.ADODBApi.Enums.EventStatusEnum newadStatus   = (NetOffice.ADODBApi.Enums.EventStatusEnum)adStatus;
            NetOffice.ADODBApi._Recordset            newpRecordset = Factory.CreateEventArgumentObjectFromComProxy(EventClass, pRecordset) as NetOffice.ADODBApi._Recordset;
            object[] paramsArray = new object[3];
            paramsArray[0] = newpError;
            paramsArray[1] = newadStatus;
            paramsArray[2] = newpRecordset;
            EventBinding.RaiseCustomEvent("FetchComplete", ref paramsArray);
        }
Пример #11
0
        public void FetchComplete([In, MarshalAs(UnmanagedType.IDispatch)] object pError, [In] object adStatus, [In, MarshalAs(UnmanagedType.IDispatch)] object pRecordset)
        {
            Delegate[] recipients = _eventBinding.GetEventRecipients("FetchComplete");
            if ((true == _eventClass.IsCurrentlyDisposing) || (recipients.Length == 0))
            {
                Invoker.ReleaseParamsArray(pError, adStatus, pRecordset);
                return;
            }

            NetOffice.ADODBApi.Error newpError = Factory.CreateObjectFromComProxy(_eventClass, pError) as NetOffice.ADODBApi.Error;
            NetOffice.ADODBApi.Enums.EventStatusEnum newadStatus   = (NetOffice.ADODBApi.Enums.EventStatusEnum)adStatus;
            NetOffice.ADODBApi._Recordset            newpRecordset = Factory.CreateObjectFromComProxy(_eventClass, pRecordset) as NetOffice.ADODBApi._Recordset;
            object[] paramsArray = new object[3];
            paramsArray[0] = newpError;
            paramsArray[1] = newadStatus;
            paramsArray[2] = newpRecordset;
            _eventBinding.RaiseCustomEvent("FetchComplete", ref paramsArray);
        }
Пример #12
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="adReason"></param>
        /// <param name="pError"></param>
        /// <param name="adStatus"></param>
        /// <param name="pRecordset"></param>
        public virtual void RecordsetChangeComplete([In] object adReason, [In, MarshalAs(UnmanagedType.IDispatch)] object pError, [In] object adStatus, [In, MarshalAs(UnmanagedType.IDispatch)] object pRecordset)
        {
            if (!Validate("RecordsetChangeComplete"))
            {
                Invoker.ReleaseParamsArray(adReason, pError, adStatus, pRecordset);
                return;
            }


            NetOffice.ADODBApi.Enums.EventReasonEnum newadReason = (NetOffice.ADODBApi.Enums.EventReasonEnum)adReason;
            NetOffice.ADODBApi.Error newpError = Factory.CreateKnownObjectFromComProxy <NetOffice.ADODBApi.Error>(EventClass, pError, typeof(NetOffice.ADODBApi.Error));
            NetOffice.ADODBApi.Enums.EventStatusEnum newadStatus   = (NetOffice.ADODBApi.Enums.EventStatusEnum)adStatus;
            NetOffice.ADODBApi._Recordset            newpRecordset = Factory.CreateEventArgumentObjectFromComProxy(EventClass, pRecordset) as NetOffice.ADODBApi._Recordset;
            object[] paramsArray = new object[4];
            paramsArray[0] = newadReason;
            paramsArray[1] = newpError;
            paramsArray[2] = newadStatus;
            paramsArray[3] = newpRecordset;
            EventBinding.RaiseCustomEvent("RecordsetChangeComplete", ref paramsArray);
        }
Пример #13
0
        public void BeginTransComplete([In] object transactionLevel, [In, MarshalAs(UnmanagedType.IDispatch)] object pError, [In] object adStatus, [In, MarshalAs(UnmanagedType.IDispatch)] object pConnection)
        {
            if (!Validate("BeginTransComplete"))
            {
                Invoker.ReleaseParamsArray(transactionLevel, pError, adStatus, pConnection);
                return;
            }

            Int32 newTransactionLevel = ToInt32(transactionLevel);

            NetOffice.ADODBApi.Error newpError = Factory.CreateKnownObjectFromComProxy <NetOffice.ADODBApi.Error>(EventClass, pError, NetOffice.ADODBApi.Error.LateBindingApiWrapperType);
            NetOffice.ADODBApi.Enums.EventStatusEnum newadStatus    = (NetOffice.ADODBApi.Enums.EventStatusEnum)adStatus;
            NetOffice.ADODBApi._Connection           newpConnection = Factory.CreateEventArgumentObjectFromComProxy(EventClass, pConnection) as NetOffice.ADODBApi._Connection;
            object[] paramsArray = new object[4];
            paramsArray[0] = newTransactionLevel;
            paramsArray[1] = newpError;
            paramsArray[2] = newadStatus;
            paramsArray[3] = newpConnection;
            EventBinding.RaiseCustomEvent("BeginTransComplete", ref paramsArray);
        }
Пример #14
0
        public void BeginTransComplete([In] object transactionLevel, [In, MarshalAs(UnmanagedType.IDispatch)] object pError, [In] object adStatus, [In, MarshalAs(UnmanagedType.IDispatch)] object pConnection)
        {
            Delegate[] recipients = _eventBinding.GetEventRecipients("BeginTransComplete");
            if ((true == _eventClass.IsCurrentlyDisposing) || (recipients.Length == 0))
            {
                Invoker.ReleaseParamsArray(transactionLevel, pError, adStatus, pConnection);
                return;
            }

            Int32 newTransactionLevel = Convert.ToInt32(transactionLevel);

            NetOffice.ADODBApi.Error newpError = Factory.CreateObjectFromComProxy(_eventClass, pError) as NetOffice.ADODBApi.Error;
            NetOffice.ADODBApi.Enums.EventStatusEnum newadStatus    = (NetOffice.ADODBApi.Enums.EventStatusEnum)adStatus;
            NetOffice.ADODBApi._Connection           newpConnection = Factory.CreateObjectFromComProxy(_eventClass, pConnection) as NetOffice.ADODBApi._Connection;
            object[] paramsArray = new object[4];
            paramsArray[0] = newTransactionLevel;
            paramsArray[1] = newpError;
            paramsArray[2] = newadStatus;
            paramsArray[3] = newpConnection;
            _eventBinding.RaiseCustomEvent("BeginTransComplete", ref paramsArray);
        }
Пример #15
0
        public void ExecuteComplete([In] object recordsAffected, [In, MarshalAs(UnmanagedType.IDispatch)] object pError, [In] object adStatus, [In, MarshalAs(UnmanagedType.IDispatch)] object pCommand, [In, MarshalAs(UnmanagedType.IDispatch)] object pRecordset, [In, MarshalAs(UnmanagedType.IDispatch)] object pConnection)
        {
            if (!Validate("ExecuteComplete"))
            {
                Invoker.ReleaseParamsArray(recordsAffected, pError, adStatus, pCommand, pRecordset, pConnection);
                return;
            }

            Int32 newRecordsAffected = ToInt32(recordsAffected);

            NetOffice.ADODBApi.Error newpError = Factory.CreateKnownObjectFromComProxy <NetOffice.ADODBApi.Error>(EventClass, pError, NetOffice.ADODBApi.Error.LateBindingApiWrapperType);
            NetOffice.ADODBApi.Enums.EventStatusEnum newadStatus = (NetOffice.ADODBApi.Enums.EventStatusEnum)adStatus;
            NetOffice.ADODBApi._Command    newpCommand           = Factory.CreateEventArgumentObjectFromComProxy(EventClass, pCommand) as NetOffice.ADODBApi._Command;
            NetOffice.ADODBApi._Recordset  newpRecordset         = Factory.CreateEventArgumentObjectFromComProxy(EventClass, pRecordset) as NetOffice.ADODBApi._Recordset;
            NetOffice.ADODBApi._Connection newpConnection        = Factory.CreateEventArgumentObjectFromComProxy(EventClass, pConnection) as NetOffice.ADODBApi._Connection;
            object[] paramsArray = new object[6];
            paramsArray[0] = newRecordsAffected;
            paramsArray[1] = newpError;
            paramsArray[2] = newadStatus;
            paramsArray[3] = newpCommand;
            paramsArray[4] = newpRecordset;
            paramsArray[5] = newpConnection;
            EventBinding.RaiseCustomEvent("ExecuteComplete", ref paramsArray);
        }
Пример #16
0
 public Int32 RollbackTransComplete(NetOffice.ADODBApi.Error pError, NetOffice.ADODBApi.Enums.EventStatusEnum adStatus, NetOffice.ADODBApi._Connection pConnection)
 {
     return(Factory.ExecuteInt32MethodGet(this, "RollbackTransComplete", pError, adStatus, pConnection));
 }
Пример #17
0
 public Int32 BeginTransComplete(Int32 transactionLevel, NetOffice.ADODBApi.Error pError, NetOffice.ADODBApi.Enums.EventStatusEnum adStatus, NetOffice.ADODBApi._Connection_Deprecated pConnection)
 {
     return(Factory.ExecuteInt32MethodGet(this, "BeginTransComplete", transactionLevel, pError, adStatus, pConnection));
 }
Пример #18
0
 public Int32 ExecuteComplete(Int32 recordsAffected, NetOffice.ADODBApi.Error pError, NetOffice.ADODBApi.Enums.EventStatusEnum adStatus, NetOffice.ADODBApi._Command_Deprecated pCommand, NetOffice.ADODBApi._Recordset_Deprecated pRecordset, NetOffice.ADODBApi._Connection_Deprecated pConnection)
 {
     return(Factory.ExecuteInt32MethodGet(this, "ExecuteComplete", new object[] { recordsAffected, pError, adStatus, pCommand, pRecordset, pConnection }));
 }
 public Int32 FetchComplete(NetOffice.ADODBApi.Error pError, NetOffice.ADODBApi.Enums.EventStatusEnum adStatus, NetOffice.ADODBApi._Recordset_Deprecated pRecordset)
 {
     return(Factory.ExecuteInt32MethodGet(this, "FetchComplete", pError, adStatus, pRecordset));
 }
 public Int32 RecordChangeComplete(NetOffice.ADODBApi.Enums.EventReasonEnum adReason, Int32 cRecords, NetOffice.ADODBApi.Error pError, NetOffice.ADODBApi.Enums.EventStatusEnum adStatus, NetOffice.ADODBApi._Recordset_Deprecated pRecordset)
 {
     return(Factory.ExecuteInt32MethodGet(this, "RecordChangeComplete", new object[] { adReason, cRecords, pError, adStatus, pRecordset }));
 }
 public Int32 FieldChangeComplete(Int32 cFields, object fields, NetOffice.ADODBApi.Error pError, NetOffice.ADODBApi.Enums.EventStatusEnum adStatus, NetOffice.ADODBApi._Recordset_Deprecated pRecordset)
 {
     return(Factory.ExecuteInt32MethodGet(this, "FieldChangeComplete", new object[] { cFields, fields, pError, adStatus, pRecordset }));
 }
Пример #22
0
 public Int32 MoveComplete(NetOffice.ADODBApi.Enums.EventReasonEnum adReason, NetOffice.ADODBApi.Error pError, NetOffice.ADODBApi.Enums.EventStatusEnum adStatus, NetOffice.ADODBApi._Recordset pRecordset)
 {
     return(Factory.ExecuteInt32MethodGet(this, "MoveComplete", adReason, pError, adStatus, pRecordset));
 }
Пример #23
0
 public Int32 InfoMessage(NetOffice.ADODBApi.Error pError, NetOffice.ADODBApi.Enums.EventStatusEnum adStatus, NetOffice.ADODBApi._Connection pConnection)
 {
     return(Factory.ExecuteInt32MethodGet(this, "InfoMessage", pError, adStatus, pConnection));
 }
Пример #24
0
 public Int32 ConnectComplete(NetOffice.ADODBApi.Error pError, NetOffice.ADODBApi.Enums.EventStatusEnum adStatus, NetOffice.ADODBApi._Connection_Deprecated pConnection)
 {
     return(Factory.ExecuteInt32MethodGet(this, "ConnectComplete", pError, adStatus, pConnection));
 }