System.Data.SQLite
Check-in [f294bad7b4]
Not logged in

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

Overview
Comment:Fix missing call to SQLiteOptions.GetProviderName.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | designOptions
Files: files | file ages | folders
SHA1: f294bad7b41132e5ab7b03f25b37e22728072d68
User & Date: mistachkin 2014-08-02 05:02:14
Context
2014-08-02
05:04
Make all references to the '.NET Framework' consistent. check-in: 8228a45d77 user: mistachkin tags: designOptions
05:02
Fix missing call to SQLiteOptions.GetProviderName. check-in: f294bad7b4 user: mistachkin tags: designOptions
03:57
Add ProviderFlags configuration property and associated handling to the design-time components installer. check-in: 940f8b3976 user: mistachkin tags: designOptions
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to SQLite.Designer/SQLiteConnectionStringEditor.cs.

    56     56           if (connectionString == null && newConnection != null)
    57     57           {
    58     58             if (_managerType != null)
    59     59             {
    60     60               object manager = Activator.CreateInstance(_managerType, new object[] { provider });
    61     61               if (manager != null)
    62     62               {
    63         -              index = (int)_managerType.InvokeMember("AddNewConnection", BindingFlags.Instance | BindingFlags.InvokeMethod | BindingFlags.Public, null, manager, new object[] { "System.Data.SQLite" });
           63  +              index = (int)_managerType.InvokeMember("AddNewConnection", BindingFlags.Instance | BindingFlags.InvokeMethod | BindingFlags.Public, null, manager, new object[] { SQLiteOptions.GetProviderName() });
    64     64                 if (index > -1 && _selector != null)
    65     65                 {
    66     66                   connectionString = (string)_managerType.InvokeMember("GetConnectionString", BindingFlags.Instance | BindingFlags.InvokeMethod | BindingFlags.Public, null, manager, new object[] { index });
    67     67                   _selector.SelectedNode = _selector.AddNode((string)_managerType.InvokeMember("GetConnectionName", BindingFlags.Instance | BindingFlags.InvokeMethod | BindingFlags.Public, null, manager, new object[] { index }), connectionString, null);
    68     68                 }
    69     69               }
    70     70             }