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
Marco baldi
NA
4
468
Select data from changed entity
Jan 5 2021 1:52 PM
Hi,
I have this situation :
foreach(var item in list)
{
var result = dbContext.Customers.ToArrays();
......
......
.......
//Here i insert new customer into database but not saved
dbContext.Customers.add(new Customer);
{
The problem is for result variable, the first loop works, but the second return Time Out because the Customer Entity is changed, hot to risolve this problem ?
Thanks.
Reply
Answers (
2
)
QRCode Decode from PDF using Thoughtworks QRCode
Remove the item from ComboBox once it's been selected in the previous