Error Resolution For EF6 in C#

Closed Posted 6 years ago Paid on delivery
Closed Paid on delivery

I am having C# project where i am using EF6 with MySQL, everything is working fine but at one place where i have one to one mapping i am getting below error, its just 30 min task so bid accordingly :-

An error occurred while saving entities that do not expose foreign key properties for their relationships. The EntityEntries property will return null because a single entity cannot be identified as the source of the exception. Handling of exceptions while saving can be made easier by exposing foreign key properties in your entity types. See the InnerException for details.

Store update, insert, or delete statement affected an unexpected number of rows (0). Entities may have been modified or deleted since entities were loaded. See [login to view URL] for information on understanding and handling optimistic concurrency exceptions.

.NET C# Programming MySQL

Project ID: #15263292

About the project

5 proposals Remote project Active 6 years ago

5 freelancers are bidding on average ₹1290 for this job

Nirmal0809

Hi, I have read your description and I think loading entity explicitly or changing configuration which allows null for relational entity will fix this error. But I still need to check code. Relevant Skills and Experie More

₹1050 INR in 1 day
(2 Reviews)
5.4
sahumk2000

I have gone through the requirement, I am full time freelancer, I can do it. Relevant Skills and Experience I have more than 13 yrs exp as Architect, Tech Lead, Developer in C#,Asp.net, MVC, VB.Net, XML, SQL server, W More

₹1750 INR in 1 day
(4 Reviews)
2.8