Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Entity Framework 101
Message
From
04/06/2014 15:08:02
 
 
To
04/06/2014 15:03:02
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
General information
Forum:
ASP.NET
Category:
Entity Framework
Environment versions
Environment:
C# 4.0
OS:
Windows 8
Network:
Windows 2000 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01601183
Message ID:
01601289
Views:
33
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform