I saw the light September 2008 - Posts - Alexey Zakharov's Blog

September 2008 - Posts

0
Comments

ADO.NET Entity framework navigation property trap. by brainbox

Navigation properties (EntityCollection or EntityReference) of entity object can be automatically loaded without calling their Load method because of they can be already loaded to ObjectStateManager before. Such behaviour may confuse people how are newbie...
8
Comments

Enum in ADO.NET Entity Framework v1 by brainbox

There is no direct support for enum type in ado.net entity framework v1. But it is rather easy to solve this problem. All u need to do is to create int property with private getter and setter and then add public property to your partial class, which type...
1
Comments

Backup and SQL Server diagram opennig problem. by brainbox

Very often people who works with SQL Server database get the following error when they trying to open database diagrams after restoring database from back up: Database diagram support objects cannot be installed because this database does not have a valid...
Filed under: ,
0
Comments

Simple database fixture. by brainbox

Very often we need to write tests which interact with the database. I found that many people are still doing complex clean up manipulation in tear down method. But in most cases it is useless work. All you need to perform clean up of database after each...
Filed under: , , ,
More Posts