Home LINQ is querying a delete data
Reply: 0

LINQ is querying a delete data

user452
1#
user452 Published in June 19, 2018, 4:22 pm

I have a simple select query in linq:

var forms = (from fc in db.formscreators
                     where fc.PropertyID == id || fc.PropertyID == 0
                     orderby fc.FormName ascending
                     select fc).ToList();

I went to MySQL Workbench and delete a data from formscreators table; however, the LINQ still returning the delete data. Why is it happening? How can I fix it?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.39931 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO