简体   繁体   中英

EntityClient Provider - What exactly does it do?

I created a new MVC application and added an Entity Framework model generated from the NerdDinner database.

I looked at the connectionStrings section of my web.config and was confused at the connection string that it created:

<add name="NerdDinnerEntities" connectionString="metadata=res://*/Models.NerdDinner.csdl|res://*/Models.NerdDinner.ssdl|res://*/Models.NerdDinner.msl;provider=System.Data.SqlClient;provider connection string=&quot;Data Source=TINCTOM;Initial Catalog=NerdDinner;Integrated Security=True;MultipleActiveResultSets=True&quot;" providerName="System.Data.EntityClient" />

What exactly does each piece of the connection string do? I don't really know much about the Entity Framework and was just trying to mess around with it to learn a bit more.

以下是连接字符串中每个部分的详细信息http://msdn.microsoft.com/en-us/library/cc716756.aspx

我写了详细的连接字符串检查 ,解释了元数据的选项。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM