Umbraco: differences between Node, DynamicNode, Content

前端 未结 3 635
旧巷少年郎
旧巷少年郎 2021-02-04 17:03

Then there are many class that represents Umbraco documents:

1) umbraco.cms.businesslogic.Content
2) umbraco.cms.businesslogic.web.Document
3) umbraco.MacroEngin         


        
3条回答
  •  悲&欢浪女
    2021-02-04 17:40

    Content allows you to retrieve/edit any content (page/media/..) from DB (including non-published content), Document allows you to retrieve/edit only page content from DB (including non-published content), Node is used for fast read-only access to (published only) page content from the XML cache and Dynamic Node is comparable to Node but implemented in later versions of Umbraco for macros using Razor

提交回复
热议问题