Data Annotations


1378407_579351242100365_2103136479_n_thumb.png
Introduction When we left off in Part 1, we had edited the T4 template which generates Entity Framework POCO entities and had it add appropriate attributes to assist in data validation checks. The next step is to show you how we can make use of these annotations. Note: the data […]

Entity Validation and the Entity Framework – Part 2


image_thumb5_thumb.png 5
Introduction The next logical step in my journey across the Entity Framework v6 RC1 after having established a fairly robust data access approach was to imbue my solution with some more “smarts” when it came to entity validation. Out-of-the-box Entity Framework POCO entities are exactly as advertised – plain old […]

Entity Validation and the Entity Framework – Part 1