Esempio n. 1
0
        protected override DataTable[] RunProxiedDbDataAdapter(List <TestTable> randomDataSource, FakeProxiedDbDataAdapter adapter)
        {
            DataTable[] tables = new DataTable[5]
            {
                new DataTable(tableName: "Foo", tableNamespace: "NS1"),
                new DataTable(tableName: "Bar", tableNamespace: "NS1"),
                new DataTable(tableName: "Baz", tableNamespace: "NS1"),
                new DataTable(tableName: "Qux", tableNamespace: "NS1"),
                new DataTable(tableName: "Tux", tableNamespace: "NS1")
            };

            Int32 rowsInFirstTable = adapter.Fill5(startRecord: 0, maxRecords: 0, dataTables: tables);

            rowsInFirstTable.ShouldBe(40);

            return(tables);
        }