Esempio n. 1
0
        public async void Test_ChangeRow()
        {
            DataTable tableTest;
            DataTable newTable;
            DataRow   newRow;

            tableTest = await dataComposer.GetNewTable("aero", "AeroTest");

            newRow         = tableTest.NewRow();
            newRow["Id"]   = 11;
            newRow["Name"] = "Name11";
            tableTest.Rows.Add(newRow);
            dataComposer.ChangeRow();
            newTable = await dataComposer.GetNewTable("aero", "AeroTest");

            Assert.AreEqual(11, newTable.Rows.Count);
        }