Questions tagged as 'database-first'

1
answer

Code First versus Database First?

I'm used to creating projects in ASP.NET MVC with Entity Framework Database First. From a modeling, the database and the system are created. However, I see a lot of programmers prefer Code First, where the database depends on the system. W...
asked by 10.11.2014 / 21:51
1
answer

AspNet MVC database first or code first

I have an AspNet MVC 5 project in which I will use Owin and identity, I needed to customize identity (attributes and relations) to meet my needs, however I already have all the "ready" bank tables ), in these already existing tables I'll create...
asked by 11.08.2016 / 14:53
1
answer

error left join linq

I can not access the methods of a child class that was created using database first: namespace Dados { using System; using System.Collections.Generic; public partial class pessoa { public pessoa() {...
asked by 01.06.2017 / 14:20
1
answer

Mysql Event Scheduler needs super privileges

Good morning, I have a website hosting in a company, I created a very simple system that through an event that runs of a certain time in a certain time and makes changes in the elements of the database (in this case it changes the field "state"...
asked by 30.05.2015 / 14:07
0
answers

EF Core Field Description

Good Morning Assuming I have a 'Description' field in the database, how do I via Fluent API to return "Description" (to be able to appear spelled correctly on the screen)     
asked by 26.05.2018 / 07:10
1
answer

Organize EDMX Classes

I have a DB First project that uses an EDMX to map the database. The tables have standard columns that exist in all of them and I could organize and leave the code much more generic if I could implement interfaces in it with these properties, bu...
asked by 30.09.2016 / 21:25
1
answer

DataBase First approach with Lazy Loading disabled?

I'm going to start a project and the Sql Server database already exists so I'll take the Database First approach as an example of this article Entity Framework Tutorial . Home I will create the .emdx file and import the respective ta...
asked by 29.09.2018 / 23:59
0
answers

Entity Framework (Database first) - Include DataAnnotations

I saw in an MS link that it is possible to create a partial and a Metadata class to include DataAnnotations in properties created by the Entity Framework (database first). Well, I did as the example, but the application has an error:    The m...
asked by 28.12.2017 / 14:47