Browse by Tags

All Tags » Architecture » .Net (RSS)

How to have a sequential logic with asynchronous?

Asynchronous is often very useful: to avoid freezing the application during the process to be able to cancel a process during its execution However, the use of asynchronous is more complex and algorithms become more difficult to understand. Nevertheless...
Posted by Matthieu MEZIL | with no comments
Filed under: , ,

EF: Another (better ?) way to deal with POCO entities

If you want to have POCO entities and to keep at the same time, the context features like tracking, attaching automatically relationships, Lazy loadings, EF will generate a proxy which inherits your entity classes and which adds some code to do it. This...

Data oriented WCF service Agile with EF4 and a “sort of” provider LINQ

I use a different approach than Julie’s one for EF Agile development. Indeed, I use here Self-Tracking Entities and I massively use T4. The first step is to create a project DAL in which we will add an edmx. In my sample, I use Northwind DataBase with...

4 in 1: EF won’t fire DBAs, Velocity, SQL CLR and SQL Dependency

Imagine that we have a table Cars with a PK Id (nvarchar(8)) based on the following regex pattern [1-9][0-9]{1,2}[A-Z]{2,3}[0-9]{2}. The last two numbers are a region code. The increasement is done like this: 10AA[region], 11AA[region], …, 999AA[region...