Imported Upstream version 4.6.0.150

Former-commit-id: 73e3bb1e96dd09dc931c1dfe559d2c7f7b8b02c7
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2016-08-23 13:20:38 +00:00
parent 02ac915603
commit b95516a3dd
239 changed files with 4096 additions and 1544 deletions

View File

@@ -32,6 +32,8 @@
using System;
using System.Data;
using System.Data.Common;
using System.Threading;
using System.Threading.Tasks;
using Mono.Data.Tds;
using Mono.Data.Tds.Protocol;
@@ -146,6 +148,12 @@ namespace System.Data.SqlClient {
set { _destinationTableName = value; }
}
[MonoTODO]
public bool EnableStreaming {
get { throw new NotImplementedException (); }
set { throw new NotImplementedException (); }
}
public int NotifyAfter {
get { return _notifyAfter; }
set {
@@ -598,6 +606,24 @@ namespace System.Data.SqlClient {
BulkCopyToServer (table, rowState);
}
[MonoTODO]
public void WriteToServer (DbDataReader reader)
{
throw new NotImplementedException ();
}
[MonoTODO]
public Task WriteToServerAsync (DbDataReader reader)
{
throw new NotImplementedException ();
}
[MonoTODO]
public Task WriteToServerAsync (DbDataReader reader, CancellationToken cancellationToken)
{
throw new NotImplementedException ();
}
private void RowsCopied (long rowsCopied)
{
SqlRowsCopiedEventArgs e = new SqlRowsCopiedEventArgs (rowsCopied);

View File

@@ -47,6 +47,8 @@ using System.Data.Common;
using System.Data.Sql;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Xml;
namespace System.Data.SqlClient {
@@ -508,6 +510,42 @@ namespace System.Data.SqlClient {
}
}
[MonoTODO]
public new Task<SqlDataReader> ExecuteReaderAsync ()
{
throw new NotImplementedException ();
}
[MonoTODO]
public new Task<SqlDataReader> ExecuteReaderAsync (CancellationToken cancellationToken)
{
throw new NotImplementedException ();
}
[MonoTODO]
public new Task<SqlDataReader> ExecuteReaderAsync (CommandBehavior behavior)
{
throw new NotImplementedException ();
}
[MonoTODO]
public new Task<SqlDataReader> ExecuteReaderAsync (CommandBehavior behavior, CancellationToken cancellationToken)
{
throw new NotImplementedException ();
}
[MonoTODO]
public Task<XmlReader> ExecuteXmlReaderAsync ()
{
throw new NotImplementedException ();
}
[MonoTODO]
public Task<XmlReader> ExecuteXmlReaderAsync (CancellationToken cancellationToken)
{
throw new NotImplementedException ();
}
public
override
object ExecuteScalar ()

View File

@@ -163,6 +163,13 @@ namespace System.Data.SqlClient
}
}
[MonoTODO]
public Guid ClientConnectionId {
get {
throw new NotImplementedException ();
}
}
[DesignerSerializationVisibility (DesignerSerializationVisibility.Hidden)]
public
override
@@ -1663,6 +1670,17 @@ namespace System.Data.SqlClient
}
}
[MonoTODO]
public void ResetStatistics ()
{
throw new NotImplementedException ();
}
[MonoTODO]
public IDictionary RetrieveStatistics ()
{
throw new NotImplementedException ();
}
#endregion // Methods

View File

@@ -162,6 +162,11 @@ namespace System.Data.SqlClient
get { return Errors [0].Class; }
}
[MonoTODO]
public Guid ClientConnectionId {
get { throw new NotImplementedException (); }
}
[DesignerSerializationVisibility (DesignerSerializationVisibility.Content)]
public SqlErrorCollection Errors {
get { return errors; }

View File

@@ -473,6 +473,9 @@ namespace System.Data.SqlClient {
[BrowsableAttribute(false)]
public string UdtTypeName { get; set; }
[BrowsableAttribute(false)]
public string TypeName { get; set; }
#endregion // Properties
#region Methods