Commit Graph
7 Commits
Author SHA1 Message Date
Craig Morris e5a83e6857 SqlBulkCopy Implementation
This are the code changes to get the SqlBulkCopy procedure working on
mono.
2013-11-27 11:11:11 -07:00
Miguel de Icaza 7afc0e951d SqlBulkCopy.WriteToServer: Check array length before accessing first element; Patch from damoxc/github.com 2012-03-19 11:53:10 -04:00
Oleg Petrov d42b30f679 Behaviour for most of SqlBulkCopyOptions was implemented. 2011-12-12 02:35:22 +04:00
Oleg Petrov 7ab21da462 Not null checks for ctors 2011-12-03 16:17:08 +04: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 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
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