I'm developing a web project with service and repository layers in ASP.NET MVC 2. I'm using Entity Framework.
I have two generated EF classes. Namely, Company and User. Company has two fields CompanyID {int} and CompanyName {string}. User has three fields UserID{int}, UserName{string}, BirthMonth{smallint,can be null} and CompanyID{int, this is a foreign key of Company}
I have a view for displaying UserName, Month and CompanyName. And also, this same view should include another model, namely Messages (MessageTitle, RecievedDate, ReceivedFrom) I would like to view BirthMonths as month names (January, February, etc.)
I'm stuck at converting short? to short and displaying months as names (ie. January, February) other than numbers.