System.Data.Tests.DataSetTest.Load_TableConflictT C# (CSharp) Method

Load_TableConflictT() private method

private Load_TableConflictT ( ) : void
return void
        public void Load_TableConflictT()
        {
            _fillErrCounter = 0;
            _fillErr[0].init("Table1", 1, true,
                "Input string was not in a correct format.Couldn't store <mono 1> in name1 Column.  Expected type is Double.");
            _fillErr[1].init("Table1", 2, true,
                "Input string was not in a correct format.Couldn't store <mono 2> in name1 Column.  Expected type is Double.");
            _fillErr[2].init("Table1", 3, true,
                "Input string was not in a correct format.Couldn't store <mono 3> in name1 Column.  Expected type is Double.");
            localSetup();
            DataSet dsLoad = new DataSet("LoadTableConflict");
            DataTable table1 = new DataTable();
            table1.Columns.Add("name1", typeof(double));
            dsLoad.Tables.Add(table1);
            DataTable table2 = new DataTable();
            dsLoad.Tables.Add(table2);
            DataTableReader dtr = _ds.CreateDataReader();
            dsLoad.Load(dtr, LoadOption.PreserveChanges,
                     fillErrorHandler, table1, table2);
        }
        [Fact]