Error
The type or namespace name 'Objects' does not exist in the namespace 'System.Data' (are you missing an assembly reference?)
Watch on YouTube:
when executing the following code:
System.Data.Objects.ObjectParameter result = new System.Data.Objects.ObjectParameter("result", typeof(int));
To fix it add the following reference
(assemblies tab, select Framework and add System.Data.Entity
Tuesday, 31 January 2017
Monday, 30 January 2017
MVC - Intranet - Get LAN ID in Controller
Watch on YouTube
public ActionResult Index()
{
string test = User.Identity.Name;
return View();
}
Subscribe to:
Posts (Atom)