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

Entity Framework Core - Knowledge Base (KB)

1652 results in tag: asp.net-core

ASP.NET vnext and open database

is there some possibility to work with an open database like mysql, mariadb or other and ASP.NET vNext? ...Perhaps a beta driver or something like that?
asp.net asp.net-core entity-framework-core
asked by Patrik

Upgrade from Entity Framework 6 to EF Core

I'm trying to move an ASP.NET MVC 5 application to MVC 6 (ASP.NET vNext)....My existing application uses EF 6 and has some EF code first migrations. I want to port these migrations as well, because I want to be able to continue using the existing database...
asp.net-core entity-framework entity-framework-core
asked by Hannes Sachsenhofer

ASP.NET vNext EF7 dbContext issues

I am starting a vNext project, and I'm having some issues kicking it off the ground. I have added a table to the ...ApplicationDbContext... class, and it successfully created the table in the db (which in my case is in Azure). However, I can't seem to cor...
asp.net-core asp.net-mvc c# entity-framework-core
asked by max.io

A relational store has been configured without specifying either the DbConnection or connection string to use

I using asp.net vnext and ef7 when i want adding user i getting this error:...A relational store has been configured without specifying either the DbConnection or connection string to use....What is this?...Consider my app start:...using DomainModels; u...
asp.net asp.net-core c# entity-framework entity-framework-core
asked by user1968030

EF7: DBContext configuration on ASP.NET 5 Web-API

I'm currently developing an ASP.NET 5 Web-API application with VS2015 Ultimate Preview. Some things have changed about configuring EF7 on this new platform....I've already checked the help in this page: ...https://github.com/aspnet/EntityFramework/wiki...
asp.net-core asp.net-web-api dbcontext entity-framework-core
asked by NetCito

DbContext Not Found or A relational store has been configured without specifying either the DbConnection or connection string to use

when using Entity Framework Commands ("7.0.0-beta1")....when running...k ef migration add InitialCreate...i'm getting errors....[Solution]...i try to move my Class File (where DbContext is created) to main project from separate class library and everythin...
asp.net-core asp.net-core-mvc entity-framework-core
asked by Vijayant Katyal

Configuring cascade delete with EF7

I'm trying to configure a cascade delete using EF7 in a ASP.NET vNext application but I cannot find how to do it....I'm overriding ...OnModelCreating... and I have this code:... modelBuilder.Entity<Category>() .OneToMany<Category>( e => e.S...
asp.net-core entity-framework-core
asked by Jacques Bourque

What use as Database for developing asp.net vNext + Entity Framework 7 on OSX

I'm trying to set up my environment for developing asp.net vNext + Entity Framework 7 on my OSX....Apparently, there is no provider for MySQL neither PostgreSQL yet. Thus, what can be used as database for developing on OSX?...What you folks have been doin...
asp.net-core entity-framework-core macos mono
asked by Rogério R. Alcântara

Dependancy Injected DbContext is empty after populating DbContext created with new (EF7, ASP.NET 5, vnext)

I am relatively new to EF7 and have heard that Dependency Injection of DbContexts into the Controller constructor is a good way to go about getting the DbContext for use within given Action methods. However, there are many situations where Dependency Inje...
asp.net asp.net-core dbcontext entity-framework entity-framework-core
asked by Ryan

ASP.NET 5 vNext EF7 SQLite TypeLoadException on CreateParameter

I get the following error when I attempt to load my website, or attempt to apply my migrations via ...k ef migration apply...An unhandled exception occurred while processing the request. TypeLoadException: Could not load type 'Microsoft.Data.SQLite.SQLit...
asp.net-core c# entity-framework-core sqlite
asked by socketman

ASP.NET 5 / MVC 6 with MySQL database

I have plans to build an MVC 6 website which will be hosted on Linux, and I am currently in the initial testing phase to see how the new ASP.NET 5 (vNext) and MVC 6 work and whether I can deploy everything on Linux. ...My website must make use of a databa...
asp.net-core entity-framework-core mysql mysql-connector
asked by Nick Thissen

Entity Relations for EF7 MVC6

My goal here is to use EF7 with MVC6 [BETA2] to list a number of bookshelves and the number of books on each shelf....The database schema is created correctly with the correct table relationships. I can successfully add shelves and books to the database ...
asp.net-core c# entity-framework-core
asked by Will

How do I configure an Entity Framework interceptor in an aspnet vnext config.json file?

In a web config file, I would do this:...<entityFramework> <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" /> <providers> <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.S...
asp.net-core entity-framework-core
asked by Josh Pearce

How to run stored procedures in Entity Framework Core?

I am using EF7 (Entity Framework Core) in an ASP.NET Core App. Can you please point me to the proper way of executing stored procedures? The old method with ...ObjectParameters... and ...((IObjectContextAdapter)this).ObjectContext.ExecuteFunction... is no...
asp.net-core asp.net-core-mvc entity-framework-core
asked by eadam

ASP.NET vNext with EntityFramework.Core

In my ASP.NET vNext project I'm using 2 dependencies from Entity Framework 7, which are :..."EntityFramework.SqlServer": "7.0.0-beta1"..."EntityFramework.Commands": "7.0.0-beta1"...I want to use the beta2 release, and so I added a third dependency which i...
asp.net-core entity-framework-core
asked by Christophe Gigax

How handle these two models in code first approach using Entity Framework 7?

Problem...I am coding proof of concept ASP.NET 5 MVC6 that will simulate a library. I am using CTP6 and beta3. ...How to define their relationship in Entity Framework 7 using code first approach? ...Shelf and Books need a join table. As I see it, this app...
asp.net-core c# entity-framework entity-framework-core jointable
asked by hlyates

ASP vNext and PostgreSql

exists currently any way, how to communicate with PostgreSql database, when I want to use ASP.NET vNext? I'm looking for solution, which will work mainly on linux....EF7 supports only MS SQL a SqlLite now and Npgsql isn't ported for ASP.NET vNext....Thank...
asp.net-core c# entity-framework-core postgresql
asked by Rudis

Is there an Entity Framework 7 Database-First POCO Generator?

I've been playing around with Entity Framework 7 and ASP.NET 5 for a new project I'm working on, but I've hit a roadblock. The team I'm working on uses a DBA-first approach to development; i.e. the database is designed by DBA's and then the developers alt...
asp.net-core c# entity-framework-core sql-server
asked by Ron Penton

ASP.NET 5 MVC 6 and Entity Framework 7 issues

We can't add Owin and Entity framework 7 together. As we do so then there will be ambiguity between Microsoft.AspNet.Identity.core 2.0.0.0 and Microsoft.AspNet.Identity 3.0.0 Beta1...And hence I am not able to implement role provider in my application to ...
asp.net-core asp.net-core-mvc c# entity-framework-core
asked by sanjaypujari

ASP.NET vNext MVC and Entity Framework issues

I'm trying to create a little ASP.NET vNext WebAPI + AngularJS + Entity Framework project. But obviously, a lot changed in EF7 so I am experiencing the following issues:...I changed the ...project.json... as following:..."dependencies": { "Microsoft.A...
asp.net-core entity-framework entity-framework-core
asked by netik

Page 1 of 83
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • …
  • »
  • »»

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
Get monthly updates by subscribing to our newsletter!
SUBSCRIBE!