MySqlEFConfiguration與MySql.Data.Entity.EF6.DLL

MySqlEFConfiguration與MySql.Data.Entity.EF6.DLL

下列程式碼中,當MySqlEFConfiguration出現波浪線,則必須針對MySql.Data.Entity.EF6.DLL加入參考。

public class MyContext : DbContext

 

延伸閱讀:

[1]Code-Based Configuration (EF6 onwards)
https://msdn.microsoft.com/en-us/data/jj680699.aspx

[2]Config File Settings
https://msdn.microsoft.com/en-us/data/jj556606