Getting Umbraco Content - IPublishedContent vs IContent vs Node vs Document
There are couple of ways to get Umbraco content. Some returns the data from db and some does from the cache. Here is some details about them and how you use it in an umbraco project.
var contentService = new ContentService(); IContent content = contentService.GetById(123);
var umbracoHelper = new UmbracoHelper(UmbracoContext.Current); IPublishedContent content = umbracoHelper.TypedContent(123);
var content = new Document(123);
var node = new Node(123);