Esempio n. 1
0
        public void will_render_delete_sql_for_StaffUnit()
        {
            var table = _model.FindTable("[StaffUnit]");

            _sqlSW = new StringWriter();
            _sqlWriter.WriteDelete(_sqlSW, table);
            //Console.WriteLine(sql.ToString());
            Assert.That(_sqlSW.ToString(), Is.EqualTo(@"DELETE FROM
	[StaffUnit]
WHERE
	ID = /*value:ID*/
"));
        }