System.Data.SQLite

Check-in [cbeb724259]
Login

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

Overview
Comment:Fix using System.Data.SQLite.Linq from the .NET Framework 3.5 and/or Visual Studio 2008.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | build-enhancements
Files: files | file ages | folders
SHA1: cbeb724259813eed4fabbcea8d91cab152634760
User & Date: mistachkin 2011-07-01 11:50:40.433
Context
2011-07-01
12:09
Add 'testce' project to the new build system. Currently, it is VS2008 only. Also, removed unused 'using' statements from it. check-in: 1ff353b956 user: mistachkin tags: build-enhancements
11:50
Fix using System.Data.SQLite.Linq from the .NET Framework 3.5 and/or Visual Studio 2008. check-in: cbeb724259 user: mistachkin tags: build-enhancements
11:36
Remove unused 'using' statements from System.Data.SQLite. check-in: b270e24e93 user: mistachkin tags: build-enhancements
Changes
Unified Diff Ignore Whitespace Patch
Changes to System.Data.SQLite/LINQ/SQLiteFactory_Linq.cs.
17
18
19
20
21
22
23







24
25
26
27
28
29
30
31
  public sealed partial class SQLiteFactory : IServiceProvider
  {
    private static Type _dbProviderServicesType;
    private static object _sqliteServices;

    static SQLiteFactory()
    {







      _dbProviderServicesType = Type.GetType("System.Data.Common.DbProviderServices, System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", false);
    }

    /// <summary>
    /// Will provide a DbProviderServices object in .NET 3.5
    /// </summary>
    /// <param name="serviceType">The class or interface type to query for</param>
    /// <returns></returns>







>
>
>
>
>
>
>
|







17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
  public sealed partial class SQLiteFactory : IServiceProvider
  {
    private static Type _dbProviderServicesType;
    private static object _sqliteServices;

    static SQLiteFactory()
    {
        string version =
#if NET_20
            "3.5.0.0";
#else
            "4.0.0.0";
#endif

        _dbProviderServicesType = Type.GetType(String.Format("System.Data.Common.DbProviderServices, System.Data.Entity, Version={0}, Culture=neutral, PublicKeyToken=b77a5c561934e089", version), false);
    }

    /// <summary>
    /// Will provide a DbProviderServices object in .NET 3.5
    /// </summary>
    /// <param name="serviceType">The class or interface type to query for</param>
    /// <returns></returns>