Interbase DDEX provider for visual studio 2015 - c#

hi i'm working on creating entity framework DDEX provider for interbase db. i a'm following another opensource entity framework provider (Firebird) as a reference to my development. I have done necessary changes to my project and follo(https://github.com/cincuranet/FirebirdSql.Data.FirebirdClient/blob/master/DDEX/readme.txt).
I have two issues.
When I try to add interbase database into server explorer I can see "Interbase data source"
. But when I am trying to add entity data model (.edmx) it doesn't show interbase data source
.
When I try to go further by selecting "Interbase data source" in server explorer it prompts an exception saying "Failure has occurred while loading a type"
I can't debug on this because this is a dll that is in GAC. I would appreciate if someone can help me to figure out this issue.

Related

How to connect XAMPP MySQL to ADO.NET Entity Framework using Visual Studio?

I am creating a project with ASP.NET and which would be connected on our University website and their currently using XAMPP MySQL on their system so I need to adjust on their database technology at the same time I want to implement Entity Framework of C# for faster development. Thanks you.
Ive already tried adding references on the project like MySQL.Data and installing MySQL Connector for Visual Studio but turns out it is for the MySQL not the XAMPP MySQL.
You can connect to your MySQL db in Visual Studio by going to the Server Explorer and click on the Connect to Database. Then select Microsoft ODBC Data Source and click continue. Make sure you enter your connection string.
This might be of help to you : https://www.youtube.com/watch?v=EhqknuizUKk

Using the ADO.NET Entity Data Model and an ACCESS Database?

I'm using:
Visual Studio 2013
.NET Framework 4.5.1
Microsoft Access 2010
I'm currently working on a C# school project that doesn't require us to use a database at all, however we can grab some extra credit if we implement a database.
I've worked with SQLite so far and had not much trouble setting up the connection, however we are limited to Access for the project.
I would like to use the database in an ADO.NET Entity Data Model, but upon trying to add the .edmx Item via the solution explorer it doesn't let me choose "Access Database".
Is there any way to get an Access Database and the EDM to work together?
There is a JetEntityFrameworkProvider available on github. Compile the code and run the Install.cmd from JetDdexProvider folder:
To get DDEX Provider installed.

Can't install ADO.NET provider for sqlite in VS2013

after reading this article missing SQLite data provider in VS 2013 , I've tried to register SQLITE provider for VS 2013 installing the specific provider with ddex included but with no result.
When I reboot VS 2013 I can't find it in the list of ADO.NET provider and I can't create the Model for my sqlite DB.
Managing app.config of my application I was able to load dinamically the provider but this is not a good choice for my developer's team.
I've also tried to install SQL Server Compact & SQLite Toolbox for VS but now I can see only SQLCE provider and not Sqlite.
Searching DATAPROVIDER in windows registry i've seen that the Sqlite provider and SQLCE provider were installed in two different ways, infact under supported object for SQLCE data provider I can find many reference to Visual Studio(ex: IVsDataAsyncCommand) , while under Supported object of SQLite provider I can see any reference to Visual studio.
In my opinion the problem is here.
Is there a simple way to register DDEX SQLite provider on VS 2013 in windows registry or any other type of operation to do to register this provider definitively?
Thanks in advance,
Fabio
you go to the page of System.Data.SQLite download page.
You have to download and install the correct BUNDLE package, depends on your framework and VS version.
Assuming framework 4.5.1 you have to download
sqlite-netFx451-setup-bundle-x86-2013-1.0.94.0.exe
This is the only setup package that is capable of installing the design-time components for Visual Studio 2013.

Connect Oracle Database with Asp.net

I use visual studio Express 2012 for Web and install ODTwithODAC1210 (oracle client), but the oracle client cannot integrate with visual studio. When I select Data source as "Oracle Database", there is only one Data provider ".Net Framework Data Provider for OLE DATA DB".
When I fillout all information, and test connection, I get following error:
Error while trying to retrieve text for error ORA-01019
Any one know how to solve this problem. I very need a hlep.
I too had this problem. I think this is mainly related to the procedure while installing oracle on your pc. And oracle sucks up big time connecting with visual studio.
I>
1) Download the 'Oracle developer tools for visual studio' link while creating a new server connection. (U can find this link on the right side where you are getting that ".Net Framework Data Provider for OLE DATA DB" option)
2) Uninstall oracle
3)now install oracle again and those tools u have downloaded.
II>
1) Or U can use Oracle XE plugin (google it, its around 160 MB) and carefully enter your username and passwords.
2) Now try to link it from VS.
Hope this help somewhat.
NOTE:- Still I dont recommend oracle with visual studio because even if you get a success in trying all above. But While writing a 'connection string' for DB in VS. Its again will give some kind of errors: such as word 'UNICODE' is not recognized, etc.

Connecting ado.net Entity data model to postgresql database

I'm new to C#, ado.net and visual studio 2012, just to make that clear from the beginning.
I'm trying to connect an ADO.NET Entity Data Model to a postgresql database.
I tell VS to 'generate mdoel from database' and click to make a new connection. Postgresql is not listed as an alternative data source (I can only see different microsoft mysql sources).
I did download the npsql .dlls and put them in the projects\ folder. I then added them by PROJECT->Add Reference->browse, check them and press ok.
Postgresql does still not appear as an alternative when I try to make a new connection.
In advance, thanks!

Categories