Mapping Persistent Classes - Front- & Back-End Development - Front- & Back-End Development - Progress Community
 Front- & Back-End Development

Mapping Persistent Classes

  • Mapping Persistent Classes
  • I was following the blog post: to update a custom module. I was getting the same error Duneel was getting in regards to the WithOppositeMember for the HasAssociation method. Slavo recommended removing all reference to the OA dlls and re-add them. The dlls is am using are from the recent release and the version on OA is 2011.1.411.2. Looking at the Telerik.OpenAccess.35.Extensions dll through Reflector, I am not able to see the WithOppositeMember method in the NavigationPropertyConfiguration class. It has two WithOpposite methods. Should we be using the Withopposite instead of WithOppositeMember? Or is the dll not current?
  • I found the correct namespace. You need to add the namespace Telerik.OpenAccess.Metadata.Fluent.Advanced in order to get the WithOppositeMember method. The blog post only mentions the using Telerik.OpenAccess.Metadata.Fluent namespace.
  • Hello Richard Baugh,

    Yes, this is the correct namespace. Thanks for noting this, the blog post will be updated with this information.

    Kind regards,
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>