Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Entity Framework 101
Message
De
04/06/2014 15:08:02
 
 
À
04/06/2014 15:03:02
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Entity Framework
Versions des environnements
Environment:
C# 4.0
OS:
Windows 8
Network:
Windows 2000 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01601183
Message ID:
01601289
Vues:
34
Why not use an enum for the Status rather than magic strings?

>I have a demo project that I've been working on that focuses on advanced Entity Framework concepts. Here's the URL: https://github.com/mikecole/MovieFanatic
>
>I just added an edit page that has has an example of how to populate a dropdown using Razor: https://github.com/mikecole/MovieFanatic/blob/master/MovieFanatic.Web/Controllers/MovieController.cs
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform