Entity Framework CTP5 Code First, WPF - MVVM modeling
问题 I have my model all setup for my WPF application and working with entity framework ctp5 code first, here's a sample model class: public class Task { public int ID { get; set; } public int Index { get; set; } public string Content { get; set; } public int Indentation { get; set; } public DateTime Start { get; set; } public decimal Effort { get; set; } public decimal CompletedEffort { get; set; } public decimal Cost { get; set; } } What would be the recommended way to build my view model? My