Hi,
I am trying to use RIA Services with Silverlight 4 and the latest build (as of today) of dotConnect for Oracle and have hit a problem with the Add Domain Service Class Wizard.
I have generated a EDML file and when I try to add a Domain Service Class the wizard sees the ObjectContext class containing my entities. However, I cannot tick 'Enable editing' against any of the entities nor can I tick 'Generate associated classes for metadata' since both set of options are disabled.
When I generate the class it is empty so I have to hand type the get/add/update/delete statements.
Thanks,
Rob.
RIA Services - Add Domain Service Class Wizard Problem
-
- Posts: 33
- Joined: Thu 20 May 2010 08:57
- Location: Wales, UK.
-
- Posts: 33
- Joined: Thu 20 May 2010 08:57
- Location: Wales, UK.
OK, I have discovered what the issue was - I had 3.5 selected as the Entity Framework version.
Here is the resolution:
- Double click on the model
- In the Entity Framework version drop down select 4.0
I also ticked "Include foreign key columns in the model" too as this was disabled with version 3.5.
Thanks,
Rob.
Here is the resolution:
- Double click on the model
- In the Entity Framework version drop down select 4.0
I also ticked "Include foreign key columns in the model" too as this was disabled with version 3.5.
Thanks,
Rob.
-
- Posts: 1
- Joined: Fri 18 Feb 2011 01:27
RIA Services - Add Domain Service Class Wizard Problem
Hi,
I created a Devart Entity Model with dotConnect to PostgreSQL(v5.00 Demo) for PostgreSQL 9.0.3 database, and then I'm trying to create a Domain Services Class(RIA Services); I found the option " Generate associated classes for metadata" is disabled when using "Add Domain Service Class Wizard".
Any suggestion? Thanks!
Development environment:
VS 2010 RTM
RIA Services 1.0 RTM
dotConnect to PostgreSQL v5.00 Demo version
PostgreSQL 9.0.3 database
I created a Devart Entity Model with dotConnect to PostgreSQL(v5.00 Demo) for PostgreSQL 9.0.3 database, and then I'm trying to create a Domain Services Class(RIA Services); I found the option " Generate associated classes for metadata" is disabled when using "Add Domain Service Class Wizard".
Any suggestion? Thanks!
Development environment:
VS 2010 RTM
RIA Services 1.0 RTM
dotConnect to PostgreSQL v5.00 Demo version
PostgreSQL 9.0.3 database
I have made a test using Silverlight 4, latest dotConnect for PostgreSQL 5.10.103, PostgreSQL 9.0.
I have added a new Devart Entity model to the Models folder, rebuilt the project, and added a Domain Service class successfully.
Could you please send us the application you get the error in?
I have removed your duplicate post.
I have added a new Devart Entity model to the Models folder, rebuilt the project, and added a Domain Service class successfully.
Could you please send us the application you get the error in?
I have removed your duplicate post.