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.

How to update record using Entity Framework 6?

I am trying to update record using EF6. First finding the record, if exists, update it. Here is my code:…

c# entity-framework entity-framework-6 ef-database-first
Code-first vs Model/Database-first

What are the pros & cons of using Entity Framework 4.1 Code-first over Model/Database-first with EDMX diagram? I'm trying to …

entity-framework ef-code-first entity-framework-4.1 poco ef-database-first
ASP.NET Identity with EF Database First MVC5

Is it possible to use the new Asp.net Identity with Database First and EDMX? Or only with code first? …

asp.net asp.net-mvc asp.net-mvc-5 ef-database-first asp.net-identity
Adding a New Column to an Existing Table in Entity Framework

I have added a new column to a table in my database. The table is already defined in the existing …

entity-framework ef-database-first database-first
Upgrade from Entity Framework 5 to 6

After upgrading our project from using Entity Framework 5 to Entity Framework 6 (though NuGets update function) i get the following error …

c# entity-framework entity-framework-5 entity-framework-6 ef-database-first
How to sync model after using Code First from Database using Entity Framework 6.1 and MVC 5?

Assumptions Using EF 6.1, MVC 5, VS 2013, C# I have an existing database model designed in Toad DM for SQL Server and …

c# asp.net-mvc-5 ef-code-first entity-framework-6 ef-database-first
EF 6 database first: How to update stored procedures?

We are using Entity Framework 6.0.0 and use database first (like this) to generate code from tables and stored procedures. This …

entity-framework stored-procedures visual-studio-2013 entity-framework-6 ef-database-first
How can I call a SQL Stored Procedure using EntityFramework 7 and Asp.Net 5

For last couple of days I am searching for some tutorials about how to call a Stored Procedure from inside …

c# sql-server asp.net-core-mvc entity-framework-core ef-database-first
How to set created date and Modified Date to enitites in DB first approach

In every SQL table in our application we have "CreatedDate" and "ModifiedDate" column. We are using DB first approach. When …

entity-framework ef-database-first
How to use an existing enum with Entity Framework DB First

I am using Entity Framework 5, DB first. I know how to define an enum on my model, and set the …

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