ASP.NET connection string metadata syntax

前端 未结 3 1017
野趣味
野趣味 2021-01-04 07:00

I\'m new to ASP.NET-ville, be gentle.

I have been troubleshooting a ASP.NET setup, where the server/database values are changing, therefore web.config needs to be up

3条回答
  •  死守一世寂寞
    2021-01-04 07:43

    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!

提交回复
热议问题