TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
dzconception
NA
56
9.7k
EF Master Detail error msg
May 4 2018 3:13 PM
hi .. i have master/dtail relation ith EF
my code :
EngagDBEntities db;
public
EDITENGFrm(
object
obj)
{
InitializeComponent();
db =
new
EngagDBEntities();
if
(obj ==
null
)
{
engagementBindingSource.DataSource =
new
Engagement();
db.Engagements.Add(engagementBindingSource.Current
as
Engagement);
}
else
{
engagementBindingSource.DataSource = obj;
db.Engagements.Attach(engagementBindingSource.Current
as
Engagement);
}
}
why i have this error when updatig master table :
An entity object cannot be referenced by multiple instances of IEntityChangeTracker
Reply
Answers (
1
)
datewise report in crystal report
How to transfer data from excel to json using open xml