Sql CE 3.5: Probile in DataContext Generation

0

When you try to generate the DataContext to a WindowsPhone 8.1 project, through the SQL Server Compact toolbox interface at:

-Generate Code (EF / LINQ to SQL / SyncFX) > > Add Windows Phone DataContext to current Project (needs 3.5) link ).

It is displaying the message:

The selected project type does not support Windows Phone 7.18.0 - wrong Target framework moniker Windows Phone app version = 8.1.

You are not allowed to generate the datacontext for my Windows Phone 8.1 project;

What should I do to add my bank.sdf as my project's datacontex?

    
asked by anonymous 02.09.2014 / 19:24

1 answer

1

EF requires the System.Data.dll that is not currently supported by Windows Phone ... What is currently supported is Linq to SQL that works the same as EF's ORM style.

Main information In this Link

I believe version 7 will be supported.

    
29.09.2014 / 06:28