public FakeDbCommandBuilder(FakeDbDataAdapter adapter) : base() { base.QuotePrefix = "["; base.QuoteSuffix = "]"; this.DataAdapter = adapter; }
protected override void SetRowUpdatingHandler(DbDataAdapter adapter) { FakeDbDataAdapter fda = (FakeDbDataAdapter)adapter; if (fda == base.DataAdapter) { // fda.RowUpdating -= this.RowUpdatingHandler; } else { // fda.RowUpdating += this.RowUpdatingHandler; } }