public Int32 WillChangeRecord(NetOffice.ADODBApi.Enums.EventReasonEnum adReason, Int32 cRecords, NetOffice.ADODBApi.Enums.EventStatusEnum adStatus, NetOffice.ADODBApi._Recordset_Deprecated pRecordset)
        {
            object[] paramsArray = Invoker.ValidateParamsArray(adReason, cRecords, adStatus, pRecordset);
            object   returnItem  = Invoker.MethodReturn(this, "WillChangeRecord", paramsArray);

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

            return(NetRuntimeSystem.Convert.ToInt32(returnItem));
        }
        public void WillMove([In] object adReason, [In] object adStatus, [In, MarshalAs(UnmanagedType.IDispatch)] object pRecordset)
        {
            if (!Validate("WillMove"))
            {
                Invoker.ReleaseParamsArray(adReason, adStatus, pRecordset);
                return;
            }

            NetOffice.ADODBApi.Enums.EventReasonEnum newadReason   = (NetOffice.ADODBApi.Enums.EventReasonEnum)adReason;
            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] = newadReason;
            paramsArray[1] = newadStatus;
            paramsArray[2] = newpRecordset;
            EventBinding.RaiseCustomEvent("WillMove", ref paramsArray);
        }
Exemple #4
0
        public void WillMove([In] object adReason, [In] object adStatus, [In, MarshalAs(UnmanagedType.IDispatch)] object pRecordset)
        {
            Delegate[] recipients = _eventBinding.GetEventRecipients("WillMove");
            if ((true == _eventClass.IsCurrentlyDisposing) || (recipients.Length == 0))
            {
                Invoker.ReleaseParamsArray(adReason, adStatus, pRecordset);
                return;
            }

            NetOffice.ADODBApi.Enums.EventReasonEnum newadReason   = (NetOffice.ADODBApi.Enums.EventReasonEnum)adReason;
            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] = newadReason;
            paramsArray[1] = newadStatus;
            paramsArray[2] = newpRecordset;
            _eventBinding.RaiseCustomEvent("WillMove", ref paramsArray);
        }
        public void MoveComplete([In] object adReason, [In, MarshalAs(UnmanagedType.IDispatch)] object pError, [In] object adStatus, [In, MarshalAs(UnmanagedType.IDispatch)] object pRecordset)
        {
            if (!Validate("MoveComplete"))
            {
                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, 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[4];
            paramsArray[0] = newadReason;
            paramsArray[1] = newpError;
            paramsArray[2] = newadStatus;
            paramsArray[3] = newpRecordset;
            EventBinding.RaiseCustomEvent("MoveComplete", ref paramsArray);
        }
Exemple #6
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="adReason"></param>
        /// <param name="cRecords"></param>
        /// <param name="pError"></param>
        /// <param name="adStatus"></param>
        /// <param name="pRecordset"></param>
        public virtual void RecordChangeComplete([In] object adReason, [In] object cRecords, [In, MarshalAs(UnmanagedType.IDispatch)] object pError, [In] object adStatus, [In, MarshalAs(UnmanagedType.IDispatch)] object pRecordset)
        {
            if (!Validate("RecordChangeComplete"))
            {
                Invoker.ReleaseParamsArray(adReason, cRecords, pError, adStatus, pRecordset);
                return;
            }

            NetOffice.ADODBApi.Enums.EventReasonEnum newadReason = (NetOffice.ADODBApi.Enums.EventReasonEnum)adReason;
            Int32 newcRecords = ToInt32(cRecords);

            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[5];
            paramsArray[0] = newadReason;
            paramsArray[1] = newcRecords;
            paramsArray[2] = newpError;
            paramsArray[3] = newadStatus;
            paramsArray[4] = newpRecordset;
            EventBinding.RaiseCustomEvent("RecordChangeComplete", ref paramsArray);
        }
Exemple #7
0
        public void RecordChangeComplete([In] object adReason, [In] object cRecords, [In, MarshalAs(UnmanagedType.IDispatch)] object pError, [In] object adStatus, [In, MarshalAs(UnmanagedType.IDispatch)] object pRecordset)
        {
            Delegate[] recipients = _eventBinding.GetEventRecipients("RecordChangeComplete");
            if ((true == _eventClass.IsCurrentlyDisposing) || (recipients.Length == 0))
            {
                Invoker.ReleaseParamsArray(adReason, cRecords, pError, adStatus, pRecordset);
                return;
            }

            NetOffice.ADODBApi.Enums.EventReasonEnum newadReason = (NetOffice.ADODBApi.Enums.EventReasonEnum)adReason;
            Int32 newcRecords = Convert.ToInt32(cRecords);

            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[5];
            paramsArray[0] = newadReason;
            paramsArray[1] = newcRecords;
            paramsArray[2] = newpError;
            paramsArray[3] = newadStatus;
            paramsArray[4] = newpRecordset;
            _eventBinding.RaiseCustomEvent("RecordChangeComplete", ref paramsArray);
        }
 public virtual void WillMove(NetOffice.ADODBApi.Enums.EventReasonEnum adReason, NetOffice.ADODBApi.Enums.EventStatusEnum adStatus, object pRecordset)
 {
     InvokerService.InvokeInternal.ExecuteMethod(this, "WillMove", adReason, adStatus, pRecordset);
 }
 public virtual void MoveComplete(NetOffice.ADODBApi.Enums.EventReasonEnum adReason, object pError, NetOffice.ADODBApi.Enums.EventStatusEnum adStatus, object pRecordset)
 {
     InvokerService.InvokeInternal.ExecuteMethod(this, "MoveComplete", adReason, pError, adStatus, pRecordset);
 }
 public virtual Int32 MoveComplete(NetOffice.ADODBApi.Enums.EventReasonEnum adReason, NetOffice.ADODBApi.Error pError, NetOffice.ADODBApi.Enums.EventStatusEnum adStatus, NetOffice.ADODBApi._Recordset_Deprecated pRecordset)
 {
     return(InvokerService.InvokeInternal.ExecuteInt32MethodGet(this, "MoveComplete", adReason, pError, adStatus, pRecordset));
 }
 public virtual Int32 WillChangeRecordset(NetOffice.ADODBApi.Enums.EventReasonEnum adReason, NetOffice.ADODBApi.Enums.EventStatusEnum adStatus, NetOffice.ADODBApi._Recordset_Deprecated pRecordset)
 {
     return(InvokerService.InvokeInternal.ExecuteInt32MethodGet(this, "WillChangeRecordset", adReason, adStatus, pRecordset));
 }
 public virtual Int32 RecordChangeComplete(NetOffice.ADODBApi.Enums.EventReasonEnum adReason, Int32 cRecords, NetOffice.ADODBApi.Error pError, NetOffice.ADODBApi.Enums.EventStatusEnum adStatus, NetOffice.ADODBApi._Recordset_Deprecated pRecordset)
 {
     return(InvokerService.InvokeInternal.ExecuteInt32MethodGet(this, "RecordChangeComplete", new object[] { adReason, cRecords, pError, adStatus, pRecordset }));
 }
 public void WillChangeRecord(NetOffice.ADODBApi.Enums.EventReasonEnum adReason, Int32 cRecords, NetOffice.ADODBApi.Enums.EventStatusEnum adStatus, object pRecordset)
 {
     Factory.ExecuteMethod(this, "WillChangeRecord", adReason, cRecords, adStatus, pRecordset);
 }
 public void MoveComplete(NetOffice.ADODBApi.Enums.EventReasonEnum adReason, object pError, NetOffice.ADODBApi.Enums.EventStatusEnum adStatus, object pRecordset)
 {
     Factory.ExecuteMethod(this, "MoveComplete", adReason, pError, adStatus, pRecordset);
 }
 public void MoveComplete(NetOffice.ADODBApi.Enums.EventReasonEnum adReason, object pError, NetOffice.ADODBApi.Enums.EventStatusEnum adStatus, object pRecordset)
 {
     object[] paramsArray = Invoker.ValidateParamsArray(adReason, pError, adStatus, pRecordset);
     Invoker.Method(this, "MoveComplete", paramsArray);
 }
 public void WillMove(NetOffice.ADODBApi.Enums.EventReasonEnum adReason, NetOffice.ADODBApi.Enums.EventStatusEnum adStatus, object pRecordset)
 {
     object[] paramsArray = Invoker.ValidateParamsArray(adReason, adStatus, pRecordset);
     Invoker.Method(this, "WillMove", paramsArray);
 }
Exemple #17
0
 public virtual void RecordChangeComplete(NetOffice.ADODBApi.Enums.EventReasonEnum adReason, Int32 cRecords, object pError, NetOffice.ADODBApi.Enums.EventStatusEnum adStatus, object pRecordset)
 {
     InvokerService.InvokeInternal.ExecuteMethod(this, "RecordChangeComplete", new object[] { adReason, cRecords, pError, adStatus, pRecordset });
 }
 public Int32 WillMove(NetOffice.ADODBApi.Enums.EventReasonEnum adReason, NetOffice.ADODBApi.Enums.EventStatusEnum adStatus, NetOffice.ADODBApi._Recordset_Deprecated pRecordset)
 {
     return(Factory.ExecuteInt32MethodGet(this, "WillMove", adReason, adStatus, pRecordset));
 }
 public Int32 WillChangeRecordset(NetOffice.ADODBApi.Enums.EventReasonEnum adReason, NetOffice.ADODBApi.Enums.EventStatusEnum adStatus, NetOffice.ADODBApi._Recordset pRecordset)
 {
     return(Factory.ExecuteInt32MethodGet(this, "WillChangeRecordset", adReason, adStatus, pRecordset));
 }
 public Int32 RecordChangeComplete(NetOffice.ADODBApi.Enums.EventReasonEnum adReason, Int32 cRecords, NetOffice.ADODBApi.Error pError, NetOffice.ADODBApi.Enums.EventStatusEnum adStatus, NetOffice.ADODBApi._Recordset pRecordset)
 {
     return(Factory.ExecuteInt32MethodGet(this, "RecordChangeComplete", new object[] { adReason, cRecords, pError, adStatus, pRecordset }));
 }
 public void RecordChangeComplete(NetOffice.ADODBApi.Enums.EventReasonEnum adReason, Int32 cRecords, object pError, NetOffice.ADODBApi.Enums.EventStatusEnum adStatus, object pRecordset)
 {
     Factory.ExecuteMethod(this, "RecordChangeComplete", new object[] { adReason, cRecords, pError, adStatus, pRecordset });
 }
 public Int32 MoveComplete(NetOffice.ADODBApi.Enums.EventReasonEnum adReason, NetOffice.ADODBApi.Error pError, NetOffice.ADODBApi.Enums.EventStatusEnum adStatus, NetOffice.ADODBApi._Recordset_Deprecated pRecordset)
 {
     return(Factory.ExecuteInt32MethodGet(this, "MoveComplete", adReason, pError, adStatus, pRecordset));
 }
 public void WillMove(NetOffice.ADODBApi.Enums.EventReasonEnum adReason, NetOffice.ADODBApi.Enums.EventStatusEnum adStatus, object pRecordset)
 {
     Factory.ExecuteMethod(this, "WillMove", adReason, adStatus, pRecordset);
 }