VS2010 RC: adding new domain service class class entities is empty

Hello!

I am experiencing a series of SL4 + RIA Services by Brad Abrams. Right now I'm here: http://blogs.msdn.com/brada/archive/2010/03/15/silverlight-4-ria-services-ready-for-business-exposing-data-from-entity-framework.aspx .

When I go to the "add a domain service" step and the wizard asks you which objects you want to open, the list is empty. There is a drop-down list that allows me to select my Entity data context, and "DishViewEntities" is selected, but it does not display the "Restaurant" and "Plate" objects in the list below, as in the picture.

I found this topic here: http://forums.silverlight.net/forums/t/168724.aspx . The poster has the same problem as me. I restarted VS, rebooted, restored EDMX, tried to create it in different folders. However, the list is empty. When it is empty, it will not let me select individual objects or generate a class.

Any community ideas? Thank!

+3
source share
3 answers

I had the same problem. I searched the Internet for answers, all of which seemed to relate to installing RiaServicesToolkit or other packages or the confirguration dbml line. But I noticed that when I opened my Linq2Sql (dbml) in visual studio, I received a message that the configuration line is missing or incorrect.

, , SQL Server "" "" ( ). , .

, RIA (Linq2SQL) ( , ), Linq2SQL- DomainService, .

, .

+2

. ( ). , (/) edmx . , / .

+1

. EDMX . , , .

, , ( ) . .

web.config , !

Mapping bug

0

Source: https://habr.com/ru/post/1738553/


All Articles