This may be because the provider does not support Entity Framework 6 or later
貌似不支持Entity Framework 6

解决方案 »

  1.   

    实体框架的实例的成员提供者类型的System.Data.SQLite.SQLiteProviderServices、System.Data.SQLite.Linq Version = 1.0.89.0、文化=中立,PublicKeyToken = db937bc2d44ff139 '没有返回一个对象,继承自System.Data.Entity.Core.Common.DbProviderServices。实体框架供应商必须从这个类和继承“实例”的成员必须返回单例实例提供者。这可能是因为供应商不支持实体框架6或更高;有关更多信息,请参见http://go.microsoft.com/fwlink/?LinkId=260882。
      

  2.   

    更新方案:
    http://www.tuicool.com/articles/vym6Vb
    代替方案:
    http://www.devart.com/dotconnect/sqlite/download.html一个哥们写的更好:
    “.... System.Data.SQLite just isn't ready for the Entity Framework.”
    http://stackoverflow.com/questions/20460357/problems-using-entity-framework-6-and-sqlite
      

  3.   

    我去,用sqlite就可以了,还要和EF搅和在一起,你走的太前卫了吧.
      

  4.   

    <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />