Let .NET framework care about transactions handling for you by implementing IEnlistmentNotification

Well known TransactionScope Since version 2 of .NET Framework every developer has a great tool to handle different types of “transactions” (transaction processing, or business transaction is information processing that … Continue reading “Let .NET framework care about transactions handling for you by implementing IEnlistmentNotification”

Save time mocking – use your real Entity Framework DbContext in unit tests

How many times have you spotted software architecture that utilizes .NET Entity Framework database context as a simple Repository pattern? Let us imagine an architecture structure like this, from top … Continue reading “Save time mocking – use your real Entity Framework DbContext in unit tests”