Commit Graph
6 Commits
Author SHA1 Message Date
Gert Driesen b8ff346173 * DbCommandBuilder.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.
* 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
2008-12-30 03:41:45 +00:00
Daniel Morgan ed24b3a67e 2006-12-07 Nagappan A <[email protected]>
* Mono.Data.SqlExpressions: Created directory.

2006-07-18 Dean Brettle <[email protected]>
	* SqlTest.cs: Added test for inserting zero-length varbinary.

svn path=/trunk/mcs/; revision=115172
2008-10-08 06:30:22 +00:00
Raja R Harinath 1d72d9b102 * DbConnectionStringBuilder.cs (ICollection.CopyTo): Use
_dictionary, not 'this' in cast.

svn path=/trunk/mcs/; revision=57033
2006-02-18 18:23:45 +00:00
Raja R Harinath aea2046ac6 * DbConnectionStringBuilderTest.cs
(ICollectionCopyToTest, NegICollectionCopyToTest): Enable.
(IDictionaryCopyToTest, NegIDictionaryCopyToTest): Delete.

svn path=/trunk/mcs/; revision=57032
2006-02-18 17:56:59 +00:00
Sureshkumar T 3671c260e6 In Test/System.Data.Common:
2005-04-04  Sureshkumar T  <[email protected]>

	* DbConnectionStringBuilderTest.cs: few more tests ignored for now
	because of gmcs incompatiability with csc. generic types are not
	being able to be assigned to non-generic types though implements
	non-generic interface.

In .:
2005-04-04  Sureshkumar T  <[email protected]>

	* System.Data_test.dll.sources: Added
	Test/System.Data.Common/DbConnectionStringBuilderTest.cs

	* System.Data.dll.sources: Added
	System.Data.Common/DbConnectionStringBuilder.cs


svn path=/trunk/mcs/; revision=42506
2005-04-04 09:42:19 +00:00
Sureshkumar T 8e13652448 In System.Data.Common:
2004-11-22  Sureshkumar T  <[email protected]>

	* DbConnectionStringBuilder.cs: Class for helping creation of db
	connection strings added.

In Test/System.Data.Common:
2004-11-22  Sureshkumar T  <[email protected]>

	* DbConnectionStringBuilderTest.cs: Test cases for
	DbConnectionStringBuilder class. These are independant tests.


svn path=/trunk/mcs/; revision=36382
2004-11-22 11:07:51 +00:00