User1120430333 posted
System.Data.Entity.Database;, it says An instance of this class is obtained from an System.Data.Entity.Dbcontext object and can be used to manage the actual database backing a DBContext or connection,
What you are being told is System.Data.Entity.Database namespace is depreciated. System.Data.Entity.Dbcontext namespace now has the class. The MVC Store program has been around for a long time, which was developed against an older version of EF.
Any reference to System.Data.Entity.Database in a section of code should be removed and use System.Data.Entity.Dbcontext in its place.