Re: Can't build EntityFrameworkCore example
Posted by: Gerry Green
Date: September 27, 2016 09:17PM

I tried to set up the project in VS 2015 and it complained about the same two issues in my original post. It suggested two more "using" statements in EmployeesContext.cs that weren't in the blog:

using MySQL.Data.EntityFrameworkCore.Extensions;
using System.ComponentModel.DataAnnotations;

With those in place I was able to build the solution in VisualStudio and then I took the same two statements back to my linux install and was able to build and run there as well.

Options: ReplyQuote


Subject
Written By
Posted
Re: Can't build EntityFrameworkCore example
September 27, 2016 09:17PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.