Question: how to add a reference to the .net assembly system.data.entity.dll?
Answer: Go to references section in your project. Right click it and than go add library package reference. search in online tab for entity framework. you will get a lot of installed packages if u have internet connection enabled. Select EF4 package, and finally, add it.