Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus-other / 2011-01

Accessing MS SQLServer database from Lazarus/FPC?

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Vincent Snijders

2011/1/20 Graeme Geldenhuys :

Show quoted text 7 lines
And with this whole mess I would end by saying: ?And that is why you will not see me ever use a Stored Procedure! 99.99% of the time they contain business logic, which doesn't belong in the data layer of your application in any case - you can't unit test that business logic.

Who says you cannot unit test it? I use this on my work. http://sourceforge.net/apps/trac/tsqlunit/

If you use the latest tools from Microsoft, unit testing is even supported out of the box:
http://blogs.msdn.com/b/atverma/archive/2010/07/28/how-to-unit-test-sql-server-2008-database-using-visual-studio-2010.aspx

Vincent

Reply by email