Beispiel #1
0
        public void TestCreateUpdateCommand()
        {
            _sqlCommandBuilder.CreateUpdateQuery(_table, _table.Rows.FirstOrDefault());
            var sqlQuery = _sqlCommandBuilder.CompleteQuery();

            Assert.Equal("UPDATE data.Car SET gid = '0', Brand = 'Audi', Cost = '1000'", sqlQuery);
        }