mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 01:41:17 -10:00
QuoteSuffix are not set (or are set to null). Changing QuotePrefix or QuoteSuffix after a command has been generated should result in an InvalidOperationException. * DbConnectionStringBuilder.cs: Added support for ODBC rules. Major rewrite fixing many compatibility issues, and improving support for connectionstring formats/characters. * System.Data_test.dll.sources: Added OdbcCommandBuilderTest.cs, OdbcConnectionStringBuilderTest.cs and DbCommandBuilderTest.cs. * libodbc.cs: Add IdentifierQuoteChar to OdbcInfo. * OdbcCommandBuilder.cs: Return a zero-length string when QuotePrefix or QuoteSuffix are not set (or are set to null). Changing QuotePrefix or QuoteSuffix after a command has been generated should result in an InvalidOperationException. Implemented support for obtaining character(s) for quoting identifiers from specified connection. Modified generated SQL to match MS. * OdbcConnectionStringBuilder.cs: Improved special casing of Driver and Dsn keywords. Re-use implemenation of DbConnectionStringBuilder. Improved argument checks to match MS. * DbCommandBuilderTest.cs: Added tests for QuotePrefix and QuoteSuffix. * DbConnectionStringBuilderTest.cs: Added tests for both odbc and non-odbc rules. * OdbcCommandBuilderTest.cs: Added tests for QuotePrefix and QuoteSuffix. Added tests for QuoteIdentifier (some still marked NotWorking). * OdbcConnectionStringBuilderTest.cs: Moved from ProviderTests. Added and improved tests. svn path=/trunk/mcs/; revision=122225