Click here to Skip to main content
15,890,512 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

XML
<?xml version=&quot;1.0&quot; encoding=&quot;utf-8>
<configuration>
  <configSections>
  <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
  <section name="EntityFramework&" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  </configSections>
  <entityFramework>
    <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
      <parameters>
        <parameter value="v11.0" />
      </parameters>
    </defaultConnectionFactory>
  </entityFramework>
</configuration>




I just copy and paste this app.config from another application for the complete my work and it working fine,But i didn't understand the use of App.config in the data model or in the project.

Can anyone help me?

Thank You.
Posted
Updated 6-Nov-13 10:03am
v2
Comments
ZurdoDev 6-Nov-13 14:22pm    
What's your question?
Teddy Kurian 6-Nov-13 15:19pm    
i want to know the use of App.config in a project?
Richard C Bishop 6-Nov-13 16:04pm    
So use it, what is the problem?

1 solution

 
Share this answer
 
Comments
Teddy Kurian 8-Nov-13 18:01pm    
Can i create a project in MVP architecture without using App.config?? if no what is the importance?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900