IMPORTANT: This version of Sitefinity CMS is out of support and the respective product documentation is no longer maintained and can be outdated. Use the version selector to view a supported product version.
After you create the fluent mappings, you create the custom provider class.
Sitefinity's CMS architecture is based on the provider model design pattern, which provides a number of extensibility possibilities. The provider class in this example inherits from the OpenAccessPageProvider class that stores and retrieves page data. The exposed methods in the CustomPageProvider are used to create and retrieve objects from the database context.
To create the custom provider class, perform the following:
Use the following code sample:
Back To Top
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important