398 Commits
Author SHA1 Message Date
Gert Driesen e2681602c2 * DbTransaction.cs: Do not perform a rollback in Dispose (bool).
Leaves it up to deriving classes to override Dispose (bool) and
perform a rollback if necessary. Fixes bug #325397. Code formatting.
* ExceptionHelper.cs: Added TransactionNotUsable method that constructs
an InvalidOperationException to be thrown by IDbTransaction
implementations when the transaction is no longer open.
* OdbcTransaction.cs: Keep state of the transaction, and update it
when performing commit or rollback. In Dispose (bool), only perform
a rollback if transaction was not committed or rollback before.
In Commit and Rollback, throw an InvalidOperationException if
transaction is no longer open.
* SqlTransaction.cs: Avoid unnecessary initialization. Remove
isRolledBack since its essentially the same as isOpen. Use
ExceptionHelper.TransactionNotUsable instead of duplicating code.
On 2.0 profile, ignore call to Rollback when transaction was already
disposed.
* OleDbTransaction.cs: Keep track of whether transaction is open and
whether it's disposed. In Commit an Rollback, throw an IOE if the
transaction is no longer open. In Dispose (bool), perform a rollback
if the transaction is still open.

svn path=/trunk/mcs/; revision=87835
2007-10-19 16:04:39 +00:00
Gert Driesen 7fdd4ffb8d * SqlConnection.cs: Avoid unnecessary initialization. Use string.Empty
for assigning zero-length string, and use String.Length to check for
zero-length string. Added support for IsolationLevel.Snapshot.
Added StructuredTypeMembers schema collection and restrictions. Fixed
table name for MetaDataCollections collection. Implemented
DataSourceInformation collection. Added missing data types (probably
introduced in 2.0 SP1). In GetSchema, throw InvalidOperationException
if connection is closed and throw NotImplementedException for
StructuredTypeMembers collection.

svn path=/trunk/mcs/; revision=87751
2007-10-18 14:21:44 +00:00
Gert Driesen e72a3d8b55 * SqlConnection.cs: On 1.0 profile, IsolationLevel.Unspecified is
not valid. On 2.0 profile, when IsolationLevel.Unspecified is passed
make sure to also set SqlTransaction.IsolationLevel to
ReadCommitted. Modified exceptions to match MS.

svn path=/trunk/mcs/; revision=87735
2007-10-18 08:36:46 +00:00
Nagappan Alagappan 4515ffcb57 * SqlParameter.cs (ConvertToFrameworkType): Added SqlDbType.Image. Fixes bug # 328398.
svn path=/trunk/mcs/; revision=87660
2007-10-17 12:50:27 +00:00
Nagappan Alagappan 741bd7514a * SqlConnection.cs: BeginTransaction does not handle
IsolationLevel.Unspecified, so the default is set as ReadCommited.
  Thanks to Jerome Haltom <[email protected]> for this patch.
  Fixes bug # 333082.
* SqlTransaction.cs: If transaction count is greater then 0 then roll
  back. Thanks to Jerome Haltom <[email protected]> for this
  patch. Fixes bug # 331953.

svn path=/trunk/mcs/; revision=87659
2007-10-17 12:32:16 +00:00
Gert Driesen 1cace7c8f7 * SqlException.cs: Do not hide Message on 2.0 profile. Fixes bug
#333901.

svn path=/trunk/mcs/; revision=87509
2007-10-15 13:24:54 +00:00
Marek Safar ec6b2d44bf 2007-10-08 Marek Safar <[email protected]>
* SqlParameterCollection.cs (SetParameter): Fixed missing cast.
	

