尝试使用 VFP Entity Framework Provider 创建从可视 foxpro 表到 entity framework 的映射

Trying to create mapping from visual foxpro tables to entity framework using VFP Entity Framework Provider

我正在学习这个关于使用 VFP 从可视化 foxpro 表映射到实体框架的教程 Entity Framework Provider Using VFP Entity Framework Provider With Free Tables Using Code First

但是当我尝试进行逆向工程时,我在输出中得到了这个错误 window:

System.Data.ProviderIncompatibleException: The store provider factory type 'System.Data.OleDb.OleDbFactory' does not implement the IServiceProvider interface. Use a store provider that implements this interface. at System.Data.Entity.Design.Common.MetadataUtil.GetProviderServices(DbProviderFactory factory) at System.Data.Entity.Design.EntityStoreSchemaGenerator.CreateStoreSchemaConnection(String providerInvariantName, String connectionString, Version targetEntityFrameworkVersion) at System.Data.Entity.Design.SsdlGenerator.EntityStoreSchemaGeneratorDatabaseSchemaLoader.CreateStoreSchemaConnection(String providerInvariantName, String connectionString, Version& storeSchemaModelVersion) at System.Data.Entity.Design.EntityStoreSchemaGenerator..ctor(String providerInvariantName, String connectionString, String namespaceName) at Microsoft.DbContextPackage.Handlers.ReverseEngineerCodeFirstHandler.ReverseEngineerCodeFirst(Project project)

Entity Framework 版本 6 Entity Framework 电动工具 Beta 4 VFP Entity Framework 提供程序版本 2.0.5.0

解决方案在同一个网站上,只需按照此处的说明操作即可

https://randomdevnotes.com/2013/12/15/visual-foxpro-entity-framework-provider-v2-getting-started-with-code-first/