Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/wpf/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 没有名为“的连接字符串”;库存管理实体;可在App.Config文件中找到;_C#_Wpf_Winforms_Entity Framework - Fatal编程技术网

C# 没有名为“的连接字符串”;库存管理实体;可在App.Config文件中找到;

C# 没有名为“的连接字符串”;库存管理实体;可在App.Config文件中找到;,c#,wpf,winforms,entity-framework,C#,Wpf,Winforms,Entity Framework,打开应用程序主页面设计器时遇到此错误。在app.config文件中,我可以看到名为“Inventory\u ManagementEntities”的实体。 这是我的app.config文件代码 <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> <!-- For more information on Entity Framework configu

打开应用程序主页面设计器时遇到此错误。在app.config文件中,我可以看到名为“Inventory\u ManagementEntities”的实体。

这是我的app.config文件代码

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <configSections>
    <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
    <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=4.4.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  </configSections>
  <connectionStrings>
    <add name="Inventory_ManagementEntities" connectionString="metadata=res://*/Base_Table.csdl|res://*/Base_Table.ssdl|res://*/Base_Table.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=MOHSINALVI\TESTSERVER;initial catalog=Inventory_Management;user id=sa;password=telco_123;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
  </connectionStrings>
  <entityFramework>
    <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
      <parameters>
        <parameter value="v13.0" />
      </parameters>
    </defaultConnectionFactory>
  </entityFramework>
</configuration>

您拥有已配置但最终未使用的功能 要永久删除它们,您需要访问链接,请参阅向下显示调用堆栈 并删除该函数。