Esempio n. 1
0
        public void TestCreateInsertCommand()
        {
            _sqlCommandBuilder.CreateInsertQuery(_table, _table.Rows.FirstOrDefault());
            var sqlQuery = _sqlCommandBuilder.CompleteQuery();

            Assert.Equal("INSERT INTO data.Car(gid, Brand, Cost) VALUES('0', 'Audi', '1000')", sqlQuery);
        }