ASP.NET connection string metadata syntax

不羁岁月 提交于 2019-12-01 03:08:06

There are two different types of connection strings here. The best bet (IMO) is to have a read up in the docs -

The first is an ADO.Net connection string: http://msdn.microsoft.com/en-us/library/ms254500.aspx

The second is an Entity Framework connection string: http://msdn.microsoft.com/en-us/library/cc716756.aspx

It's all explained in those two links, certainly clearer than I can explain it!

A great source of connection string information can be found here:

http://www.connectionstrings.com/

I felt the need to post this since i also had some problems with this and later on discovered that there's a difference in connection string requirements for codefirst/model/database approaches:

MS Blog post about configuration settings for entitiy framework connection strings

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!