Entity Framework (4)

Latest Articles

Entity Framework update entity | Entity relation

Friday, 27 March 2015 00:00 Written by
Entity Framework update entity | Entity relation You may have run to errors While update or add an entity in Entity Framework like this one: “The operation failed: The relationship could not be changed because one or more of the foreign-key properties is non-nullable. When a change is made to…

Retrieve saved Entity Id

Saturday, 27 December 2014 00:00 Written by
Retrieve saved Entity Id Either you’re saving an entity and then want to reference its primary-key or you want to use the Id to give a tracking number to the user you need the entity’s ID after it is being saved. This case happens when you set the “DatabaseGeneratedOption.Identity” attribute…

Entity Framework migration | Entity Framework code first migration

Saturday, 27 December 2014 00:00 Written by
Entity Framework code first migration Migration is one of the key features of Entity Framework and you strongly need it when you’re developing in “Code-First” style which is my favorite. From time to time however, it may irritate you by throwing exceptions. Initial configuration Install Entity Framework Issue Enable-Migration command…

Popular Articles

Retrieve saved Entity Id Either you’re saving an entity and…
Entity Framework code first migration Migration is one of the…
Entity Framework Composite Primary Key Entity Framework composite primary keys…
Entity Framework update entity | Entity relation You may have…
Advanced Programming Concepts
News Letter

Subscribe our Email News Letter to get Instant Update at anytime