void BulkCopy_OracleRowsCopied(object sender, OracleRowsCopiedEventArgs eventArgs)
 {
     if (BulkCopiedHandler != null)
     {
         BulkCopiedHandler(eventArgs.RowsCopied);
     }
 }
            private void OnRowsCopied(object sender, OracleRowsCopiedEventArgs e)
            {
                var wrappedEvent = new OracleInsightRowsCopiedEventArgs(e);

                if (RowsCopied != null)
                {
                    RowsCopied(sender, wrappedEvent);
                }
            }
Пример #3
0
 /// <summary>
 /// Oracle one.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void OnOracleRowsCopied(
     object sender, OracleRowsCopiedEventArgs e)
 {
     RaiseSqlRowsCopiedEvent(e.RowsCopied, iIdThread);
 }
 public OracleInsightRowsCopiedEventArgs(OracleRowsCopiedEventArgs e)
 {
     _event = e;
 }
				public OracleInsightRowsCopiedEventArgs(OracleRowsCopiedEventArgs e)
				{
					_event = e;
				}
			private void OnRowsCopied(object sender, OracleRowsCopiedEventArgs e)
			{
				var wrappedEvent = new OracleInsightRowsCopiedEventArgs(e);
				if (RowsCopied != null)
					RowsCopied(sender, wrappedEvent);
			}
Пример #7
0
        //public void OnShowProgress()
        //{
        //	if (Row != null)
        //	{
        //		int i = (int) Math.Round((decimal) this.Copied / this.Count, 0) * 100;
        //		Row.Cells[5].Value = i;
        //		var parent = Row.DataGridView;
        //		parent.CurrentCell = Row.Cells[3];
        //		parent.UpdateCellValue(2, Row.Index);
        //	}
        //}

        //[XmlIgnore]
        //public string FullName
        //{
        //	get
        //	{
        //		if (this.Parent.IncludeSchema)
        //		{
        //			if (string.IsNullOrEmpty(this.Parent.SchemaFormat))
        //			{
        //				return string.Format("{0}.{1}", this.Schema, this.Name);
        //			}
        //			else
        //			{
        //				return string.Format(this.Parent.SchemaFormat, this.Schema, this.Name);
        //			}
        //		}
        //		else
        //		{
        //			if (string.IsNullOrEmpty(this.Parent.TableFormat))
        //			{
        //				return this.Name;
        //			}
        //			else
        //			{
        //				return string.Format(this.Parent.TableFormat, this.Name);
        //			}
        //		}
        //	}
        //}

        public void OnRowsCopied(object sender, OracleRowsCopiedEventArgs e)
        {
            this.Copied = e.RowsCopied;
            //this.Status = string.Format("Copying {0} out of {1} - {2}" , this.Copied, this.Count, this.Percentage);
            this.ShowProgress();
        }
Пример #8
0
 public RowsCopiedEventArgs(OracleRowsCopiedEventArgs e)
 {
     this._oracleArgs = e;
 }