svn path=/trunk/mcs/; revision=87092
2007-10-08 13:33:44 +00:00
Nagappan Alagappan 38ed697ceb * SqlConnection.cs: Added MonoTODO appropriately.
svn path=/trunk/mcs/; revision=86519
2007-09-27 17:30:19 +00:00
Nagappan Alagappan dc096f9119 * SqlCommandBuilder.cs: Code alignment.
svn path=/trunk/mcs/; revision=86396
2007-09-26 13:48:15 +00:00
Nagappan Alagappan 66cf8bc111 2007-09-25 Nagappan A <[email protected]>
* SqlInitialCatalogConverter.cs, SqlDataSourceConverter.cs:
	NetworkLibraryConverter.cs: Added new files.

	* SqlParameter.cs: 2.0 attribute changes.

	* SqlDataAdapter.cs: 2.0 attribute changes.

	* SqlConnectionStringBuilder.cs: 2.0 attribute changes.

	* SqlConnection.cs (ClearAllPools, ClearPool): Implemented 2.0
	APIs, other 2.0 attribute changes.

	* SqlCommandBuilder.cs (GetSchemaTable, InitializeCommand):
	Implemented 2.0 APIs, other 2.0 attribute changes.

	* SqlBulkCopyColumnMappingCollection.cs: Added constructor, 2.0
	API compatibility changes.

	* SqlException.cs: 2.0 attribute changes.


svn path=/trunk/mcs/; revision=86297
2007-09-25 06:37:24 +00:00
Nagappan Alagappan 6f36ba36cd 2007-08-13 Nagappan A <[email protected]>
* SqlConnection.cs (ConnectionString): 2.0 compatibility changes.

	* SqlDataReader.cs (IsCommandBehavior): Fixed spelling mistake of
	the method name.
	(Dispose): 2.0 compatibility changes.

	* SqlBulkCopy.cs (SqlRowsCopied): Fixed spelling mistake of the
	event name.
	(RowsCopied): Generates event when NotifyAfter is set.

	* SqlCommandBuilder.cs (Dispose, RefreshSchema): 2.0 compatibility
	changes.

	* SqlClientFactory.cs (CreateDataSourceEnumerator): Removed bogus
	TODO.

	* SqlException.cs (Message): 2.0 compatibility changes.


svn path=/trunk/mcs/; revision=83931
2007-08-13 08:33:29 +00:00
Nagappan Alagappan 8195433dd7 2007-08-06 Nagappan A <[email protected]>
* SqlCommand.cs, SqlDataReader.cs, SqlConnection.cs: When the
	server resets the connection, now the client code also disconnects
	the session and remove the instance from pool. Fixes bug # 81933.


svn path=/trunk/mcs/; revision=83522
2007-08-06 07:17:20 +00:00
Nagappan Alagappan fde6582ce8 2007-07-31 Nagappan A <[email protected]>
* SqlCommand.cs (Transaction, Connection): IDbCommand Transaction
	and Connection can be set to null. Fixes bug 82189.


svn path=/trunk/mcs/; revision=83059
2007-07-31 09:05:19 +00:00
Nagappan Alagappan 7effd71937 2007-07-23 Nagappan A <[email protected]>
* SqlCommandBuilder.cs (ApplyParameterInfo, GetParameterName):
	(GetParameterPlaceholder): Implemented 2.0 missing APIs.


svn path=/trunk/mcs/; revision=82463
2007-07-23 06:06:41 +00:00
Nagappan Alagappan 958cc8d1e3 2007-07-22 Nagappan A <[email protected]>
* SqlBulkCopy.cs (NotifyAfter): Implemented 2.0 property.
	(GetColumnMetaData, GenerateColumnMetaData):
	(ValidateColumnMapping): Implemented private method's to generate
	and validate SqlBulkCopy headers.
	(BulkCopyToServer): Private method to actually do the bulk copy
	processing.
	(WriteToServer): Implemented 2.0 missing overloaded methods.
	(IDisposable.Dispose): Implemented 2.0 missing method.

	* SqlBulkCopyColumnMappingCollection.cs (Add, CopyTo): Implemented
	missing API.
	(Item): Implemented missing property.

	* SqlBulkCopyColumnMapping.cs: Modified the implementation of
	Constructors to use property.

	* SqlDataReader.cs (GetSqlXml, IsCommandBehaviour): Added 2.0
	missing method.
	(Connection): Added missing property.

	* SqlParameter.cs (SetSqlDbType, ConvertToFrameworkType): Modified
	method as internal from private.

	* SqlConnection.cs: Fixed 2.0 missing feature.

	* SqlException.cs: Fixed 2.0 missing feature.

	* SqlClientPermission.cs: Fixed 2.0 missing feature.


