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)

12 results in tag: dnx

Entity Framework 7 Migration Scaffolding in Class Library with Configuration

Trying to add migrations to an EF7 Model that lives in an ASP.NET 5 class library. When running ...dnx . ef migration add mymigration... fails with different results depending on which project I run it on. ...If I run it in the folder of the main project,...
asp.net-core dnx ef-migrations entity-framework-core visual-studio-2015
asked by CuddleBunny

Database-first EF7-beta7 dnx ef dbcontext scaffold command fails

In an asp.net 5 beta 7 project no matter how the command is written I get an unrecognized argument trying to scaffold the dbcontext from an existing db:...C:\Dev\Project>dnx ef dbcontext scaffold provider EntityFramework.SqlServer connection "Data So...
asp.net-core dnx entity-framework-core sql-server
asked by Alek

Using existing database with ASP.NET 5 and EF7 (beta 7)

I'm trying to connect to my existing database using an empty template project for ASP.NET and EF 7, beta 7. This is what my project.json looks like:...{ "webroot": "wwwroot", "userSecretsId": "aspnet5-Titanes2015-409e9e37-b7bb-4185-b7aa-6dc336087524",...
asp.net-core asp.net-core-mvc dnx entity-framework entity-framework-core
asked by Antrim

"The expected lock file doesn't exist. Please run "dnu restore"" right after I have done so

I'm running beta7 for everything, including EF 7. I'm trying to connect to my remote existing database using the ASP.NET 5 Application template project. My project.json looks like this:...{ "webroot": "wwwroot", "userSecretsId": "aspnet5-XXX-409e9e37-...
asp.net-core c# dnx entity-framework-core json
asked by Antrim

Running DNX (EF7) database migration on Azure

I've been running a MVC project with ASP.NET 4.6 and EF7 locally and everything works fine. I ran the dnx . ef migration Initial commands to create the database tables, and everything ran fine. The app works. ...With Azure I have one problem, I can't seem...
asp.net azure database-migration dnx entity-framework-core
asked by Joao Sousa

dnu restore error (Could not find part of a path..)

Anyone attempt using entity framework-beta8 migrations? Everytime I run the dnx ef command I get the following ..."Error: . Please run dnu restore to generate a new lock file"...running dnu restore then gives the error...Could not find a part of the path ...
asp.net-core dnu dnx ef-migrations entity-framework-core
asked by MRainzo

dnx : Error: Unable to load application or execute command 'ef'

I am using using ...ASP.NET 5... Beta 8 with ...Entity Framework 7... Beta 8...I created a new class Library Package....I ran the following install packages prompts:...Install-Package EntityFramework.SqlServer -Pre Install-Package EntityFramework.Command...
asp.net-core dnx entity-framework-core
asked by greay

The navigation on entity type has not been added to the model, or ignored, or entityType ignored

The navigation 'Tags' on entity type 'Notepad.Models.Note' has not been added to the model, or ignored, or entityType ignored....public class Note { public Note() { CreationDate = DateTime.Now; Tags = new HashSe...
asp.net-core c# dnx entity-framework entity-framework-core
asked by Piotrek

DescriptionAttribute not available in DNX Core 5.0

I'm having an issue with ...DescriptionAttribute... in ...ASP.NET 5... project....I wanted to use ...DescriptionAttribute... for my ...enum... class, but the project cannot be built due to missing reference in DNX Core 5.0...Here's my project.json file...
asp.net-core dnx entity-framework-core
asked by Kien Chu

Entity Framework 7 "dnx ef migrations add" missing output file

The EF7 command ...dnx ef migrations add XXX ...suddenly stopped working. It gives the normal output to the console......C:\Users\Nikola\Dev\ScanburSandbox\src\ScanburSandbox>dnx ef migrations add XXX Done. To undo this action, use 'ef migrations remove'...
dnx entity-framework entity-framework-core
asked by Nikola Schou

EF7 generates wrong migrations with SQLite

I try to use ASP.Net 5 with Entity Framework 7 and SQLite, and I found a strange behavior of migrator....I taked a Visual Studio 2015 and created a new project with template "ASP.NET 5 Template Web Application". ...After that I removed dependecy..."Entity...
c# dnx entity-framework-core migration sqlite
asked by Blush

Entity Framework code first - isn't it meant to create tables?

After ...MUCH... research into Entity Framework (targeting DNX 4.5.1) I keep coming to the same conclusion that when using the code-first approach EF is supposed to create any tables that do not exist....DbContext:...public class AccountReadContext : DbCo...
c# dnx entity-framework entity-framework-6
asked by m.edmondson

Page 1 of 1
  • 1

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!