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

RIA OpenAcess ORM

1 Answer 62 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Hector
Top achievements
Rank 1
Hector asked on 10 Aug 2010, 07:13 PM
I have created a implemented RIA service with OpenAcess ORM.
using the standard generated class by the tt file, I can access my data. But because I can not  modify the generated class because it will get over written, I created a partial class and added my own method so I can filter. The silverlight client can access it but when I run it I get a 4004 error. am I doing anything wrong ?

Hector 

1 Answer, 1 is accepted

Sort by
0
Petko_I
Telerik team
answered on 12 Aug 2010, 02:51 PM
Hello Hector,

As far as I understood, you are trying to add additional methods to the DomainService class and in order to do this you create another file where you continue the definition of the partial class. I have created a very simple application where I added several methods to the partial class in a separate file and then invoked these methods in the Silverlight client. The methods on the client side are asynchronous and need some special handling. Can you look at the example and tell me in what ways it differs from the scenario you are facing? The example is built against the NorthwindOA database that is installed with OpenAccess.

Thank you for your patience. I am looking forward to hearing from you. In the meantime, you can benefit from browsing our updated online help and the Silverlight related topics.

Sincerely yours,
Petko_I
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Hector
Top achievements
Rank 1
Answers by
Petko_I
Telerik team
Share this question
or