Entity Framework does not display the last change from the database
- by Jack
Entity Framework does not display the last change from the database, but after sometime it show the updated content. I don't any special change on the server or on the page.
Thank in advance.
Jack
Here is the code i use to get the list:
var m = from r in ett.Article_Relations
from i in ett.Article_Articles
from a in ett.Article_Contents
where r.MenuItemID == id && r.Article_Articles.ArticleID == i.ArticleID
&& a.LanguageID == LanguageID
&& i.ArticleID == a.Article_Articles.ArticleID
select new ArticleViewModel
{
ArticleID = i.ArticleID,
IsActive = i.IsActive,
Author = i.ArticleAuthor,
Content = a,
DateCreated = i.DateCreated
};