svn path=/trunk/mcs/; revision=82428
2007-07-22 07:09:26 +00:00
Gert Driesen 61bba85f06 * ISqlNotificationReceiver.cs: Removed.
* SqlClientFactory.cs: Use SqlDataSourceEnumerator from S.D.Sql and
marked method todo. Avoid unnessary casts. Code formatting.
* SqlCommand.cs: Explicit interface implementation of IDbCommand not
necessary on 2.0 profile. Fixes API mismatches. Avoid unnecessary
casts. Code formatting.
* SqlConnection.cs: Also use RecommendAsConfigurable instead of
SettingBindableAttribute on 2.0. Use StateChange event from base class
on 2.0. Only explicitly implement IDbConnection methods on 1.0, since
these are implemented by base class on 2.0 profile. Removed extra
explicit implementation of IDisposable since the base class implements
this. Code formatting.
* SqlDataAdapter.cs: Dispose (bool) override not necessary on 2.0
profile. Stubbed ICloneable.Clone. Fixes API mismatches.
* SqlDataReader.cs: On 2.0, IDisposable.Dispose is implemented by
DbDataReader. Only 1.0 profile, explicitly implemented IEnumerable
GetEnumerator. Code formatting.
* SqlDataSourceEnumerator.cs: Removed.
* SQLDebugging.cs: Marked sealed on 2.0. Code formatting.
* SqlNotificationAuthType.cs: Removed.
* SqlNotificationInfo.cs: Added missing fields. Code formatting.
* SqlNotificationSource.cs: Added missing fields. Code formatting.
* SqlNotificationTransports.cs: Removed.
* SqlNotificationType.cs: Added missing Unknown field. Code formatting.
* SqlParameter.cs: Removed Browsable and EditorBrowsable attributes
from Precision and Scale. Fixes API mismatches. Code formatting fixes.
* SqlTransaction.cs: On 2.0 profile, Dispose method is exposed by
base class. Fixes API mismatches. Code formatting fixes.
* System.Data.dll.sources: Removed ISqlNotificationReceiver.cs,
SqlDataSourceEnumerator.cs, SqlNotificationAuthType.cs,
SqlNotificationTransports.cs.

svn path=/trunk/mcs/; revision=81134
2007-07-01 08:46:06 +00:00
Nagappan Alagappan e5121ef8b4 2007-06-21 Nagappan A <[email protected]>
* SqlConnection.cs: Fixed compiler warning.


svn path=/trunk/mcs/; revision=80468
2007-06-21 13:11:58 +00:00
Nagappan Alagappan e5dd400d6a 2007-06-11 Nagappan A <[email protected]>
* SqlConnection.cs (ParseDataSource): Adds tcp support in
	connection string. Fixes bug # 80975.


svn path=/trunk/mcs/; revision=79151
2007-06-11 07:01:29 +00:00
Nagappan Alagappan d6af08e613 2007-06-11 Nagappan A <[email protected]>
* SqlCommand.cs (Dispose): On disposing the command object, don't
	dispose connection and transaction.


svn path=/trunk/mcs/; revision=79148
2007-06-11 06:01:44 +00:00
Nagappan Alagappan 240d238b80 2007-06-06 Nagappan A <[email protected]>
* SqlCommand.cs, SqlConnectionStringBuilder.cs, SqlConnection.cs:
	Fixed 1.0 and 2.0 extras, errors as stated in class status page.

	* SqlDataAdapter.cs, SqlParameter.cs:Fixed 1.0 and 2.0 extras,
	errors as stated in class status page.

	* SqlBulkCopyColumnMappingCollection.cs: Fixed 1.0 and 2.0 extras,
	errors as stated in class status page.


