July 2010 - Posts

2
Comments

Removing entity from a Related Collection by zhirani

I have seen this misunderstanding starting to popup more often on how to delete an entity from a related collection. Suppose we have the following entity data model where a Person has many Phones identified by 1-to-many association as shown. Problem:...
0
Comments

Setting Entity Key for a view by zhirani

When you import a database view using Entity Data Model wizard,you will get an entity that has the same number of columns and data type as the view does.Suppose I have the following view in my database. When I import the view I get the following entity...
2
Comments

Search for an entity in your Entity Data Model by zhirani

Last week i discovered a feature of Entity Data Model which i have not seen extensively being promoted. I accidentally run into it because of the size of my model. If you have a large model and want to search for an entity, it becomes tedious to zoom...
More Posts