new ObjectContainerProvider has incorrect class signature?

Thread is closed for posting
2 posts, 0 answers
  1. Nigel
    Nigel avatar
    10 posts
    Member since:
    Jul 2008

    Posted 16 Feb 2009 Link to this post

    Hi, very new to OpenAccess so I could be wrong, but I think there is a bug with creating a ObectContainerProvider through the connection wizard. It creates:

    public class ObjectContainerProvider1 : IObjectScopeProvider, ObjectContainerProvider, IDBConnection

    Which gives an error that there is no class ObjectContainerProvider

    You change this to the Interface instead:
    public class ObjectContainerProvider1 : IObjectScopeProvider, IObjectContainerProvider, IDBConnection

    and it is all good

  2. Ady
    Ady avatar
    589 posts

    Posted 16 Feb 2009 Link to this post

    Hi Nigel,

    Thanks for pointing that out. Yes, there was a mistake while updating the template file for the ObjectContainerProvider. We have fixed that.

    You can make the same change (change ObjectContainerProvider to IObjectContainerProvider) to the template file found under <Installation folder>\sdk\IDEIntegrations\templates\templateObjectContainerProvider.cs/vb, so that the right code is generated whenever you execute the wizard.

    Your telerik points have been updated.

    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top