Can't create .edmx file for postgresql use entityframework + npgsql - visual-studio

I want to create ADO.NET entity data model - database first (.edmx file) with EntityFramework6.Npgsql but it's error. I have installed:
- EntityFramework6.Npgsql (version 6.3 newest)
- Npgsql (version 4.1.1 newest)
- EntityFramework (version 6.3 newest)
I created it before, but I don't know why now! Please help me....

This is a known issue that is already tracked on github
In the meantime for those having issues with the latest version of the
VSIX (4.1.1.2), please downgrade back to 4.0.x.
So downgrade your Npgsql version and extension version.

Related

Oracle Connectors v4.0 is not working for SSIS

I upgrade SSDT from 2012 to 2017 recently, the package containing a Oracle source and a Oracle destination run well before upgrading.
After upgrading, it has error:
The component metadata for oracle source, clsid{....} could not be upgraded to new version of the component, The perform upgrade method failed.
I guess it may be related to Oracle connector version, so I download connector 4.0 from https://www.microsoft.com/en-us/download/details.aspx?id=52950
But even I install connector 4.0 and rebuild my SSIS package containing Oracle connection manager, the error is same as before, what should I do?
I searched for 2 days and it can be resolved by installing connector 5.0(though 5.0 is for SQL Server 2017, but my SQL Server is 2016).

An Entity Framework database provider compatible with this version could not be found

I have Visual Studio Professional 2015 running a newly created WebAPI 2 project. I wanted to create a data model from database using entity framework (code first from existing database). So I downloaded this from oracle.
ODAC 12.2c Release 1 and Oracle Developer Tools for Visual Studio (12.2.0.1.0)
After installation I successfully tested connected to the database using Managed driver, and proceed through the EF wizard. But at the end I get this error
I tried both Managed and Unmanaged drivers. I also tried adding references to these libraries
Oracle.ManagedDataAccess
Oracle.ManagedDataAcces.EntityFramework
Oracle.DataAccess.EntityFramework
Oracle.DataAccess
I check my version of Entity Framework the project is using and it says its using the latest 6.1.3
After adding this references from Nuget:
Oracle.ManagedDataAccess
Oracle.ManagedDataAccess.EntityFramework
Oracle.DataAccess.EntityFramework
Oracle.DataAccess
You have to compile the project in x86 and try again with the wizard. We have had your problem at my office several times, and I think It´s caused because of having the project configured with "any Cpu"
Hope it helps

Oracle 12C compatability with Sonar 4.3.2

Our DB team is upgrade Oracle to 12C. We currently have Sonar 4.3.2. Is Sonar 4.3.2 compatible with Oracle 12C.
There is an open ticket on the matter and no support yet: http://jira.sonarsource.com/browse/SONAR-6768
No roadmap is defined, but support might very much not comes first with oldest versions of SQ, upgrade to latest LTS version or latest version might be required.

Visual Studio upgraded my database, now how do I convert it back.

I wanted to open my database up using sever explorer in visual studio 2012 and it told me I needed to upgrade my database from 3.5 to 4.0. Now when I deploy my application (WP8 project) it tells me Incompatible Database Version. If this was a compatible file, run repair. For other cases refer to documentation. [ Db version = 4000000,Requested version = 3505053,File name = mydatabase.sdf ]. How do I downgrade back to 3.5... I'm using VS2012 - surely if there was a quick upgrade like it did - there is a quick downgrade. :-)
I assume a backup wasn't created by the wizard. You could try using the SQL Server Compact Toolbox to downgrade from 4.0 to 3.5. There's a tutorial here on how to do it for SQL Server to 4/3.5 but it should be the same for CE 4 to 3.5. The idea is to export your database's information to a file that can then be used to create a 3.5 version of the database.
Before you try and downgrades, create a backup of the database just in case something else happens.

Which Oracle Client and ODP.NET version should I install (using .NET 3.5)

After quite some time developing with Oracle Client 9.2.0.7, and the ODP.NET to go with it, targeting .NET 1.1, we are upgrading our code line to .NET 3.5 and we are also considering upgrading the Oracle Client version.
I wonder if there are any "gotchas" as to whether specific versions should be used/not used?
For example Oracle Client 9.2.0.4 was known to be buggy with .NET and the upgrade to 9.2.0.7 was non optional.
Apparently the current Oracle Client version is 11.1.0.7.0 (from here). Has anyobody had specific issues with this version and would recommend other version? Sometimes installing the latest release isn't the best choice...
Take a look at the following document from Metalink, it might help. It contains a matrix of ODP Driver Version, Supported Operating System, SQL*Net, RDBMS, .NET Framework, and Visual Studio.
Subject: Oracle Data Provider for .NET (ODP) Supported Configurations
Doc ID: 726240.1
If all you need to do is talk to Oracle, then you can use my instructions found here for the Oracle 11 Client XCopy deploy.
The latest version is the only version that you can use if you have visual studio 2008 unless you don't want any of the snazzy add ins that Oracle provides with it (such as SQLPlus and such). I use the latest version to connect to a 10g database just fine.

Resources