This is a migrated thread and some comments may be shown as answers.

new ObjectContainerProvider has incorrect class signature?

1 Answer 52 Views
Getting Started
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Nigel
Top achievements
Rank 1
Nigel asked on 16 Feb 2009, 06:02 AM
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


1 Answer, 1 is accepted

Sort by
0
Ady
Telerik team
answered on 16 Feb 2009, 11:48 AM
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.

Greetings,
Ady
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.
Tags
Getting Started
Asked by
Nigel
Top achievements
Rank 1
Answers by
Ady
Telerik team
Share this question
or