svn path=/trunk/mcs/; revision=78717
2007-06-06 10:39:33 +00:00
Nagappan Alagappan 0fd75cc776 2007-05-30 Nagappan A <[email protected]>
* SqlParameter.cs (SqlParameter): Updated constructor to use the
	new TDS RPC implementation.
	Fixed missing attributes.
	(SetDbType): Added new case for sql_variant type.
	(ConvertToFrameworkType): Implemented new private method to
	convert the data type to framework type.

	* SqlParameterCollection.cs: Fixed missing attributes and
	implemented missing methods.

	* SqlConnection.cs: Fixed missing attributes.

	* SqlConnectionStringBuilder.cs: Certain attributes are missing or
	its value or they are not appropriate. Fixed them.

	* SqlDataReader.cs (GetData): Method is available only under 1.0
	profile.
	
	* SqlCommandBuilder.cs: Certain attributes are available only
	under 2.0 profile, so moved them inside ifdef.

	* SqlCommand.cs: Certain attributes are available only under 2.0
	profile, so moved them inside ifdef.


svn path=/trunk/mcs/; revision=78186
2007-05-30 10:52:37 +00:00
Nagappan Alagappan 599d3566ad 2007-05-30 Nagappan A <[email protected]>
* SqlBulkCopy.cs: Added new stubs.

	* SqlBulkCopyColumnMappingCollection.cs: Added new stubs.


svn path=/trunk/mcs/; revision=78178
2007-05-30 09:32:20 +00:00
Nagappan Alagappan 77aea76d2f 2007-05-29 Nagappan A <[email protected]>
* SqlCommand.cs (Dispose): Command.Dispose closing
	connection. Fixes bug # 81710. Thanks to AMC <[email protected]>
	for the fix.


svn path=/trunk/mcs/; revision=78101
2007-05-29 08:47:34 +00:00
Nagappan Alagappan 040acaf85e 2007-05-10 Nagappan A <[email protected]>
* SqlClientMetaDataCollectionNames.cs: Fixed incorrect constructor
	type.

	* SqlConnectionStringBuilder.cs: Fixed missing attributes.


svn path=/trunk/mcs/; revision=77106
2007-05-10 05:35:51 +00:00
Igor Zelmanovich 04442efcac 2007-05-09 Igor Zelmanovich <[email protected]>
* SqlConnectionStringBuilder.cs: added MonoNotSupported attribute.


svn path=/trunk/mcs/; revision=76987
2007-05-09 07:54:32 +00:00
Nagappan Alagappan 3bd42f9b0c 2007-04-03 Amit Biswas <[email protected]>
* SqlDataReader.cs (GetSqlBytes, GetProviderSpecificFieldType)
	(GetProviderSpecificValue, GetProviderSpecificValues): Implemented
	missing API.

	* SqlParameter.cs (XmlSchemaCollectionDatabase): Implemented missing property
	(XmlSchemaCollectionName): Implemented missing property
	(XmlSchemaCollectionOwningSchema): Implemented missing property
	(SourceColumnNullMapping): Existing implementation was not correct, Replaced the implementation
	(.ctor): Implemented mising constructor new in .net 2.0

	* SqlErrorCollection.cs (CopyTo): Implemented missing API

	* SqlParameter.cs (InferSqlType): Corrected bug related to default values of
	SqlDbType and DbType
	(ResetSqlDbType): Implemented missing API
	(ResetDbType): Implemented missing API	

2007-03-09  Amit Biswas  <[email protected]>

	* SqlParameterCollection.cs (CopyTo): Implemented missing API


svn path=/trunk/mcs/; revision=76655
2007-05-04 04:07:41 +00:00
Nagappan Alagappan 65d245dc9b 2007-04-02 Nagappan A <[email protected]>
* SqlParameter.cs: Variable name fix.


svn path=/trunk/mcs/; revision=75274
2007-04-02 03:47:05 +00:00
Nagappan Alagappan c317c256c1 2007-03-20 Nidhi Rawal <[email protected]>
* SqlClientFactory.cs: Added two using directives.
	(CreateConnectionStringBuilder): Implemented the method.
	(CreatePermission): Implemented the property.
	
	* SqlCommand.cs: Added one using directive.
	(Clone): Implemented the method.
	(Dispose): Implemented the method.
	(BeginExecuteXmlReader): Implemented the method.
	
	* SqlCommandBuilder.cs (QuoteIdentifier): Implemented the method.
	(UnquoteIdentifier): Implemented the method.
	
	* SqlConnection.cs (ChangePassword): Implemented the method.

