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

            _sqlWriter.WriteInsert(_sqlSW, table);

            Console.WriteLine(_sqlSW.ToString());
            Assert.That(_sqlSW.ToString(), Is.EqualTo(@"INSERT INTO [StaffUnit]
	(Name,
	Description)
VALUES
	(N'' /*Name,nvarchar(100)*/,
	null /*Description,nvarchar(500)*/)
"));
        }