Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why this query just select everything from the Countries
Message
 
 
À
21/10/2016 08:36:16
Information générale
Forum:
ASP.NET
Catégorie:
Entity Framework
Versions des environnements
Environment:
C# 5.0
OS:
Windows 10
Database:
MS SQL Server
Divers
Thread ID:
01642163
Message ID:
01642230
Vues:
32
>>I've just changed it to IQueryable in the base classes. Now I'll have to fix all application errors due to this change.
>
>OK, I know I've asked this before. Why go through all the trouble on this, when you could just use stored procs or even straight sql pass through? This is low-hanging fruit functionality, IMO being made overly complicated. Not trying to be a pain - would truly like to understand why a development team would take this approach.

For the simplicity and rapid development. EF takes off many lines of code otherwise needed to be implemented. Saving/Adding new entity is just one line of code.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform