Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Köplinger <alex.koeplinger@outlook.com>2017-05-12 02:36:05 +0300
committerGitHub <noreply@github.com>2017-05-12 02:36:05 +0300
commit2324773fbb7ffa6e86fafb39c11ac724cc1ccd50 (patch)
tree799a1546abef20646d47892d6566b2cb33a3a98f /mcs/class/System.Data
parent5250b855e543b604cb7d923470c4ef2cd83a6a64 (diff)
[Facades] Update with new typeforwarders/APIs (#4838)
Diffstat (limited to 'mcs/class/System.Data')
-rw-r--r--mcs/class/System.Data/System.Data.SqlClient/SqlBulkCopy.cs48
-rw-r--r--mcs/class/System.Data/System.Data.SqlClient/SqlBulkCopy.platformnotsupported.cs40
2 files changed, 88 insertions, 0 deletions
diff --git a/mcs/class/System.Data/System.Data.SqlClient/SqlBulkCopy.cs b/mcs/class/System.Data/System.Data.SqlClient/SqlBulkCopy.cs
index 96cf66caba6..87e740495b1 100644
--- a/mcs/class/System.Data/System.Data.SqlClient/SqlBulkCopy.cs
+++ b/mcs/class/System.Data/System.Data.SqlClient/SqlBulkCopy.cs
@@ -613,6 +613,30 @@ namespace System.Data.SqlClient {
}
[MonoTODO]
+ public Task WriteToServerAsync (DataRow[] rows)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public Task WriteToServerAsync (DataRow[] rows, CancellationToken cancellationToken)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public Task WriteToServerAsync (IDataReader reader)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public Task WriteToServerAsync (IDataReader reader, CancellationToken cancellationToken)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
public Task WriteToServerAsync (DbDataReader reader)
{
throw new NotImplementedException ();
@@ -624,6 +648,30 @@ namespace System.Data.SqlClient {
throw new NotImplementedException ();
}
+ [MonoTODO]
+ public Task WriteToServerAsync (DataTable table)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public Task WriteToServerAsync (DataTable table, CancellationToken cancellationToken)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public Task WriteToServerAsync (DataTable table, DataRowState rowState)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public Task WriteToServerAsync (DataTable table, DataRowState rowState, CancellationToken cancellationToken)
+ {
+ throw new NotImplementedException ();
+ }
+
private void RowsCopied (long rowsCopied)
{
SqlRowsCopiedEventArgs e = new SqlRowsCopiedEventArgs (rowsCopied);
diff --git a/mcs/class/System.Data/System.Data.SqlClient/SqlBulkCopy.platformnotsupported.cs b/mcs/class/System.Data/System.Data.SqlClient/SqlBulkCopy.platformnotsupported.cs
index 95d68018512..3b5cc3116a7 100644
--- a/mcs/class/System.Data/System.Data.SqlClient/SqlBulkCopy.platformnotsupported.cs
+++ b/mcs/class/System.Data/System.Data.SqlClient/SqlBulkCopy.platformnotsupported.cs
@@ -112,6 +112,26 @@ namespace System.Data.SqlClient {
throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
}
+ public Task WriteToServerAsync (DataRow[] rows)
+ {
+ throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
+ }
+
+ public Task WriteToServerAsync (DataRow[] rows, CancellationToken cancellationToken)
+ {
+ throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
+ }
+
+ public Task WriteToServerAsync (IDataReader reader)
+ {
+ throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
+ }
+
+ public Task WriteToServerAsync (IDataReader reader, CancellationToken cancellationToken)
+ {
+ throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
+ }
+
public Task WriteToServerAsync (DbDataReader reader)
{
throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
@@ -122,6 +142,26 @@ namespace System.Data.SqlClient {
throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
}
+ public Task WriteToServerAsync (DataTable table)
+ {
+ throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
+ }
+
+ public Task WriteToServerAsync (DataTable table, CancellationToken cancellationToken)
+ {
+ throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
+ }
+
+ public Task WriteToServerAsync (DataTable table, DataRowState rowState)
+ {
+ throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
+ }
+
+ public Task WriteToServerAsync (DataTable table, DataRowState rowState, CancellationToken cancellationToken)
+ {
+ throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
+ }
+
private void RowsCopied (long rowsCopied)
{
throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);