zzz projects Entity Framework 6 EF 6
Home EF Core Articles Knowledge Base Online Examples
  • Home
  • EF Core
  • Articles
  • Knowledge Base
  • Online Examples

Entity Framework 6 - Knowledge Base (KB)

63 results in tag: sqlite

Entity Framework + SQLite deployment

I have a ASP.NET MVC app that is using SQLite database through Entity Framework. Everything works on VS 2008's local development webserver....However, deploying the web app to my service provider causes this error:...[ArgumentException: Unable to find the...
asp.net-mvc entity-framework sqlite system.data.sqlite
asked by Pompair

Add a DbProviderFactory without an App.Config

I am using DbProviderFactories in my data layer (based on Entity Framework) and am using SQLite for my database, but I don't have to have a App.Config to have the following code:...<configuration> <system.data> <DbProviderFactories> <remove in...
ado.net dbproviderfactories entity-framework sqlite
asked by JasonRShaver

Problem with cascade delete using Entity Framework and System.Data.SQLite

I have a SQLite DB that is set up so when I delete a Person the delete is cascaded. This works fine when I manually delete a Person (all records that reference the PersonID are deleted). But when I use Entity Framework to delete the Person I get an error:...
.net entity-framework sqlite
asked by jamone

Error when adding a configuration to App.config file

Related question: ...Running my application on another machine gives me an error...This is how my App.config file looks like:...<?xml version="1.0" encoding="utf-8"?> <configuration> <connectionStrings> <add name="DocumentsDBEntities" connectionStri...
c# dbproviderfactories entity-framework sqlite
asked by delete

Generate SQL for SQLite database from Entity Framework Model

Is it possible to generate a SQLite database from the model with entity framework? I created a SQLite connection and created a model, but when I click "Generate database from model" I get the following, which looks like MS SQL and makes errors if executed...
.net entity-framework orm sqlite sql-server
asked by codymanix

SQLite with EF Code First

After my success using SQLite with NHibernate, I am very happy to use it for testing with Entity Framework Code First....If you have some example connections string and set up demos, that would be great and save a bit of time from my hectic day....Thanks ...
code-first entity entity-framework sqlite
asked by nick

HOWTO: SQLite with EntityFramework and Code-First

I am trying to create an embedded SQLite database on the fly with the EF however, I can't get it to work, the database file is never getting created. ...I have EF 4.2 and latest version SQLite...Here is what I have...app.config...<?xml version="1.0"?> <co...
c# ef-code-first entity-framework sqlite system.data.sqlite
asked by Pierluc SS

Entity Framework 6 + SQLite

I'm trying to use EF6 alpha and SQLite 1.0.66.0...My .config file:...<connectionStrings> <add connectionString="data source=:memory:;" name="TestDbContext" providerName="System.Data.SQLite" /> </connectionStrings> <entityFramework> <providers> ...
ado.net entity-framework entity-framework-6 sqlite
asked by nmulyukin

Entity Framework MigrationSqlGenerator for SQLite

is there a MigrationSqlGenerator for SQLite to use with entity framework? I only found one from devart which is commercial....No MigrationSqlGenerator found for provider 'System.Data.SQLite'. Use the SetSqlGenerator method in the target migrations confi...
.net c# entity-framework migration sqlite
asked by masterchris_99

An unhandled exception of type 'System.TypeInitializationException' occurred in EntityFramework.dll

I was trying to learn ...Entity Framework... and ...SQLite... using ...this tutorial.... However, I get an error....The error thrown is:...An unhandled exception of type 'System.TypeInitializationException' occurred in EntityFramework.dll...Additional inf...
.net c# entity-framework sqlite
asked by Joe Slater

Does System.Data.Sqlite support Entity Framework 6?

I looked around, and it was not clear if you could use it in EF6. I've found a compatible version on a blog (...here...) but I'd rather use the official one if possible. Is it compatible or not? ...Thanks!
c# entity-framework entity-framework-6 sql sqlite
asked by It'sNotALie.