2007-03-19  Nidhi Rawal  <[email protected]>

	* SqlClientFactory.cs (CanCreateDataSourceEnumerator): Implemented
	the property.

	* SqlCommand.cs (Notification): Implemented the property.
	(NotificationAutoEnlist): Implemented the property.

	* SqlDataReader.cs (VisibleFieldCount): Implemented the property.

	* SqlConnectionStringBuilder.cs (TrustServerCertificate): Implemented
	the property.
	(TypeSystemVersion): Implemented the property.
	(UserInstance): Implemented the property.
	(ContextConnection): Implemented the property.

	* SqlConnection.cs (FireInfoMessageEventOnUserErrors): Implemented
	the property.
	(StatisticsEnabled): Implemented the property.
	
	* SqlDataAdapter.cs (UpdateBatchSize): Implemented the property.

	* SqlParameter.cs: Implemented one attribute.


svn path=/trunk/mcs/; revision=75189
2007-03-30 12:43:28 +00:00
Andreia Gaita f733e8b5b5 2007-03-16 Andreia Gaita <[email protected]>
* SqlParameter.cs: Move isVariableSizeType flag to TdsMetaParameter
so that the TdsMetaParameter can validate itself for valid size / values.
* SqlCommand.cs (Execute): Call Validate on TdsMetaParameter.

* TdsMetaParameter.cs: Add Validate() method. For now, validate 
size/value. Add isVariableSizeType.

* SqlCommandTest.cs: Add OutputParamSizeTest1-4 to test size/value
validation exception.

svn path=/trunk/mcs/; revision=74500
2007-03-16 21:24:35 +00:00
Nagappan Alagappan 6b6e0e53b0 2007-03-14 Nagappan A <[email protected]>
* SqlCommand.cs (CommandType): Exception type thrown in 2.0
	profile is different than 1.0, ArgumentOutOfRangeException.
	(Connection): Exception type thrown in 2.0 profile is different
	than 1.0, ArgumentOutOfRangeException.
	(Execute): If Size property is 0 for String and Binary type, then
	throw InvalidOperationException.
	(ValidateCommand): Exception type thrown in 2.0 profile is
	different than 1.0, NullReferenceException.


svn path=/trunk/mcs/; revision=74232
2007-03-14 05:57:41 +00:00
Nagappan Alagappan 4bf0406e1f 2007-03-09 Nagappan A <[email protected]>
* SqlDataReader.cs: Fixed syntax erros reported in class status
	page.


svn path=/trunk/mcs/; revision=73987
2007-03-09 05:49:46 +00:00
Andreia Gaita 31401d33cb 2007-03-09 Andreia Gaita <[email protected]>
* SqlCommand.cs (ExecuteScalar): Fix returned value for 
stored procedure calls to return the first column of the
first row produced by the proc.

* SqlCommandTest.cs: Add parameterized stored procedure call tests
to ExecuteScalar and ExecuteNonQuery.

svn path=/trunk/mcs/; revision=73982
2007-03-09 02:19:43 +00:00
Nagappan Alagappan ea691485ba 2007-03-08 Nagappan A <[email protected]>
* SqlCommand.cs (CloseDataReader): Checks whether the SQL
	connection is created or not.


svn path=/trunk/mcs/; revision=73941
2007-03-08 13:27:32 +00:00
Andreia Gaita 645ef8bd89 * SqlCommand.cs (ExecuteScalar): when calling stored procedures,
implement support for return of output values in the parameter
collection.

2007-03-07  Andreia Gaita <[email protected]>

svn path=/trunk/mcs/; revision=73914
2007-03-07 22:06:29 +00:00
Konstantin Triger cc851a9f01 cosmetic changes
svn path=/trunk/mcs/; revision=73183
2007-02-20 16:15:58 +00:00
Nagappan Alagappan 80f1f8ad35 2007-02-16 Nidhi Rawal <[email protected]>
* SqlParameter.cs (CompareInfo): Implemented the property
	CompareInfo.

