Identity Maps
Posted by: K. Scott Allen,
on 08 Dec 2008 |
View original | Bookmarked: 0 time(s)
There are a couple of important patterns in play when you use a persistence framework. These patterns have been around for quite some time but are relatively new to .NET developers who are jumping into LINQ to SQL and the ADO.NET Entity Framework. The first of these patterns is the Identity Map pattern. There are various aliases for this pattern. Some frameworks call it the identity cache while others have an entity uniqueing implementation. Using examples as tests, we can describe its behavior...