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

@@ -79,6 +79,11 @@ namespace Microsoft.SqlServer.Server
throw new NotImplementedException ();
}
public virtual DateTimeOffset GetDateTimeOffset (int ordinal)
{
throw new NotImplementedException ();
}
public virtual decimal GetDecimal (int ordinal)
{
throw new NotImplementedException ();
@@ -89,7 +94,7 @@ namespace Microsoft.SqlServer.Server
throw new NotImplementedException ();
}
public virtual System.Type GetFieldType (int ordinal)
public virtual Type GetFieldType (int ordinal)
{
throw new NotImplementedException ();
}
@@ -129,11 +134,116 @@ namespace Microsoft.SqlServer.Server
throw new NotImplementedException ();
}
public virtual SqlBinary GetSqlBinary (int ordinal)
{
throw new NotImplementedException ();
}
public virtual SqlBoolean GetSqlBoolean (int ordinal)
{
throw new NotImplementedException ();
}
public virtual SqlByte GetSqlByte (int ordinal)
{
throw new NotImplementedException ();
}
public virtual SqlBytes GetSqlBytes (int ordinal)
{
throw new NotImplementedException ();
}
public virtual SqlChars GetSqlChars (int ordinal)
{
throw new NotImplementedException ();
}
public virtual SqlDateTime GetSqlDateTime (int ordinal)
{
throw new NotImplementedException ();
}
public virtual SqlDecimal GetSqlDecimal (int ordinal)
{
throw new NotImplementedException ();
}
public virtual SqlDouble GetSqlDouble (int ordinal)
{
throw new NotImplementedException ();
}
public virtual Type GetSqlFieldType (int ordinal)
{
throw new NotImplementedException ();
}
public virtual SqlGuid GetSqlGuid (int ordinal)
{
throw new NotImplementedException ();
}
public virtual SqlInt16 GetSqlInt16 (int ordinal)
{
throw new NotImplementedException ();
}
public virtual SqlInt32 GetSqlInt32 (int ordinal)
{
throw new NotImplementedException ();
}
public virtual SqlInt64 GetSqlInt64 (int ordinal)
{
throw new NotImplementedException ();
}
public virtual SqlMetaData GetSqlMetaData (int ordinal)
{
throw new NotImplementedException ();
}
public virtual SqlMoney GetSqlMoney (int ordinal)
{
throw new NotImplementedException ();
}
public virtual SqlSingle GetSqlSingle (int ordinal)
{
throw new NotImplementedException ();
}
public virtual SqlString GetSqlString (int ordinal)
{
throw new NotImplementedException ();
}
public virtual object GetSqlValue (int ordinal)
{
throw new NotImplementedException ();
}
public virtual int GetSqlValues (object[] values)
{
throw new NotImplementedException ();
}
public virtual SqlXml GetSqlXml (int ordinal)
{
throw new NotImplementedException ();
}
public virtual string GetString (int ordinal)
{
throw new NotImplementedException ();
}
public virtual TimeSpan GetTimeSpan (int ordinal)
{
throw new NotImplementedException ();
}
public virtual object GetValue (int ordinal)
{
throw new NotImplementedException ();
@@ -144,6 +254,181 @@ namespace Microsoft.SqlServer.Server
throw new NotImplementedException ();
}
public virtual void SetBoolean (int ordinal, bool value)
{
throw new NotImplementedException ();
}
public virtual void SetByte (int ordinal, byte value)
{
throw new NotImplementedException ();
}
public virtual void SetBytes (int ordinal, long fieldOffset, byte[] buffer, int bufferOffset, int length)
{
throw new NotImplementedException ();
}
public virtual void SetChar (int ordinal, char value)
{
throw new NotImplementedException ();
}
public virtual void SetChars (int ordinal, long fieldOffset, char[] buffer, int bufferOffset, int length)
{
throw new NotImplementedException ();
}
public virtual void SetDateTime (int ordinal, DateTime value)
{
throw new NotImplementedException ();
}
public virtual void SetDateTimeOffset (int ordinal, DateTimeOffset value)
{
throw new NotImplementedException ();
}
public virtual void SetDBNull (int ordinal)
{
throw new NotImplementedException ();
}
public virtual void SetDecimal (int ordinal, decimal value)
{
throw new NotImplementedException ();
}
public virtual void SetDouble (int ordinal, double value)
{
throw new NotImplementedException ();
}
public virtual void SetFloat (int ordinal, float value)
{
throw new NotImplementedException ();
}
public virtual void SetGuid (int ordinal, Guid value)
{
throw new NotImplementedException ();
}
public virtual void SetInt16 (int ordinal, short value)
{
throw new NotImplementedException ();
}
public virtual void SetInt32 (int ordinal, int value)
{
throw new NotImplementedException ();
}
public virtual void SetInt64 (int ordinal, long value)
{
throw new NotImplementedException ();
}
public virtual void SetSqlBinary (int ordinal, SqlBinary value)
{
throw new NotImplementedException ();
}
public virtual void SetSqlBoolean (int ordinal, SqlBoolean value)
{
throw new NotImplementedException ();
}
public virtual void SetSqlByte (int ordinal, SqlByte value)
{
throw new NotImplementedException ();
}
public virtual void SetSqlBytes (int ordinal, SqlBytes value)
{
throw new NotImplementedException ();
}
public virtual void SetSqlChars (int ordinal, SqlChars value)
{
throw new NotImplementedException ();
}
public virtual void SetSqlDateTime (int ordinal, SqlDateTime value)
{
throw new NotImplementedException ();
}
public virtual void SetSqlDecimal (int ordinal, SqlDecimal value)
{
throw new NotImplementedException ();
}
public virtual void SetSqlDouble (int ordinal, SqlDouble value)
{
throw new NotImplementedException ();
}
public virtual void SetSqlGuid (int ordinal, SqlGuid value)
{
throw new NotImplementedException ();
}
public virtual void SetSqlInt16 (int ordinal, SqlInt16 value)
{
throw new NotImplementedException ();
}
public virtual void SetSqlInt32 (int ordinal, SqlInt32 value)
{
throw new NotImplementedException ();
}
public virtual void SetSqlInt64 (int ordinal, SqlInt64 value)
{
throw new NotImplementedException ();
}
public virtual void SetSqlMoney (int ordinal, SqlMoney value)
{
throw new NotImplementedException ();
}
public virtual void SetSqlSingle (int ordinal, SqlSingle value)
{
throw new NotImplementedException ();
}
public virtual void SetSqlString (int ordinal, SqlString value)
{
throw new NotImplementedException ();
}
public virtual void SetSqlXml (int ordinal, SqlXml value)
{
throw new NotImplementedException ();
}
public virtual void SetString (int ordinal, string value)
{
throw new NotImplementedException ();
}
public virtual void SetTimeSpan (int ordinal, TimeSpan value)
{
throw new NotImplementedException ();
}
public virtual void SetValue (int ordinal, object value)
{
throw new NotImplementedException ();
}
public virtual int SetValues (params object[] values)
{
throw new NotImplementedException ();
}
public virtual bool IsDBNull (int ordinal)
{
throw new NotImplementedException ();

View File

@@ -33,6 +33,7 @@
using System;
using System.Data;
using System.Data.SqlClient;
using System.Threading;
using System.Data.SqlTypes;
@@ -205,6 +206,42 @@ namespace Microsoft.SqlServer.Server {
this._sqlDbType = dbType;
}
[MonoTODO]
public SqlMetaData (string name, SqlDbType dbType, bool useServerDefault, bool isUniqueKey, SortOrder columnSortOrder, int sortOrdinal)
{
throw new NotImplementedException ();
}
[MonoTODO]
public SqlMetaData (string name, SqlDbType dbType, long maxLength, bool useServerDefault, bool isUniqueKey, SortOrder columnSortOrder, int sortOrdinal)
{
throw new NotImplementedException ();
}
[MonoTODO]
public SqlMetaData (string name, SqlDbType dbType, byte precision, byte scale, bool useServerDefault, bool isUniqueKey, SortOrder columnSortOrder, int sortOrdinal)
{
throw new NotImplementedException ();
}
[MonoTODO]
public SqlMetaData (string name, SqlDbType dbType, long maxLength, long locale, SqlCompareOptions compareOptions, bool useServerDefault, bool isUniqueKey, SortOrder columnSortOrder, int sortOrdinal)
{
throw new NotImplementedException ();
}
[MonoTODO]
public SqlMetaData (string name, SqlDbType dbType, string database, string owningSchema, string objectName, bool useServerDefault, bool isUniqueKey, SortOrder columnSortOrder, int sortOrdinal)
{
throw new NotImplementedException ();
}
[MonoTODO]
public SqlMetaData (string name, SqlDbType dbType, long maxLength, byte precision, byte scale, long localeId, SqlCompareOptions compareOptions, System.Type userDefinedType, bool useServerDefault, bool isUniqueKey, SortOrder columnSortOrder, int sortOrdinal)
{
throw new NotImplementedException ();
}
public SqlMetaData (string name, SqlDbType dbType, long maxLength)
{
if (name == null)
@@ -659,6 +696,25 @@ namespace Microsoft.SqlServer.Server {
get { throw new NotImplementedException (); }
}
[MonoTODO]
public bool IsUniqueKey {
get { throw new NotImplementedException (); }
}
[MonoTODO]
public SortOrder SortOrder {
get { throw new NotImplementedException (); }
}
[MonoTODO]
public int SortOrdinal {
get { throw new NotImplementedException (); }
}
[MonoTODO]
public bool UseServerDefault {
get { throw new NotImplementedException (); }
}
#endregion // Properties
#region Methods
@@ -705,6 +761,20 @@ namespace Microsoft.SqlServer.Server {
return value;
}
public DateTimeOffset Adjust (DateTimeOffset value)
{
if (type != typeof (DateTimeOffset))
throw new ArgumentException ("Value does not match the SqlMetaData type");
return value;
}
public TimeSpan Adjust (TimeSpan value)
{
if (type != typeof (TimeSpan))
throw new ArgumentException ("Value does not match the SqlMetaData type");
return value;
}
public decimal Adjust (decimal value)
{
if (type != typeof (decimal))
@@ -866,6 +936,12 @@ namespace Microsoft.SqlServer.Server {
return value;
}
[MonoTODO]
public SqlXml Adjust (SqlXml value)
{
throw new NotImplementedException ();
}
public string Adjust (string value)
{
if (type != typeof (string))

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