You can use Sitefinity CMS Fluent API by referencing the Telerik.Sitefinity and Telerik.Sitefinity.Model namespaces. These namespaces are defined in Telerik.Sitefinity.dll assembly.
When you want to access the Fluent API methods, you must start each Fluent API call with the App static class.
You must follow the App class with the WorkWith() method or the Prepare() method:
NOTE: When you want to set a different provider or a different transaction and scope for the database queries, you must always use Prepare(), as in the example above - Prepare().SetContentProvider().
Sign up for our free beginner training. Boost your credentials through advanced courses and certification. Register for Sitefinity training and certification.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important