Exemplo n.º 1
0
        public void will_render_update_sql_for_StaffUnit()
        {
            var table = _model.FindTable("[StaffUnit]");

            _sqlWriter.WriteUpdate(_sqlSW, table);

            Console.WriteLine(_sqlSW.ToString());
            Assert.That(_sqlSW.ToString(), Is.EqualTo(@"UPDATE [StaffUnit]
SET
	Name = N'',
	Description = null
WHERE
	ID = /*value:ID,int*/
"));
        }