Umbraco: differences between Node, DynamicNode, Content

前端 未结 3 633
旧巷少年郎
旧巷少年郎 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:41

    I just know the difference between Document and Node. The Node class uses the data stored in the umbraco cache, the Document class will get data directly from the database. Node is faster than Document. Node only returns the content that is saved and published.

    95% of time you should use Node.

提交回复
热议问题