Entity Framework and ODBC - entity-framework

I have been working with Entity Framework with Microsoft SQL Server (via SqlClient) and recently required to connect to an external database via ODBC connection.
Here are my questions:
Is EF on ODBC doable?
IF yes, how? or If No, what other option if OBDC is a must.
Any sample EF on OBDC project for reference?
Thanks.

Related

How to Create connection on visual Studio 2008 Ado.Net Entity Data Model to Sql Server 2012

I want to create connection from visual studio 2008 to sql server 2012 by Ado.Net Entity data model,but I got this error at this photo support error
I tried to find a solution to this problem and I thought maybe OLEDB can be a solution but in this photo I want to choose .Net Framework Data Provider for OLEDB below to solve the problem by OLEDB but there is no selection of it. no selection of OLEDB
So please can you tell me how can I make connection vs2008 through ado.net or how I can select OLEDB because I need a web service to my smart device application. Because it is a smart device application I can only use VS2008 to develop. I am looking forward to hear from you. Thanks in advance.
You can develop the web service using any newer VS version, it is not tied to the Smart Device application in any way.

SQLite or SQL Server CE for Entity Framework migrations?

I'm starting a project and I will need to use the migrations provided by Entity Framework 6.
I found that SQLite does not have support for migrations.
SQL Server CE is the better option if I need to use the code-first migrations, or do I have other choices?
Remembering, I need a self-contained database engine.
No other choices, as far as I know

What's a good local database with Entity Framework

What would be a good choice for a local database to use with Entity Framework for an WPF application that needs local database.
I dont want to use MSSQL Server cos that'd be an overkill and or MSSQL CE cos few days back I was using SQL CE 3.5 and had all sorts of issues of it not supporting server generated IDs.
I've read MS Access has issues as well. and dont want to use SQLite either.
TIA
SQL Server Express sounds a good fit to me.
What about MySQL Embedded?
You can use either EF provider by Devart (it is a part of dotConnect for MySQL Professional), or the provider integrated into MySQL Connector /NET.

How to Access Peachtree Database in Zend Framework?

I want to access Peachtree Database into Zend Framework. I have installed Zend Framework and Peachtree Premium Trial Version. Now I want to access the database of Peachtree into Zend Framework. Please provide some link or code to do the same.
According to its website, Peachtree uses the Pervasive PSQL embedded database.
To access Pervasive PSQL from PHP, one could try PHP's ODBC extension. This is the recommended connection solution mentioned on http://ww1.pervasive.com/developerzone/development_env/php.asp
Zend Framework tracked a feature request to implement an ODBC adapter for Zend_Db, chiefly to support Microsoft SQL Server. The hope was that this would also allow connecting to any RDBMS that had an ODBC driver.
But work on the ODBC adapter feature was abandoned after a specific Microsoft SQL Server adapter was written for Zend_Db, about July 2009.
So I don't think there is any path to integrate the Peachtree database with Zend Framework classes.

Entity Model 3.5 COMPATIBILITY

Can we use same Entity Model with sql compact file which is generated by sql server database.
I need to convert the sqlserver database to sql compact file and need to know if same model can be use in application or we need to generate the model again.
Tool: VS 2008 TEAM AND C#
This is possible.
But please don't forget to change the connection string, Provider and ProviderManifestToken attributes of the generated .edmx file.
Devart Team
http://www.devart.com/dotconnect
ADO.NET data providers for Oracle, MySQL, PostgreSQL, SQLite with
Entity Framework and LINQ to SQL support