Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Make the primary overload of the SQLiteConnection.ParseConnectionString method public. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
3353fb78c7dfee9c98c7e1d02225bc49 |
User & Date: | mistachkin 2023-04-13 18:30:43.996 |
Context
2023-04-15
| ||
18:06 | Update SQLite core library to the latest 3.41 branch tip. check-in: 493e5e556b user: mistachkin tags: trunk | |
2023-04-13
| ||
18:30 | Make the primary overload of the SQLiteConnection.ParseConnectionString method public. check-in: 3353fb78c7 user: mistachkin tags: trunk | |
2023-04-10
| ||
17:11 | Add 'Notice_Rbu' to the list of possible extended SQLite API return codes. check-in: 599bfabe2a user: mistachkin tags: trunk | |
Changes
Changes to System.Data.SQLite.Linq/SQLiteProviderManifest.cs.
︙ | ︙ | |||
122 123 124 125 126 127 128 | /// <returns> /// The dictionary containing the connection string parameters. /// </returns> private static SortedList<string, string> ParseProviderManifestToken( string manifestToken ) { | | | 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 | /// <returns> /// The dictionary containing the connection string parameters. /// </returns> private static SortedList<string, string> ParseProviderManifestToken( string manifestToken ) { return SQLiteConnection.ParseConnectionString(manifestToken, false, true, false); } /// <summary> /// Attempts to set the provider manifest options from the specified /// connection string parameters. An exception may be thrown if one /// or more of the connection string parameter values do not conform /// to the expected type. |
︙ | ︙ |
Changes to System.Data.SQLite/SQLiteConnection.cs.
︙ | ︙ | |||
2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 | /// Non-zero to parse the connection string using the algorithm provided /// by the framework itself. This is not applicable when running on the /// .NET Compact Framework. /// </param> /// <param name="allowNameOnly"> /// Non-zero if names are allowed without values. /// </param> /// <returns> /// The list of key/value pairs corresponding to the parameters specified /// within the connection string. /// </returns> internal static SortedList<string, string> ParseConnectionString( string connectionString, bool parseViaFramework, | > > > > > | > | | 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 | /// Non-zero to parse the connection string using the algorithm provided /// by the framework itself. This is not applicable when running on the /// .NET Compact Framework. /// </param> /// <param name="allowNameOnly"> /// Non-zero if names are allowed without values. /// </param> /// <param name="strict"> /// Non-zero to throw an exception if any connection string values are not of /// the <see cref="String" /> type. This is not applicable when running on /// the .NET Compact Framework. /// </param> /// <returns> /// The list of key/value pairs corresponding to the parameters specified /// within the connection string. /// </returns> internal static SortedList<string, string> ParseConnectionString( string connectionString, bool parseViaFramework, bool allowNameOnly, bool strict ) { return ParseConnectionString( null, connectionString, parseViaFramework, allowNameOnly, strict); } /////////////////////////////////////////////////////////////////////////////////////////////// /// <summary> /// Parses a connection string into component parts using the custom /// connection string parser. An exception may be thrown if the syntax |
︙ | ︙ | |||
2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 | /// Non-zero to parse the connection string using the algorithm provided /// by the framework itself. This is not applicable when running on the /// .NET Compact Framework. /// </param> /// <param name="allowNameOnly"> /// Non-zero if names are allowed without values. /// </param> /// <returns> /// The list of key/value pairs corresponding to the parameters specified /// within the connection string. /// </returns> | > > > > > | | > | | 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 | /// Non-zero to parse the connection string using the algorithm provided /// by the framework itself. This is not applicable when running on the /// .NET Compact Framework. /// </param> /// <param name="allowNameOnly"> /// Non-zero if names are allowed without values. /// </param> /// <param name="strict"> /// Non-zero to throw an exception if any connection string values are not of /// the <see cref="String" /> type. This is not applicable when running on /// the .NET Compact Framework. /// </param> /// <returns> /// The list of key/value pairs corresponding to the parameters specified /// within the connection string. /// </returns> public static SortedList<string, string> ParseConnectionString( SQLiteConnection connection, string connectionString, bool parseViaFramework, bool allowNameOnly, bool strict ) { return parseViaFramework ? ParseConnectionStringViaFramework(connection, connectionString, strict) : ParseConnectionString(connection, connectionString, allowNameOnly); } /////////////////////////////////////////////////////////////////////////////////////////////// #if INTEROP_CODEC || INTEROP_INCLUDE_SEE /// <summary> |
︙ | ︙ | |||
4562 4563 4564 4565 4566 4567 4568 | null, null, null, null, null, null, null, null); previewEventArgs.Result = _connectionString; OnChanged(this, previewEventArgs); _connectionString = previewEventArgs.Result; SortedList<string, string> opts = ParseConnectionString( | | | 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 | null, null, null, null, null, null, null, null); previewEventArgs.Result = _connectionString; OnChanged(this, previewEventArgs); _connectionString = previewEventArgs.Result; SortedList<string, string> opts = ParseConnectionString( this, _connectionString, _parseViaFramework, false, false); string stringValue; object enumValue; stringValue = FindKey(opts, "Flags", null); if (stringValue != null) |
︙ | ︙ |