我正在使用实体框架和azure,我在Web角色中获得了一个WCF,它使用项目中的方法与实体框架..似乎我将连接字符串放在错误的文件上或者我错误地定义它...它如下:
<connectionStrings>
<!-- Windows Azure SQL Database Connection String -->
<add name="AMTEntitiesContainer"
connectionString="here goes my connection string"
providerName="System.Data.EntityClient" />
</connectionStrings>
Run Code Online (Sandbox Code Playgroud)
这是在我的实体库项目中的app.config文件中...应该进入我的webrole的配置吗?还是应该进入我的WCF服务?