Sitefinity 4.0 and ORM
Hi,
I've read online that Sitefinity 4.0 is tightly integrated with OpenAccess ORM. We have an existing application that uses another third party ORM. We would like to take all those business classes and data access layer and use sitefinity for CMS.
Is it possible? Can we use another ORM instead of OpenAccess insite Sitefinity?
Hi Preetham,
You can use another ORM instead of OpenAccess insite Sitefinity only for custom implementations like custom modules that are not based on one of the built-in modules, controls that does not inherit from our bases classes which relies on a wcf services which manager classes use OpenAccess data provider.
Kind regards,
Ivan Dimitrov
the Telerik team
Hi Preetham,
Actually Sitefinity 4.0 is not tightly integrated with OpenAccess ORM. You can replace the data classes with custom one, but you need to create a custom data provider which you can use in cases when you want to store some data , like Pages, Content in another way. For instance you can create a custom data class that inherits from PageDataProvider. PageDataProvider is abstract class and our OpenAccessPageProvider inherits from it. The situation is the same with Membership and Role providers. It also depends on whether your data layer supports POCO objects - objects that are not tied to a specific context.
All the best,
Ivan Dimitrov
the Telerik team