cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Using Entity framework v6.0.0.0 Alpha 3 with SQL Anywhere 12

Former Member
8,863

Hello,

Did anybody able to use the Entity framework v6.0.0.0 Alpha 3 with SQL Anywhere 12. I see that as per EF 6 forums, sybase needs to update their data provider in order to have it work with EF 6.

Do anyone from Sybase know when this data provider of sybase will be updated to work with the Entity Framework 6 ?

Below is the link given by microsoft on EF 6- https://entityframework.codeplex.com/wikipage?title=Rebuilding%20EF%20providers%20for%20EF6

Thanks, Praveen.

Accepted Solutions (0)

Answers (1)

Answers (1)

jeff_albion
Product and Topic Expert
Product and Topic Expert

EDIT: Support for Entity Framework 6 can now be found in 16.0.0.2014 (SP 19) and 12.0.1.4162 (SP 80) and above. See the other answer discussing this topic here.


How to build an Entity Framework 6 Project with SQL Anywhere 16.0.0.2014 / 12.0.1.4162 and above

After you install a Support Package that contains this update, in order to build an Entity Framework 6 project with SQL Anywhere:

  1. Install the Entity Framework 6 Tools for Visual Studio 2012 & 2013
  2. Run SetupVSPackage.exe with the newly added /v 6 option to register the Entity Framework 6 Provider (in machine.config). (Note: This replaces the current 'iAnywhere.Data.SQLAnywhere' invariant to use an EF6-compatible provider)
  3. Install Entity Framework NuGet Package for the Visual Studio project. In the package manager console, type: Install-Package EntityFramework
  4. Modify the project app.config file to include the SQL Anywhere Entity Framework 6 provider. Here’s an example:

<providers> <provider invariantName="iAnywhere.Data.SQLAnywhere" type="iAnywhere.Data.SQLAnywhere.SAProviderServices, iAnywhere.Data.SQLAnywhere.EF6, Version=16.0.0.20144, Culture=neutral, PublicKeyToken=f222fc4333e0d400" /> </providers>

  1. Build the Visual Studio project.

  2. Run Entity Data Model Wizard (Add -> New Item -> ADO.NET Entity Data Model).


ORIGINAL:

This is correct - there is no current support for Entity Framework 6 in the SQL Anywhere ADO.NET provider at the current time. I also don't believe EF6 has currently gone GA from Microsoft - from a SQL Anywhere perspective, we generally only support GA third-party OSes and software, typically due to commonly made statements like this about alpha/beta products:

The APIs and functionality included in Alpha 3 are likely to change prior to the final release of EF6.

The current provider support is for Entity Framework 5 / .NET 4.5 - see: CR 724639, which can be found in SQL Anywhere 12.0.1.3817, and 16.0 GA.

Former Member
0 Kudos

Thank you Jeff for the reply.

We will then wait for the EF6 final release to get the SQL Anywhere data provider updated.

0 Kudos

Hi,

are there any news about Entity Framework 6 support for SQL Anywhere 12? Visual Studio 2013 and Entity Framework 6 are now RTM and we would like to use it as soon as possible.

Thanks, Stefan

Former Member
0 Kudos

We are now close to the end of 2014. Is there any progress with the release for support of EF6 with SQL Anywhere 12? I'm sure that others are waiting for something to happen

VolkerBarth
Contributor

I guess this other FAQ will answer your question - and according to that, EBFs with EF6 support have been released in September:

Entity Framework 6.* provider.

Former Member
0 Kudos

For me "/v 6" didn't work. I had to use "/v EF6". I'm using SA 16.0.0.2158.