Monday, March 11, 2013

How do I set default value in Entity Framework

At first you will open .edmx file then you will see your table those are add into entity framework. now you do right click the selected property of table like as below the figure
 Figure 1
After Click the properties you will see the properties window like below and set the StoreGeneratedPattern None to Computed
I think it will be help you. Thanks

No comments:

Post a Comment