Problems using Entity Framework 6 and SQLite

I'm trying to use Entity Framework with SQLite. I had issues integrating it into my main application, so I started a little test from scratch, exactly following the directions on ...http://brice-lambson.blogspot.com/2012/10/entity-framework-on-sqlite.html...
.net c# entity-framework entity-framework-6 sqlite
asked by Xcelled

entity framework 6 dbcontext sqlite

The 'Instance' member of the Entity Framework provider type 'System.Data.SQLite.SQLiteProviderServices, System.Data.SQLite.Linq, Version=1.0.88.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139' did not return an object that inherits from 'System.Data.E...
entity-framework-6 sqlite
asked by Drin Chan

System.Data.SQLite 1.0.91.0 and EF6.0.2

Has anyone gotten the new System.Data.SQLite 1.0.91.0 to work with Entity Framework 6 in Visual Studio 201#? If you have, how did you do it? ...Update - 20 Mar 2014: System.Data.SQLite 1.0.92.0 has been released but I had no luck creating an EDMX in VS201...
c# entity-framework sqlite
asked by PWRR2207

How do you make Entity framework 6 + Sqlite + code first work?

I am trying to create a simple project to explore how Entity framework 6 code first with sqlite db provider works, but when I complite my app I get the error:..."The Entity Framework provider type 'System.Data.SQLite.SQLiteProviderServices, System.Data....
entity-framework sqlite
asked by Yiannis Mpourkelis

SQLite EF6 programmatically set connection string at runtime

I try to migrate form EF 3.5 to 6 (with SQLite as database). We can not set the connection string in the app config file (this works without problems with ef6). We have to set connection string programmatically at runtime (after user has selected the SQLi...
.net connection-string entity-framework-6 runtime sqlite
asked by WebDucer

Entity Framework 6 with SQLite 3 Code First - Won't create tables

Using latest versions of EF6 and SQLite from NuGet. I finally got the app.config file to work after some useful posts on Stackoverflow. Now the problem is that the tables are not being created although the database is....My app.config:...<?xml version="1....
.net ef-code-first entity-framework-6 sqlite system.data.sqlite
asked by user1192887

How to use entityframework 6 with mono and sqlite for C# cross-platform development?

Is there any possibility to use the ...EntityFramework 6... for Windows & Linux & MacOS C# projects with the support of SQLite as db backend?...Edit:... We will use ...DBreeze... as a replacement. EntityFramework and NuGet in combination with SQLite is no...
c# cross-platform entity-framework-6 mono sqlite
asked by Till Lorentzen

Work with SQLITE database using visual studio 2013

I'm Trying to work with SQLITE database using visual studio 2013. I have installed ...System.Data.SQLite (x86/x64) 1.0.92... to visual studio. And installed the Setups for 64-bit Windows (.NET Framework 4.5) as well....Problems...It gives me and exception...
c# entity-framework-6 sqlite system.data.sqlite visual-studio-2013
asked by Chamika Sandamal

SQLite Error: The 'DbProviderFactories' section can only appear once per config file (IBM Client Access)

I'm using for my application Entity Framework and System.Data.SQLite using WPF and C# on .NET 4.5 On my machine al work well, but on a test machine a received this error when I access to the sqlite db via EntityFramework:...The 'DbProviderFactories' secti...
c# entity-framework sqlite wpf
asked by abrfra

Page 1 of 4
  • 1
  • 2
  • 3
  • 4
  • »

Prime Library

Performance

  • Entity Framework Extensions
  • Entity Framework Classic
  • Bulk Operations
  • Dapper Plus

Expression Evaluator

  • C# Eval Expression
  • SQL Eval Function
More Projects...

Related

  • EF Extensions Online Benchmark
  • WIN an EF Extensions license
  • EF6 BatchSaveChanges for only $79
Save your entities 20× faster with EF Extensions
SaveChanges vs BulkSaveChanges

EF Extensions
Try for free now
Get monthly updates by subscribing to our newsletter!
SUBSCRIBE!