System.Data.SQLite
Check-in [8d98582107]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix for previous check-in: missed one place where the default provider should be EF6 enabled.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 8d98582107e383c47955c4473d302e4ffa7915ec
User & Date: mistachkin 2014-09-04 18:42:48
Context
2014-09-05
17:49
Refactor and simplify NuGet packages in order to support per-solution SQLite interop assembly files. Thanks to David Archer for his suggestions, feedback, and contributions. check-in: bd4e9309ea user: mistachkin tags: trunk
2014-09-04
18:42
Fix for previous check-in: missed one place where the default provider should be EF6 enabled. check-in: 8d98582107 user: mistachkin tags: trunk
18:32
More work on getting the design-time components to detect and use the EF6 enabled provider. Cherrypick of [30c1589da7] (check-in on wrong branch). check-in: c43018f34e user: mistachkin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to SQLite.Designer/SQLiteOptions.cs.

   135    135           /// <returns>
   136    136           /// The configured ADO.NET provider name for System.Data.SQLite -OR-
   137    137           /// the default ADO.NET provider name for System.Data.SQLite in the
   138    138           /// event of any failure.  This method cannot return null.
   139    139           /// </returns>
   140    140           public static string GetProviderName()
   141    141           {
          142  +#if NET_40 || NET_45 || NET_451
          143  +            return GetProviderName(Ef6ProviderName);
          144  +#else
   142    145               return GetProviderName(LegacyProviderName);
          146  +#endif
   143    147           }
   144    148   
   145    149           ///////////////////////////////////////////////////////////////////////
   146    150   
   147    151           /// <summary>
   148    152           /// This method determines the name of the ADO.NET provider for the
   149    153           /// System.Data.SQLite design-time components to use.