Ejemplo n.º 1
0
        protected override void SetRowUpdatingHandler(DbDataAdapter adapter)
        {
            UtlDataAdapter adapter2 = (UtlDataAdapter)adapter;

            if (adapter == base.DataAdapter)
            {
                adapter2.RowUpdating -= new EventHandler <RowUpdatingEventArgs>(this.RowUpdatingEventHandler);
            }
            else
            {
                adapter2.RowUpdating += new EventHandler <RowUpdatingEventArgs>(this.RowUpdatingEventHandler);
            }
        }
Ejemplo n.º 2
0
 public UtlCommandBuilder(UtlDataAdapter adp)
 {
     this.QuotePrefix = "\"";
     this.QuoteSuffix = "\"";
     this.DataAdapter = adp;
 }