2012-05-03 47 views
0

我已經安裝了'Entity Framework Power Tools Beta 2',我想簡單地反轉映射我的數據庫模式。我右鍵單擊解決方案資源管理器中的項目,然後單擊「實體框架 - >反向工程師代碼優先」,指定連接屬性,並在輸出窗口中出現以下錯誤。任何想法可能是錯的?EF Power Tools Beta 2:System.MissingMethodException由'Reverse Engineer Code First'拋出

System.MissingMethodException: Method not found: 'System.Xml.XmlReader System.Data.Common.DbProviderServices.GetConceptualSchemaDescription()'. 
    at System.Data.Entity.Design.EntityStoreSchemaGenerator.GetProviderSchemaMetadataWorkspace(DbProviderServices providerServices, DbConnection providerConnection) 
    at System.Data.Entity.Design.EntityStoreSchemaGenerator.CreateStoreSchemaConnection(String providerInvariantName, String connectionString) 
    at System.Data.Entity.Design.EntityStoreSchemaGenerator..ctor(String providerInvariantName, String connectionString, String namespaceName) 
    at Microsoft.DbContextPackage.Handlers.ReverseEngineerCodeFirstHandler.ReverseEngineerCodeFirst(Project project) 
+0

您使用的是什麼版本的.NET框架? –

+0

.NET版本 - 4.0.30319 SP1Rel – alwayslearning

回答