Monthly Archive: March 2016

Unit Testing – AAA Pattern

Unit testing is one of the skills a good developer should have.   With it, we can create good code and we can minimize bugs in our code. Unit testing with the AAA Pattern The simplest way to do a unit test is to use the AAA Pattern.  The AAA Pattern refers to “Arrange,...

Executing database queries the Entity Framework way

Executing database queries the Entity Framework way

When using Entity Framework, we usually believe that when executing the actual Linq query will result in a call to the database.  A call that will bring the results we are asking for. This is not the behavior of the Entity Framework. Entity Framework will make the actual call to...