Most voted "database-first" questions
10 questions
Sort by count of
-
12
votes1
answer680
viewsCode First versus Database First?
I’m used to creating projects on 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,…
asp.net-mvc entity-framework code-first database-firstasked 10 years, 1 month ago Andre Figueiredo 5,030 -
4
votes1
answer100
viewsAspnet 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, but I already have all the tables of the database…
-
2
votes1
answer129
viewsMysql Event Scheduler needs super privileges
Good morning, I have a website hosting in a company, I have created a very simple system that through an event that runs a certain time in a certain time and makes changes in the elements of the…
-
2
votes1
answer78
viewsOrganize 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 that I could organize and make the code much more generic if it was…
-
2
votes1
answer47
viewserror left Join Linq
I cannot access the methods of a daughter class that was created using database first: namespace Dados { using System; using System.Collections.Generic; public partial class pessoa { public pessoa()…
-
2
votes0
answers25
viewsDescription of the EF Core Field
Good Morning Assuming I have a 'Description' field in the database, as I do via Fluent API for in return come "Description" (so it can be written correctly on screen )
-
1
votes1
answer40
viewsDatabase First approach with Lazy Loading disabled?
I’m starting a project and the Sql Server already exists so I will take the approach Database First as an example of that article Entity Framework Tutorial. I’ll create the file .emdx and import the…
-
1
votes1
answer101
viewsHow to persist extended Identity(Authentication) fields. net CORE 5.0
I have a project in ASP.NET MVC CORE 5.0 . What I want to do: Retrieve the information dadAleatorio user logged in, in any controller to insert them in wheres and creates. For example I want to…
-
0
votes0
answers14
viewsUnable to generate the model because of the following Exception: 'System.Argumentexception: ', hexadecimal value 0x08, is an invalid character
When trying to generate the template layer of an existing database (Sql server) I get this error. What should I do ?…
-
0
votes0
answers94
viewsEntity Framework (Database first) - Include Dataannotations
I saw in an MS link that it is possible to create a partial class and a Metadata class to include Dataannotations in properties created by the Entity Framework (database first). Well, I did as it is…