Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Make sure the EF6 provider name is only available for .NET 4.0 and later. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | designOptions |
Files: | files | file ages | folders |
SHA1: |
1e2ed0931a0806d8a33afc14207ba227 |
User & Date: | mistachkin 2014-08-01 04:32:57.631 |
Context
2014-08-01
| ||
17:13 | Permit the default ADO.NET provider name used by the design-time components to be overridden via the environment. check-in: e2413cdd97 user: mistachkin tags: designOptions | |
04:32 | Make sure the EF6 provider name is only available for .NET 4.0 and later. check-in: 1e2ed0931a user: mistachkin tags: designOptions | |
04:24 | Add user-interface integration for the per-solution provider name configuration option. check-in: 1e8b52743b user: mistachkin tags: designOptions | |
Changes
Changes to SQLite.Designer/SQLiteOptions.cs.
︙ | ︙ | |||
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | /// <summary> /// This is the legacy provider name used by the System.Data.SQLite /// design-time components. It is also the default value for the /// associated option key. /// </summary> private static readonly string DefaultProviderName = "System.Data.SQLite"; /// <summary> /// This is the provider name used when Entity Framework 6.x support is /// required for use with the System.Data.SQLite design-time components. /// </summary> private static readonly string Ef6ProviderName = "System.Data.SQLite.EF6"; #endregion /////////////////////////////////////////////////////////////////////// #region Private Static Data /// <summary> /// This is used to synchronize access to the static dictionary of | > > > > > > | 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | /// <summary> /// This is the legacy provider name used by the System.Data.SQLite /// design-time components. It is also the default value for the /// associated option key. /// </summary> private static readonly string DefaultProviderName = "System.Data.SQLite"; /////////////////////////////////////////////////////////////////////// #if NET_40 || NET_45 || NET_451 /// <summary> /// This is the provider name used when Entity Framework 6.x support is /// required for use with the System.Data.SQLite design-time components. /// This provider name is only available when this class is compiled for /// the .NET Framework 4.0 or later. /// </summary> private static readonly string Ef6ProviderName = "System.Data.SQLite.EF6"; #endif #endregion /////////////////////////////////////////////////////////////////////// #region Private Static Data /// <summary> /// This is used to synchronize access to the static dictionary of |
︙ | ︙ | |||
272 273 274 275 276 277 278 | string key, string value ) { if (String.Equals( key, ProviderNameKey, StringComparison.Ordinal) && (String.Equals( | | > | | > > | 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 | string key, string value ) { if (String.Equals( key, ProviderNameKey, StringComparison.Ordinal) && (String.Equals( value, DefaultProviderName, StringComparison.Ordinal) #if NET_40 || NET_45 || NET_451 || String.Equals( value, Ef6ProviderName, StringComparison.Ordinal) #endif )) { return true; } return false; } #endregion |
︙ | ︙ |