diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2017-05-12 02:36:05 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-12 02:36:05 +0300 |
commit | 2324773fbb7ffa6e86fafb39c11ac724cc1ccd50 (patch) | |
tree | 799a1546abef20646d47892d6566b2cb33a3a98f /mcs/class/System.Data | |
parent | 5250b855e543b604cb7d923470c4ef2cd83a6a64 (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.cs | 48 | ||||
-rw-r--r-- | mcs/class/System.Data/System.Data.SqlClient/SqlBulkCopy.platformnotsupported.cs | 40 |
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); |