You must be logged in to reply to this topic.
The Scafolding script does take into account sometimes we want to bind to a ViewModel
and not a Model. Entity framwework reporting an error as ID missing
Any ideas when you will have a fix?
public class ToDoViewModel
{
public ToDoList TodoList { get; set; }
List
public List
{
get
{
return countries;
}
}
public ToDoViewModel()
{
countries.Add( new Country() { Name="Ireland"});
countries.Add(new Country() { Name = "USA" });
countries.Add(new Country() { Name = "France" });
}
}
}
Hi callagg
I am not very clear about the problem you are facing.
Could you please provide us with more information and also a sample application if possible.
Thanks and Regards
Palak
You must be logged in to reply to this topic.
As a leading component vendor in the Microsoft Visual Studio Industry Partner program, ComponentOne has been providing the widest range of Microsoft Visual Studio components, IDE platform development tools, and applications for over 22 years. ComponentOne product lines encompass custom WinForms, ASP.NET, WPF, Silverlight, Mobile, and COM components, documentation tools, and Web Parts for Microsoft Office SharePoint Server and Windows SharePoint Services.
Contact ComponentOne: 1.800.858.2739 | Pittsburgh: 412.681.4343
©2013 ComponentOne LLC All Rights Reserved.
All product and company names herein may be trademarks of their respective owners.
ComponentOne holds a license under Patent No. 5,490,216 (which expires on September 21, 2013)