2007-02-15  Nidhi Rawal  <[email protected]>

	* SqlCommand.cs: Added some attributes which were not implemented
	for .NET 2.0 and removed extra attribute which are not there in
	.NET 2.0.

	* SqlCommandBuilder.cs: Added some attributes that were not 
	implemented for .NET 2.0.

	* SqlParameterCollection.cs: Added some attributes that were 
	not implemented for .NET 2.0.

	* SqlConnectionStringBuilder.cs: Added some attributes that
	 were not implemented for .NET 2.0.
	
	* SqlConnection.cs: Added attribute that was not implemented
	for .NET 2.0.

	* SqlParameter.cs: Added some attributes which were not
	implemented for .NET 2.0 and removed some extra attributes which
	are not there in .NET 2.0


svn path=/trunk/mcs/; revision=73144
2007-02-20 06:16:02 +00:00
Nagappan Alagappan 16ade3ad4f 2007-02-09 Nagappan A <[email protected]>
* SqlConnection.cs (SetConnectionString): Fixes bug # 80712. A
	small typo.


svn path=/trunk/mcs/; revision=72537
2007-02-09 13:49:49 +00:00
Nagappan Alagappan f0d2e2860d 2007-01-08 Nagappan A <[email protected]>
* SqlTransaction.cs (Dispose): Fixed compliation warning.

	* SqlDataReader.cs (GetValues): Length of elements to be copied was
	decided based on the argument array passed, which caused a bug, if
	the length of given array is more than actual column values.

	* SqlCommandBuilder.cs (CatalogSeparator, SchemaSeparator)
	(CatalogLocation): Implemented missing properties.
	(CreateDeleteCommand, CreateInsertCommand, CreateUpdateCommand):
	Modified private methods to take bool flag. If true, add actual
	parameter name instead of p1, p2 etc.
	(CreateParameter): Added overloaded private method to create
	parameter with the actual column name.
	(GetUpdateCommand, GetDeleteCommand, GetInsertCommand):
	Implemented missing overloaded methods.
	(SetRowUpdatingHandler): Implemented missing protected method.

	* SqlCommand.cs: Fixed compilation warning. Removed bogus
	MonoTODO's.


svn path=/trunk/mcs/; revision=70619
2007-01-08 05:54:50 +00:00
Nagappan Alagappan 2d2bd99970 2006-12-07 Nagappan A <[email protected]>
* Code alignment.


svn path=/trunk/mcs/; revision=69817
2006-12-20 17:16:37 +00:00
Nagappan Alagappan eb9cad4ca0 2006-12-05 Nagappan A <[email protected]>
* SqlCommand.cs (Execute): If sql2 length is greater than 0, then
	add ';' and the respective sql2 string and then execute the
	string. Fixes bug # 79880.


svn path=/trunk/mcs/; revision=69019
2006-12-05 10:03:01 +00:00
Miguel de Icaza de0804bafa 2006-11-28 Miguel de Icaza <[email protected]>
* Rationalize use of MonoTODO as well.



