I want to use Sqlite Provider which has Linq with Entity Framework feature. But i could not find Sqlite installer which is compatible with VS 2012. I tried to install it from http://sourceforge.net/projects/sqlite-dotnet2/files/ but it doesnt get intergrated with VS 2012. I installed SQLite for Windows Runtime too. But that also didnt help. I am not able to find provider while creating ADO.net entity model. Please let me know is there any Sqlite provider available for VS 2012.
Thanks in advance.
Are you looking for something like this?
http://blogs.msdn.com/b/robertgreen/archive/2012/11/13/using-sqlite-in-windows-store-apps.aspx
Related
I'm using VS 2015 and i want to develop Win Form application with .NET Framework 4.5 and SQLite.
I have install the last "System.Data.SQLite" nuget package with all dependencies to my project but I couldn't find the SQLite data provider when I was trying to add a new connection to manage my database.
I try the solution for VS 2013 from here but don't works.
there is still no bundle for VS 2015, this is the problem?
is any solution to use 2013 bundle in 2015, or other solutions?
Installing this package:
sqlite-netFx46-setup-bundle-x86-2015-1.0.103.0.exe should fix that.
You need specifically 32-bit version
From http://system.data.sqlite.org/:
This is the only setup package that is capable of installing the
design-time components for Visual Studio 2015.
This is working link at the time of writing
http://system.data.sqlite.org/downloads/1.0.103.0/sqlite-netFx46-setup-bundle-x64-2015-1.0.103.0.exe
will add sqlite to the server explorer in VS2015
For me, I had to install this package.
You have to check the second checkbox that will integrate SQLite into Visual Studio 2015 in the installation wizard.
The package Daniel showed us didn't work for me.
My configuration is this: VS 2015, from Nuget I installed Entity Framework 6, System.Data.SQLite.Core version 1.0.101, project is in .Net 4.6.1.
Install the sqlite-net nuget into your solution
the development of sqlLite data provider for ef 7 has been actually suspended.
http://blogs.msdn.com/b/adonet/archive/2014/12/02/ef7-priorities-focus-and-initial-release.aspx
if you want to use it you have just to wait a bit.
I have another solution to import from 2013 with the provider using a connection string in the parameters.
And when you open it with 2015 it works but you can not change the provider options.
If you want to change the .db you must use a sqlite browser.
Sorry for my english.I hope you have understood
cya
You old application from VS 2013 and sqlite will work but you can not connect to new database or edit EF model until Sqlite publish design-time components for Visual Studio 2015.
I am working on an application (let's call it A, an ASP.NET MVC3 web site) in .NET 4.0, under Visual Studio 2010 and with Entity Framework and Oracle. Everything goes right.
For an other application (let's call it B), I installed Visual Studio 2012, which installed the new version of the .NET framework. Since, I can not get A working right.
The error I get is : Oracle 11.2.0.3.0 does not support APPLY
I've made some digging and I found a solution : uninstall the .NET framework 4.5 when I need to work on A, and install it back when I need to work on B. This is not very
satisfactory.
It looks like Oracle did not succeed to translate the EF query into an Oracle query. But why ? I still target the same version of the .NET framework (4.0) ...
I am currently trying different ODAC version in order to see if the problem could come from an incompatibility between ODAC and the new version of .NET.
Do you have any other idea of what could cause that and how to fix it ?
Thank you !
Sorry for my english, I am not a native speaker.
Oracle does not support CROSS/OUTER APPLY and some queries generated by EF require these operators. See this and this for more details
Having said that - as per the comments there seems to be a regression in EF5/.NET Framework 4.5 where EF started creating Apply nodes in queries for which Apply nodes were not created in EF4. It was previously investigated but apparently this scenario was not covered.
This regression was actually fixed in EF6 (which is probably not extremely helpful since currently there is no Oracle EF6 provider (at least not from Oracle) at this point)
Database: Oracle 11g
VS 20120 Provider: ODAC 11.2 Release 4 and Oracle Developer Tools for Visual Studio (11.2.0.3.0)
i just updated to VS 2012 RC and I cant even connect to my database. I dont expect EF 5 or .NET 4.5 to work with this provider but I just want to be able to set my solution target for .Net 4 and still be able to connect to my database. When I use the server explorer I do not see the provider that I usually use and the only oracle provider that comes with VS supports up to 10g and is deprecated.
Can anyone help me with getting a provider for oracle 11g in VS 2012?
I was able to figure this one out although google searches are not clear about the possibility to of finding an oracle provider for use in VS 2012 RC, .NET 4.5, using EF 5. So I will save everyone who is trying to do the same some trouble!
Devart develops providers for the different databases. I had given up on finding one for .NET 4.5 and was only looking for alternatives to the providers that oracle released for support EF 4.2. I found that alternative at Devarts site and it is called dotConnect for Oracle.
http://www.devart.com/dotconnect/oracle/download.html
At the time of writing this they are on version 7. I found out that it supports VS 2012 RC and EF5 by looking at the release notes on the right hand side of the screen. It is not made apparent anywhere else from what I can tell. It does support connecting to an oracle 11G database using .NET 4.5 and EF 5 though. Works just as it should. It costs money but I feel it is well worth the price rather then waiting for Oracle who has made no comment or announcement about developing a provider for .NET 4.5 and who never succeeded to deliver on EF 4.3 regardless.
So save yourself some time and heartache and check out dotConnect for oracle.
This Ora.NET provider for Oracle 11g (supports .NET 4.5) is available:
64Bit
http://www.oracle.com/technetwork/database/windows/downloads/index-090165.html
32Bit
http://www.oracle.com/technetwork/database/windows/downloads/index-101290.html
i having an error said that "Unable to find the requested .Net Framework Data Provider. It may not be installed."
I'm using (visual studio 2010) with (Sqlserver 2008 R2) And (.net framework 4.0)
(ASP.net:C#)
I'm trying to use SubSonic for vb.net windows apps and mySql and had the same error as you,
I've just installed vb.net 2010 express
I read a stack overflow question here which suggested that the db connector had been installed before .net v4 (vs2010) hence they couldn't be found, I thought this sounded feasible so I downloaded the latest MySql connector, uninstalled the old one and installed the new one. The next time I ran my project the simpleRepository worked straight away!
I was blaming SubSonic! but it really is great!
Hope this might help
i have a simple questions. I am programming in Visual studio using vb.net. As Database i am using mysql with the .Net connector and using the membership provider.
Do i need to install microsoft sql server 200X too ? (although i will not use it)
sincerly
Tasci
No, you don't need it. These are different programs. They do not require each other for work.