Top "Ef-database-first" questions

The Database First Approach of Entity Framework provides an alternative to the Code First and Model First approaches to the Entity Data Model and it creates model codes (classes, properties, DbContext etc.

What binds ApplicationUser to the aspnetusers table in Database First?

I have a database-first EDMX model in a separate library (e.g. Common.Feedback.Data), that includes the AspNetUser table …

c# asp.net-mvc entity-framework-6 asp.net-identity ef-database-first
empty .Designer.cs file after generating .edmx using EF 4.x on ASP.Net MVC4 application

I have started a very simple ASP.Net MVC4 applictaion with a Database first approach (with existing DB). I have …

entity-framework asp.net-mvc-4 ef-database-first
Unable to retrieve project metadata. Ensure it's an MSBuild-based .NET Core project

I've been researching a lot online but did not find a proper solution. I was trying to use Entity Framework …

mysql entity-framework asp.net-core-2.0 ef-database-first entity-framework-core-2.1
DB-First authentication confusion with ASP.NET Web API 2 + EF6

I need to create a Web API C# application for an existing MySQL database. I've managed to use Entity Framework 6 …

c# asp.net entity-framework asp.net-web-api2 ef-database-first
Entity Framework Core Database-First Update after initial Scaffold?

I'm playing around with Entity Framework Core and I have been working on implementing a Database-First application. The initial Scaffold-DbContext …

entity-framework entity-framework-core ef-database-first
EntityFramework refuses to forget old columns

I'm using EntityFramework 6.1.3, database-first. I am currently wishing I had chosen code-first... I have a database with some tables. I've …

c# entity-framework entity-framework-6 ef-database-first
What is the best practice for multiple "Include"-s in Entity Framework?

Let's say we have four entities in data model: Categories, Books, Authors and BookPages. Also assume Categories-Books, Books-Authors and Books-BookPages …

c# entity-framework architecture data-access-layer ef-database-first
MySQL Entity Framework 6: Database First. How to create classes?

Until now I've been using EF6 with Visual Studio, mostly code first, rarely database first. To import some test data, …

mysql entity-framework ef-database-first
Updating model in EF Database First project

I've inherited a project which uses Entity Framework Database First. I'm trying to work out how to update the model …

entity-framework-4 edmx ef-database-first
How To Change Navigation Property Names Into Meaningful Names

I'm using Database First with Entity Framework 5. We have two tables (massively simplified): Addresses Street Town (etc.) Customers Name BillingAddress …

c# entity-framework entity-framework-5 ef-database-first