svn path=/trunk/mcs/; revision=68622
2006-11-28 22:31:11 +00:00
Nagappan Alagappan 8d54a64faf * SqlConnection.cs: Implemented SqlConnection.GetSchema ().
svn path=/trunk/mcs/; revision=64544
2006-08-30 11:30:57 +00:00
Konstantin Triger 38e81d5604 implemented SqlClientFactory.CreateConnection ()
svn path=/trunk/mcs/; revision=63540
2006-08-09 15:50:19 +00:00
Senganal T dbcfcb27fe 2006-07-13 Senganal T <[email protected]>
* Test/System.Data.Common/DBDataPermissionTest.cs : Removed invalid tests

	* System.Data.Common/SchemaInfo.cs DbDataAdapter.cs DbConnectionOptions.cs DbParameter.cs 
	DbMetaDataColumnNames.cs DbTransaction.cs DataTableMapping.cs DataAdapter.cs 
	FieldNameLookup.cs DbDataRecord.cs DataColumnMappingCollection.cs DbCommand.cs 
	DbDataPermission.cs DbProviderFactory.cs DbCommandBuilder.cs DbConnectionString.cs 
	RowUpdatedEventArgs.cs DbDataReader.cs DbConnectionStringBuilder.cs DbConnection.cs 
	DataTableMappingCollection.cs :
		2.0 Api fixes

	* System.Data.SqlClient/SqlClientFactory.cs SqlCommand.cs SqlConnectionFactory.cs 
	SqlClientPermission.cs SqlParameterCollection.cs SqlDataReader.cs 
	SqlConnection.cs SqlParameter.cs SqlTransaction.cs :
		2.0 Api fixes

	* System.Data.Odbc/OdbcTransaction.cs OdbcCommand.cs OdbcConnectionFactory.cs 
	OdbcPermission.cs OdbcDataReader.cs OdbcParameterCollection.cs 
	OdbcConnection.cs OdbcFactory.cs OdbcParameter.cs :
		2.0 Api fixes

	* System.Data.OleDb/OleDbCommand : 2.0 Api fixes

	* System.Data.dll.sources: 
		- Added to build :
			System.Data.Common/DbMetaDataColumnNames.cs
		- Removed from build :
			System.Data.Common/DbCommandOptionalFeatures.cs
			System.Data.Common/DbCommandSet.cs
			System.Data.Common/DbProviderSupportedClasses.cs
			System.Data.Common/SchemaLocation.cs
			System.Data.Odbc/OdbcConnectionFactory.cs
			System.Data.SqlClient/SqlConnectionFactory.cs
			System.Data.ProviderBase/DbCommandBase.cs
			System.Data.ProviderBase/DbConnectionBase.cs
			System.Data.ProviderBase/DbConnectionFactory.cs
			System.Data.ProviderBase/DbConnectionInternal.cs
			System.Data.ProviderBase/DbConnectionPoolCounters.cs
			System.Data.ProviderBase/DbConnectionPoolOptions.cs
			System.Data.ProviderBase/DbDataReaderBase.cs
			System.Data.ProviderBase/DbMetaDataFactory.cs
			System.Data.ProviderBase/DbParameterBase.cs
			System.Data.ProviderBase/DbParameterCollectionBase.cs
			System.Data.ProviderBase/DbReferenceCollection.cs

	* Makefile : Add System.Transactions library reference to net_2_0 PROFILE


svn path=/trunk/mcs/; revision=62561
2006-07-13 14:19:17 +00:00
Gert Driesen 0a3f08261d * SqlConnection.cs: Removed extra destructor, as destructor on
System.ComponentModel.Component already calls Dispose.
* SqlParameter.cs: Removed explicit interface implementation of
IDataParameter.ParameterName.
* OdbcErrorCollection.cs: Removed explicit interface implementation
of IEnumerable.GetEnumerator ().
* OdbcCommand.cs: Removed destructor as the destructor in
System.ComponentModel.Component already calls the Dispose method.
Removed explicit interface implemenation of members that are
implement by public members.
* OdbcDataReader.cs: Removed explicit interface implemenation of
IDataRecord.GetData.
* OleDbErrorCollection.cs: Removed explicit interface implementation
of IEnumerable.GetEnumerator ().
* OleDbParameterCollection.cs: Removed explicit interface
implementation members that are already implementation by public
members.
* DataTable.cs: Renamed initInProgress to fInitInProgress. BeginInit
and EndInit must only be virtual in 2.0 profile. Set eol-style to CRLF.

svn path=/trunk/mcs/; revision=61328
2006-05-31 13:55:23 +00:00
Senganal T 9471a15d54 2006-05-26 Senganal T <[email protected]>
* Test/ProviderTests/System.Data.SqlClient/SqlParameterTest.cs : 
		Test if Parameter Type is inferred correctly
		when Value is null or DBNull. Also, if Type is not explicitly set,
		test if it is inferred from the value of the parameter evertime the
		value is set.
	* System.Data.SqlClient/SqlParameter.cs :
		- InferSqlType : if value is null or DBNull.Value, retain the
		current parameter type.


