IQueryable extension methods SingleOrNull FirstOrNull OrderBy

Tomasz Modelski In my dev work I constantly discover that readability of code - clarity of what is going on – is very important in writing quality manageable code. Even simple extension methods that help code to be more understandable on the first sight are useful to me. It this post I’ll share with you…Read more IQueryable extension methods SingleOrNull FirstOrNull OrderBy

T SQL Script to delete all data from database

Tomasz Modelski In my work - when developing database based applications – I really often need a T SQL script or procedure to delete all data from database while preserving all database structure, objects, foreign keys, indexes, etc. Mostly I use this feature in integration tests – clean up db & create initial testing environment…Read more T SQL Script to delete all data from database