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().
Back To Top
Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.