svn path=/trunk/mcs/; revision=61156
2006-05-26 08:26:47 +00:00
Senganal T 5cd065b00a 2006-04-18 Senganal T <[email protected]>
* Test/ProviderTests/System.Data.SqlClient/SqlConnectionTest.cs :
		- OpenTest_1 : test InvalidOperationException is raised if
		ConnectionString is empty
		- DisposeTest : test nullreference exception is not raised
	* System.Data.SqlClient/SqlConnection.cs :
		- SetConnectionString : set the pareameter to default values
		if connection string is empty or null
		- Open : Raise InvalidOperationException if Connection String
		is empty or null
		- Dispose : Test exception not raised if dispose called on a
		connection with empty connection string

	slight modification of the patch by Jonel Rienton


svn path=/trunk/mcs/; revision=59582
2006-04-18 09:58:08 +00:00
Senganal T bd85b69021 2006-04-07 Senganal T <[email protected]>
* Test/ProviderTests/System.Data.SqlClient/SqlCommandBuilderTest.cs :
		- Corrected the testcase to check for queries corresponding to
		ms.net 2.0
		- verify that columns that do not allow nulls are not included
		in the null-checks.
		- Added testcase to check for DBConcurrencyException for
		Delete Command. 
		- Check the DataType of the null-check parameters
	* System.Data.Common/DbDataAdapter.cs :
		* Update () : If the Update/Delete Query has a null check,
		then populate the parameter value correctly.
	*  System.Data.SqlClient/SqlCommandBuilder.cs :
		* CreateDeleteCommand () 
		* CreateUpdateCommand () 
		* CreateInsertCommand () 
			- Changed the signature. Do not need DataRow parameter 
			as the Query generated is parametric.
			- Correct the null-check term in the WhereClause, set the
			correct properties for null-check parameter
			fixes #78027
			- Modified the generated query to match the query as
			generated by 2.0. We now ignore null-check in the
			whereclause if the Column does not allow nulls.
		* ctor () : Set QuotePrefix and QuoteSuffix for 2.0 profile
		* GetUpdateCommand ()
		* GetInsertCommand ()
		* GetDeleteCommand ()
			- Do not create new command everytime. Create only if
			not already created.
		* RefreshSchema : Reset the commands.


svn path=/trunk/mcs/; revision=59175
2006-04-07 12:46:57 +00:00
Senganal T e8e32eaaeb 2006-03-08 Senganal T <[email protected]>
* Mono.Data.Tds/Mono.Data.Tds.Protocol/Tds70.cs :
		- ProcessColumnInfo () : Set IsAutoIncrement Value for the column.
	* System.Data/Test/ProviderTests/System.Data.SqlClient/SqlCommandBuilderTest.cs :
		- Added testcase to verify UpdateCommand created with AutoIncrement
		columns.
	* System.Data/Test/ProviderTests/ProviderIndependant/DataReaderTest : Added a test to verify if AutoIncrement
	value is set in the SchemaTable.


svn path=/trunk/mcs/; revision=57689
2006-03-08 11:01:37 +00:00
Chris Toshok c21950a927 In System.Data.OleDb:
* OleDbDataAdapter.cs, OleDbCommand.cs, OleDbParameter.cs,
	OleDbCommandBuilder.cs, OleDbConnection.cs: remove
	DataSysDescriptions for >= 2.0.

2006-02-17  Chris Toshok  <[email protected]>

In System.Data.SqlClient:
	* SqlCommand.cs, SqlCommandBuilder.cs, SqlConnection.cs,
	SqlDataAdapter.cs: remove DataSysDescription attributes for >= 2.0

2006-02-17  Chris Toshok  <[email protected]>

In System.Data:
	* System.Data/DataSet.cs, System.Data/DataView.cs,
	System.Data/ForeignKeyConstraint.cs,
	System.Data/DataViewManager.cs, System.Data/DataRow.cs,
	System.Data/DataSysDescriptionAttribute.cs,
	System.Data/UniqueConstraint.cs, System.Data/DataTable.cs,
	System.Data/DataRelation.cs: lots of attribute work, removing
	DataSysDescription atributes (and marking the class obsolete) for
	2.0.

2006-02-17  Chris Toshok  <[email protected]>


svn path=/trunk/mcs/; revision=57018
2006-02-17 20:34:22 +00:00