[英]How do I set the login info for SQL Server 2008 in Entity Framework?
Okay I'm still learning the ropes with the Entity Framework and I came across one more small issue. 好的,我仍在学习实体框架的知识,并且遇到了另一个小问题。
When I create my Entity Model from the SQL Server 2008 database it warns me about saving the login information in the connection string in the config file. 当我从SQL Server 2008数据库创建我的实体模型时,它警告我有关将登录信息保存在配置文件中的连接字符串中的警告。 Initially I wasn't concerned about that so I just left it in there, but now I want to start thinking about deployment. 最初我并不担心这一点,所以我只是将其留在了那里,但是现在我想开始考虑部署。 So if I follow that advice and don't include the login information in the connection string, how else can I set that information later so that it can login to the database server? 因此,如果我遵循该建议并且未在连接字符串中包含登录信息,那么以后如何设置该信息,以便它可以登录到数据库服务器?
Thanks 谢谢
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.