Entity Framework Code First Default Connection Factory Configuration - SQL Compact version 4.0

XML
Copy to clipboard
fablecode
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3.   <configSections>
  4.     <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
  5.     <section name="entityFramework"
  6.       type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=4.3.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
  7.   </configSections>
  8.  
  9. <entityFramework>
  10.   <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlCeConnectionFactory, EntityFramework">
  11.     <parameters>
  12.       <parameter value="System.Data.SqlServerCe.4.0" />
  13.     </parameters>
  14.   </defaultConnectionFactory>
  15. </entityFramework>
  16. </configuration>
  17.  

    Leave a comment

     
    Visual verification
     

    Related books

    More InfoXML Programming Success in a Day: Beginner?s Guide to Fast, Easy, and Efficient Learning of XML Programming
    XML Programming Success in a Day: Beginner?s Guide to Fast, Easy, and Efficient Learning of XML Programming
    More InfoBeginning XML
    Beginning XML
    More InfoXML: Visual QuickStart Guide (2nd Edition)
    XML: Visual QuickStart Guide (2nd Edition)
    More InfoXML in a Nutshell, Third Edition
    XML in a Nutshell, Third Edition
    More InfoMicrosoft Access 2016 Programming By Example: with VBA, XML, and ASP
    Microsoft Access 2016 Programming By Example: with VBA, XML, and ASP
    More InfoMicrosoft Excel 2013 Programming by Example with VBA, XML, and ASP (Computer Science)
    Microsoft Excel 2013 Programming by Example with VBA, XML, and ASP (Computer Science)
    More InfoLearning XML, Second Edition
    Learning XML, Second Edition
    More InfoXML Crash Course: Step by Step Guide to Mastering XML Programming
    XML Crash Course: Step by Step Guide to Mastering XML Programming