diff --git a/src/Microsoft.Data.SqlClient/netcore/ref/Microsoft.Data.SqlClient.cs b/src/Microsoft.Data.SqlClient/netcore/ref/Microsoft.Data.SqlClient.cs index b171170802..6c216643a1 100644 --- a/src/Microsoft.Data.SqlClient/netcore/ref/Microsoft.Data.SqlClient.cs +++ b/src/Microsoft.Data.SqlClient/netcore/ref/Microsoft.Data.SqlClient.cs @@ -2,234 +2,11 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -namespace Microsoft.Data.SqlClient.Server +namespace Microsoft.Data { - public sealed partial class InvalidUdtException : System.SystemException - { - internal InvalidUdtException() { } - } - public partial class SqlDataRecord : System.Data.IDataRecord - { - public SqlDataRecord(params Microsoft.Data.SqlClient.Server.SqlMetaData[] metaData) { } - public virtual int FieldCount { get { throw null; } } - public virtual object this[int ordinal] { get { throw null; } } - public virtual object this[string name] { get { throw null; } } - public virtual bool GetBoolean(int ordinal) { throw null; } - public virtual byte GetByte(int ordinal) { throw null; } - public virtual long GetBytes(int ordinal, long fieldOffset, byte[] buffer, int bufferOffset, int length) { throw null; } - public virtual char GetChar(int ordinal) { throw null; } - public virtual long GetChars(int ordinal, long fieldOffset, char[] buffer, int bufferOffset, int length) { throw null; } - System.Data.IDataReader System.Data.IDataRecord.GetData(int ordinal) { throw null; } - public virtual string GetDataTypeName(int ordinal) { throw null; } - public virtual System.DateTime GetDateTime(int ordinal) { throw null; } - public virtual System.DateTimeOffset GetDateTimeOffset(int ordinal) { throw null; } - public virtual decimal GetDecimal(int ordinal) { throw null; } - public virtual double GetDouble(int ordinal) { throw null; } - public virtual System.Type GetFieldType(int ordinal) { throw null; } - public virtual float GetFloat(int ordinal) { throw null; } - public virtual System.Guid GetGuid(int ordinal) { throw null; } - public virtual short GetInt16(int ordinal) { throw null; } - public virtual int GetInt32(int ordinal) { throw null; } - public virtual long GetInt64(int ordinal) { throw null; } - public virtual string GetName(int ordinal) { throw null; } - public virtual int GetOrdinal(string name) { throw null; } - public virtual System.Data.SqlTypes.SqlBinary GetSqlBinary(int ordinal) { throw null; } - public virtual System.Data.SqlTypes.SqlBoolean GetSqlBoolean(int ordinal) { throw null; } - public virtual System.Data.SqlTypes.SqlByte GetSqlByte(int ordinal) { throw null; } - public virtual System.Data.SqlTypes.SqlBytes GetSqlBytes(int ordinal) { throw null; } - public virtual System.Data.SqlTypes.SqlChars GetSqlChars(int ordinal) { throw null; } - public virtual System.Data.SqlTypes.SqlDateTime GetSqlDateTime(int ordinal) { throw null; } - public virtual System.Data.SqlTypes.SqlDecimal GetSqlDecimal(int ordinal) { throw null; } - public virtual System.Data.SqlTypes.SqlDouble GetSqlDouble(int ordinal) { throw null; } - public virtual System.Type GetSqlFieldType(int ordinal) { throw null; } - public virtual System.Data.SqlTypes.SqlGuid GetSqlGuid(int ordinal) { throw null; } - public virtual System.Data.SqlTypes.SqlInt16 GetSqlInt16(int ordinal) { throw null; } - public virtual System.Data.SqlTypes.SqlInt32 GetSqlInt32(int ordinal) { throw null; } - public virtual System.Data.SqlTypes.SqlInt64 GetSqlInt64(int ordinal) { throw null; } - public virtual Microsoft.Data.SqlClient.Server.SqlMetaData GetSqlMetaData(int ordinal) { throw null; } - public virtual System.Data.SqlTypes.SqlMoney GetSqlMoney(int ordinal) { throw null; } - public virtual System.Data.SqlTypes.SqlSingle GetSqlSingle(int ordinal) { throw null; } - public virtual System.Data.SqlTypes.SqlString GetSqlString(int ordinal) { throw null; } - public virtual object GetSqlValue(int ordinal) { throw null; } - public virtual int GetSqlValues(object[] values) { throw null; } - public virtual System.Data.SqlTypes.SqlXml GetSqlXml(int ordinal) { throw null; } - public virtual string GetString(int ordinal) { throw null; } - public virtual System.TimeSpan GetTimeSpan(int ordinal) { throw null; } - public virtual object GetValue(int ordinal) { throw null; } - public virtual int GetValues(object[] values) { throw null; } - public virtual bool IsDBNull(int ordinal) { throw null; } - public virtual void SetBoolean(int ordinal, bool value) { } - public virtual void SetByte(int ordinal, byte value) { } - public virtual void SetBytes(int ordinal, long fieldOffset, byte[] buffer, int bufferOffset, int length) { } - public virtual void SetChar(int ordinal, char value) { } - public virtual void SetChars(int ordinal, long fieldOffset, char[] buffer, int bufferOffset, int length) { } - public virtual void SetDateTime(int ordinal, System.DateTime value) { } - public virtual void SetDateTimeOffset(int ordinal, System.DateTimeOffset value) { } - public virtual void SetDBNull(int ordinal) { } - public virtual void SetDecimal(int ordinal, decimal value) { } - public virtual void SetDouble(int ordinal, double value) { } - public virtual void SetFloat(int ordinal, float value) { } - public virtual void SetGuid(int ordinal, System.Guid value) { } - public virtual void SetInt16(int ordinal, short value) { } - public virtual void SetInt32(int ordinal, int value) { } - public virtual void SetInt64(int ordinal, long value) { } - public virtual void SetSqlBinary(int ordinal, System.Data.SqlTypes.SqlBinary value) { } - public virtual void SetSqlBoolean(int ordinal, System.Data.SqlTypes.SqlBoolean value) { } - public virtual void SetSqlByte(int ordinal, System.Data.SqlTypes.SqlByte value) { } - public virtual void SetSqlBytes(int ordinal, System.Data.SqlTypes.SqlBytes value) { } - public virtual void SetSqlChars(int ordinal, System.Data.SqlTypes.SqlChars value) { } - public virtual void SetSqlDateTime(int ordinal, System.Data.SqlTypes.SqlDateTime value) { } - public virtual void SetSqlDecimal(int ordinal, System.Data.SqlTypes.SqlDecimal value) { } - public virtual void SetSqlDouble(int ordinal, System.Data.SqlTypes.SqlDouble value) { } - public virtual void SetSqlGuid(int ordinal, System.Data.SqlTypes.SqlGuid value) { } - public virtual void SetSqlInt16(int ordinal, System.Data.SqlTypes.SqlInt16 value) { } - public virtual void SetSqlInt32(int ordinal, System.Data.SqlTypes.SqlInt32 value) { } - public virtual void SetSqlInt64(int ordinal, System.Data.SqlTypes.SqlInt64 value) { } - public virtual void SetSqlMoney(int ordinal, System.Data.SqlTypes.SqlMoney value) { } - public virtual void SetSqlSingle(int ordinal, System.Data.SqlTypes.SqlSingle value) { } - public virtual void SetSqlString(int ordinal, System.Data.SqlTypes.SqlString value) { } - public virtual void SetSqlXml(int ordinal, System.Data.SqlTypes.SqlXml value) { } - public virtual void SetString(int ordinal, string value) { } - public virtual void SetTimeSpan(int ordinal, System.TimeSpan value) { } - public virtual void SetValue(int ordinal, object value) { } - public virtual int SetValues(params object[] values) { throw null; } - } - public enum DataAccessKind - { - None = 0, - Read = 1 - } - public enum SystemDataAccessKind - { - None = 0, - Read = 1 - } - [System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple = false, Inherited = false), System.SerializableAttribute] - public partial class SqlFunctionAttribute : System.Attribute - { - public SqlFunctionAttribute() { } - public bool IsDeterministic { get { throw null; } set { } } - public DataAccessKind DataAccess { get { throw null; } set { } } - public SystemDataAccessKind SystemDataAccess { get { throw null; } set { } } - public bool IsPrecise { get { throw null; } set { } } - public string Name { get { throw null; } set { } } - public string TableDefinition { get { throw null; } set { } } - public string FillRowMethodName { get { throw null; } set { } } - } - - public sealed partial class SqlMetaData - { - public SqlMetaData(string name, System.Data.SqlDbType dbType) { } - public SqlMetaData(string name, System.Data.SqlDbType dbType, bool useServerDefault, bool isUniqueKey, Microsoft.Data.SqlClient.SortOrder columnSortOrder, int sortOrdinal) { } - public SqlMetaData(string name, System.Data.SqlDbType dbType, byte precision, byte scale) { } - public SqlMetaData(string name, System.Data.SqlDbType dbType, byte precision, byte scale, bool useServerDefault, bool isUniqueKey, Microsoft.Data.SqlClient.SortOrder columnSortOrder, int sortOrdinal) { } - public SqlMetaData(string name, System.Data.SqlDbType dbType, long maxLength) { } - public SqlMetaData(string name, System.Data.SqlDbType dbType, long maxLength, bool useServerDefault, bool isUniqueKey, Microsoft.Data.SqlClient.SortOrder columnSortOrder, int sortOrdinal) { } - public SqlMetaData(string name, System.Data.SqlDbType dbType, long maxLength, byte precision, byte scale, long locale, System.Data.SqlTypes.SqlCompareOptions compareOptions, System.Type userDefinedType) { } - public SqlMetaData(string name, System.Data.SqlDbType dbType, long maxLength, byte precision, byte scale, long localeId, System.Data.SqlTypes.SqlCompareOptions compareOptions, System.Type userDefinedType, bool useServerDefault, bool isUniqueKey, Microsoft.Data.SqlClient.SortOrder columnSortOrder, int sortOrdinal) { } - public SqlMetaData(string name, System.Data.SqlDbType dbType, long maxLength, long locale, System.Data.SqlTypes.SqlCompareOptions compareOptions) { } - public SqlMetaData(string name, System.Data.SqlDbType dbType, long maxLength, long locale, System.Data.SqlTypes.SqlCompareOptions compareOptions, bool useServerDefault, bool isUniqueKey, Microsoft.Data.SqlClient.SortOrder columnSortOrder, int sortOrdinal) { } - public SqlMetaData(string name, System.Data.SqlDbType dbType, string database, string owningSchema, string objectName) { } - public SqlMetaData(string name, System.Data.SqlDbType dbType, string database, string owningSchema, string objectName, bool useServerDefault, bool isUniqueKey, Microsoft.Data.SqlClient.SortOrder columnSortOrder, int sortOrdinal) { } - public SqlMetaData(string name, System.Data.SqlDbType dbType, System.Type userDefinedType) { } - public SqlMetaData(string name, System.Data.SqlDbType dbType, System.Type userDefinedType, string serverTypeName) { } - public SqlMetaData(string name, System.Data.SqlDbType dbType, System.Type userDefinedType, string serverTypeName, bool useServerDefault, bool isUniqueKey, Microsoft.Data.SqlClient.SortOrder columnSortOrder, int sortOrdinal) { } - - public System.Data.SqlTypes.SqlCompareOptions CompareOptions { get { throw null; } } - public System.Data.DbType DbType { get { throw null; } } - public bool IsUniqueKey { get { throw null; } } - public long LocaleId { get { throw null; } } - public static long Max { get { throw null; } } - public long MaxLength { get { throw null; } } - public string Name { get { throw null; } } - public byte Precision { get { throw null; } } - public byte Scale { get { throw null; } } - public Microsoft.Data.SqlClient.SortOrder SortOrder { get { throw null; } } - public int SortOrdinal { get { throw null; } } - public System.Data.SqlDbType SqlDbType { get { throw null; } } - public System.Type Type{ get { throw null; } } - public string TypeName { get { throw null; } } - public bool UseServerDefault { get { throw null; } } - public string XmlSchemaCollectionDatabase { get { throw null; } } - public string XmlSchemaCollectionName { get { throw null; } } - public string XmlSchemaCollectionOwningSchema { get { throw null; } } - public bool Adjust(bool value) { throw null; } - public byte Adjust(byte value) { throw null; } - public byte[] Adjust(byte[] value) { throw null; } - public char Adjust(char value) { throw null; } - public char[] Adjust(char[] value) { throw null; } - public System.Data.SqlTypes.SqlBinary Adjust(System.Data.SqlTypes.SqlBinary value) { throw null; } - public System.Data.SqlTypes.SqlBoolean Adjust(System.Data.SqlTypes.SqlBoolean value) { throw null; } - public System.Data.SqlTypes.SqlByte Adjust(System.Data.SqlTypes.SqlByte value) { throw null; } - public System.Data.SqlTypes.SqlBytes Adjust(System.Data.SqlTypes.SqlBytes value) { throw null; } - public System.Data.SqlTypes.SqlChars Adjust(System.Data.SqlTypes.SqlChars value) { throw null; } - public System.Data.SqlTypes.SqlDateTime Adjust(System.Data.SqlTypes.SqlDateTime value) { throw null; } - public System.Data.SqlTypes.SqlDecimal Adjust(System.Data.SqlTypes.SqlDecimal value) { throw null; } - public System.Data.SqlTypes.SqlDouble Adjust(System.Data.SqlTypes.SqlDouble value) { throw null; } - public System.Data.SqlTypes.SqlGuid Adjust(System.Data.SqlTypes.SqlGuid value) { throw null; } - public System.Data.SqlTypes.SqlInt16 Adjust(System.Data.SqlTypes.SqlInt16 value) { throw null; } - public System.Data.SqlTypes.SqlInt32 Adjust(System.Data.SqlTypes.SqlInt32 value) { throw null; } - public System.Data.SqlTypes.SqlInt64 Adjust(System.Data.SqlTypes.SqlInt64 value) { throw null; } - public System.Data.SqlTypes.SqlMoney Adjust(System.Data.SqlTypes.SqlMoney value) { throw null; } - public System.Data.SqlTypes.SqlSingle Adjust(System.Data.SqlTypes.SqlSingle value) { throw null; } - public System.Data.SqlTypes.SqlString Adjust(System.Data.SqlTypes.SqlString value) { throw null; } - public System.Data.SqlTypes.SqlXml Adjust(System.Data.SqlTypes.SqlXml value) { throw null; } - public System.DateTime Adjust(System.DateTime value) { throw null; } - public System.DateTimeOffset Adjust(System.DateTimeOffset value) { throw null; } - public decimal Adjust(decimal value) { throw null; } - public double Adjust(double value) { throw null; } - public System.Guid Adjust(System.Guid value) { throw null; } - public short Adjust(short value) { throw null; } - public int Adjust(int value) { throw null; } - public long Adjust(long value) { throw null; } - public object Adjust(object value) { throw null; } - public float Adjust(float value) { throw null; } - public string Adjust(string value) { throw null; } - public System.TimeSpan Adjust(System.TimeSpan value) { throw null; } - public static Microsoft.Data.SqlClient.Server.SqlMetaData InferFromValue(object value, string name) { throw null; } - } - [System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple = false, Inherited = false), System.SerializableAttribute] - public sealed partial class SqlMethodAttribute : SqlFunctionAttribute - { - public SqlMethodAttribute() { } - public bool OnNullCall { get { throw null; } set { } } - public bool IsMutator { get { throw null; } set { } } - public bool InvokeIfReceiverIsNull { get { throw null; } set { } } - } - public enum Format - { - Unknown = 0, - Native = 1, - UserDefined = 2 - } - [System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Struct, AllowMultiple = false, Inherited = false)] - public sealed partial class SqlUserDefinedAggregateAttribute : System.Attribute - { - public const int MaxByteSizeValue = 8000; - public SqlUserDefinedAggregateAttribute(Format format) { } - public int MaxByteSize { get { throw null; } set { } } - public bool IsInvariantToDuplicates { get { throw null; } set { } } - public bool IsInvariantToNulls { get { throw null; } set { } } - public bool IsInvariantToOrder { get { throw null; } set { } } - public bool IsNullIfEmpty { get { throw null; } set { } } - public Format Format { get { throw null; } } - public string Name { get { throw null; } set { } } - } - [System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Struct, AllowMultiple = false, Inherited = true)] - public sealed partial class SqlUserDefinedTypeAttribute : System.Attribute - { - public SqlUserDefinedTypeAttribute(Format format) { } - public int MaxByteSize { get { throw null; } set { } } - public bool IsFixedLength { get { throw null; } set { } } - public bool IsByteOrdered { get { throw null; } set { } } - public Format Format { get { throw null; } } - public string ValidationMethodName { get { throw null; } set { } } - public string Name { get { throw null; } set { } } - } - public interface IBinarySerialize + public sealed partial class OperationAbortedException : System.SystemException { - void Read(System.IO.BinaryReader r); - void Write(System.IO.BinaryWriter w); + internal OperationAbortedException() { } } } namespace Microsoft.Data.Sql @@ -248,13 +25,14 @@ namespace Microsoft.Data.SqlClient public enum ApplicationIntent { ReadOnly = 1, - ReadWrite = 0, + ReadWrite = 0 } + public delegate void OnChangeEventHandler(object sender, Microsoft.Data.SqlClient.SqlNotificationEventArgs e); public enum SortOrder { Ascending = 0, Descending = 1, - Unspecified = -1, + Unspecified = -1 } public abstract partial class SqlAuthenticationInitializer { @@ -267,7 +45,7 @@ public enum SqlAuthenticationMethod ActiveDirectoryInteractive = 4, ActiveDirectoryPassword = 2, NotSpecified = 0, - SqlPassword = 1, + SqlPassword = 1 } public partial class SqlAuthenticationParameters { @@ -313,20 +91,20 @@ public event Microsoft.Data.SqlClient.SqlRowsCopiedEventHandler SqlRowsCopied { public void Close() { } void System.IDisposable.Dispose() { } public void WriteToServer(System.Data.Common.DbDataReader reader) { } - public void WriteToServer(System.Data.IDataReader reader) { } public void WriteToServer(System.Data.DataTable table) { } public void WriteToServer(System.Data.DataTable table, System.Data.DataRowState rowState) { } public void WriteToServer(System.Data.DataRow[] rows) { } - public System.Threading.Tasks.Task WriteToServerAsync(System.Data.DataRow[] rows) { throw null; } - public System.Threading.Tasks.Task WriteToServerAsync(System.Data.DataRow[] rows, System.Threading.CancellationToken cancellationToken) { throw null; } - public System.Threading.Tasks.Task WriteToServerAsync(System.Data.IDataReader reader) { throw null; } - public System.Threading.Tasks.Task WriteToServerAsync(System.Data.IDataReader reader, System.Threading.CancellationToken cancellationToken) { throw null; } + public void WriteToServer(System.Data.IDataReader reader) { } public System.Threading.Tasks.Task WriteToServerAsync(System.Data.Common.DbDataReader reader) { throw null; } public System.Threading.Tasks.Task WriteToServerAsync(System.Data.Common.DbDataReader reader, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task WriteToServerAsync(System.Data.DataRow[] rows) { throw null; } + public System.Threading.Tasks.Task WriteToServerAsync(System.Data.DataRow[] rows, System.Threading.CancellationToken cancellationToken) { throw null; } public System.Threading.Tasks.Task WriteToServerAsync(System.Data.DataTable table) { throw null; } - public System.Threading.Tasks.Task WriteToServerAsync(System.Data.DataTable table, System.Threading.CancellationToken cancellationToken) { throw null; } public System.Threading.Tasks.Task WriteToServerAsync(System.Data.DataTable table, System.Data.DataRowState rowState) { throw null; } public System.Threading.Tasks.Task WriteToServerAsync(System.Data.DataTable table, System.Data.DataRowState rowState, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task WriteToServerAsync(System.Data.DataTable table, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task WriteToServerAsync(System.Data.IDataReader reader) { throw null; } + public System.Threading.Tasks.Task WriteToServerAsync(System.Data.IDataReader reader, System.Threading.CancellationToken cancellationToken) { throw null; } } public sealed partial class SqlBulkCopyColumnMapping { @@ -396,36 +174,61 @@ public static partial class SqlClientMetaDataCollectionNames public static readonly string ViewColumns; public static readonly string Views; } + [System.ComponentModel.DefaultEventAttribute("RecordsAffected")] + [System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.Data.VS.SqlCommandDesigner, Microsoft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [System.ComponentModel.ToolboxItemAttribute(true)] public sealed partial class SqlCommand : System.Data.Common.DbCommand, System.ICloneable { public SqlCommand() { } public SqlCommand(string cmdText) { } public SqlCommand(string cmdText, Microsoft.Data.SqlClient.SqlConnection connection) { } public SqlCommand(string cmdText, Microsoft.Data.SqlClient.SqlConnection connection, Microsoft.Data.SqlClient.SqlTransaction transaction) { } + [System.ComponentModel.DefaultValueAttribute("")] + [System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.Data.SQL.Design.SqlCommandTextEditor, Microsoft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] public override string CommandText { get { throw null; } set { } } public override int CommandTimeout { get { throw null; } set { } } + [System.ComponentModel.DefaultValueAttribute(1)] + [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] public override System.Data.CommandType CommandType { get { throw null; } set { } } + [System.ComponentModel.DefaultValueAttribute(null)] + [System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.Data.Design.DbConnectionEditor, Microsoft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] public new Microsoft.Data.SqlClient.SqlConnection Connection { get { throw null; } set { } } protected override System.Data.Common.DbConnection DbConnection { get { throw null; } set { } } protected override System.Data.Common.DbParameterCollection DbParameterCollection { get { throw null; } } protected override System.Data.Common.DbTransaction DbTransaction { get { throw null; } set { } } + [System.ComponentModel.BrowsableAttribute(false)] + [System.ComponentModel.DefaultValueAttribute(true)] + [System.ComponentModel.DesignOnlyAttribute(true)] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override bool DesignTimeVisible { get { throw null; } set { } } public new Microsoft.Data.SqlClient.SqlParameterCollection Parameters { get { throw null; } } + [System.ComponentModel.BrowsableAttribute(false)] + [System.ComponentModel.DesignerSerializationVisibilityAttribute(0)] public new Microsoft.Data.SqlClient.SqlTransaction Transaction { get { throw null; } set { } } + [System.ComponentModel.DefaultValueAttribute(3)] public override System.Data.UpdateRowSource UpdatedRowSource { get { throw null; } set { } } public event System.Data.StatementCompletedEventHandler StatementCompleted { add { } remove { } } + public System.IAsyncResult BeginExecuteNonQuery() { throw null; } + public System.IAsyncResult BeginExecuteNonQuery(System.AsyncCallback callback, object stateObject) { throw null; } + public System.IAsyncResult BeginExecuteReader() { throw null; } + public System.IAsyncResult BeginExecuteReader(System.AsyncCallback callback, object stateObject) { throw null; } + public System.IAsyncResult BeginExecuteReader(System.AsyncCallback callback, object stateObject, System.Data.CommandBehavior behavior) { throw null; } + public System.IAsyncResult BeginExecuteReader(System.Data.CommandBehavior behavior) { throw null; } + public System.IAsyncResult BeginExecuteXmlReader() { throw null; } + public System.IAsyncResult BeginExecuteXmlReader(System.AsyncCallback callback, object stateObject) { throw null; } public override void Cancel() { } object System.ICloneable.Clone() { throw null; } - public SqlCommand Clone() { throw null; } + public Microsoft.Data.SqlClient.SqlCommand Clone() { throw null; } protected override System.Data.Common.DbParameter CreateDbParameter() { throw null; } public new Microsoft.Data.SqlClient.SqlParameter CreateParameter() { throw null; } + public int EndExecuteNonQuery(System.IAsyncResult asyncResult) { throw null; } + public Microsoft.Data.SqlClient.SqlDataReader EndExecuteReader(System.IAsyncResult asyncResult) { throw null; } + public System.Xml.XmlReader EndExecuteXmlReader(System.IAsyncResult asyncResult) { throw null; } protected override System.Data.Common.DbDataReader ExecuteDbDataReader(System.Data.CommandBehavior behavior) { throw null; } protected override System.Threading.Tasks.Task ExecuteDbDataReaderAsync(System.Data.CommandBehavior behavior, System.Threading.CancellationToken cancellationToken) { throw null; } public override int ExecuteNonQuery() { throw null; } public override System.Threading.Tasks.Task ExecuteNonQueryAsync(System.Threading.CancellationToken cancellationToken) { throw null; } - public System.IAsyncResult BeginExecuteNonQuery() { throw null; } - public System.IAsyncResult BeginExecuteNonQuery(System.AsyncCallback callback, object stateObject) { throw null; } - public int EndExecuteNonQuery(System.IAsyncResult asyncResult) { throw null; } public new Microsoft.Data.SqlClient.SqlDataReader ExecuteReader() { throw null; } public new Microsoft.Data.SqlClient.SqlDataReader ExecuteReader(System.Data.CommandBehavior behavior) { throw null; } public new System.Threading.Tasks.Task ExecuteReaderAsync() { throw null; } @@ -437,73 +240,108 @@ public override void Cancel() { } public System.Xml.XmlReader ExecuteXmlReader() { throw null; } public System.Threading.Tasks.Task ExecuteXmlReaderAsync() { throw null; } public System.Threading.Tasks.Task ExecuteXmlReaderAsync(System.Threading.CancellationToken cancellationToken) { throw null; } - public System.IAsyncResult BeginExecuteXmlReader() { throw null; } - public System.IAsyncResult BeginExecuteXmlReader(System.AsyncCallback callback, object stateObject) { throw null; } - public System.Xml.XmlReader EndExecuteXmlReader(System.IAsyncResult asyncResult) { throw null; } - public System.IAsyncResult BeginExecuteReader() { throw null; } - public System.IAsyncResult BeginExecuteReader(System.AsyncCallback callback, object stateObject) { throw null; } - public System.IAsyncResult BeginExecuteReader(System.AsyncCallback callback, object stateObject, System.Data.CommandBehavior behavior) { throw null; } - public System.IAsyncResult BeginExecuteReader(System.Data.CommandBehavior behavior) { throw null; } - public Microsoft.Data.SqlClient.SqlDataReader EndExecuteReader(System.IAsyncResult asyncResult) { throw null; } public override void Prepare() { } + [System.ComponentModel.BrowsableAttribute(false)] + [System.ComponentModel.DesignerSerializationVisibilityAttribute(0)] public Microsoft.Data.Sql.SqlNotificationRequest Notification { get { throw null; } set { } } + [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] public void ResetCommandTimeout() { } } public sealed class SqlCommandBuilder : System.Data.Common.DbCommandBuilder { public SqlCommandBuilder() { } - public SqlCommandBuilder(SqlDataAdapter adapter) { } + public SqlCommandBuilder(Microsoft.Data.SqlClient.SqlDataAdapter adapter) { } + [System.ComponentModel.BrowsableAttribute(false)] + [System.ComponentModel.DesignerSerializationVisibilityAttribute(0)] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override System.Data.Common.CatalogLocation CatalogLocation { get { throw null; } set { } } + [System.ComponentModel.BrowsableAttribute(false)] + [System.ComponentModel.DesignerSerializationVisibilityAttribute(0)] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override string CatalogSeparator { get { throw null; } set { } } - new public SqlDataAdapter DataAdapter { get { throw null; } set { } } + [System.ComponentModel.DefaultValueAttribute(null)] + public new Microsoft.Data.SqlClient.SqlDataAdapter DataAdapter { get { throw null; } set { } } + public static void DeriveParameters(Microsoft.Data.SqlClient.SqlCommand command) { } + [System.ComponentModel.BrowsableAttribute(false)] + [System.ComponentModel.DesignerSerializationVisibilityAttribute(0)] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override string QuotePrefix { get { throw null; } set { } } + [System.ComponentModel.BrowsableAttribute(false)] + [System.ComponentModel.DesignerSerializationVisibilityAttribute(0)] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override string QuoteSuffix { get { throw null; } set { } } + [System.ComponentModel.BrowsableAttribute(false)] + [System.ComponentModel.DesignerSerializationVisibilityAttribute(0)] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override string SchemaSeparator { get { throw null; } set { } } - new public SqlCommand GetInsertCommand() { throw null; } - new public SqlCommand GetInsertCommand(bool useColumnsForParameterNames) { throw null; } - new public SqlCommand GetUpdateCommand() { throw null; } - new public SqlCommand GetUpdateCommand(bool useColumnsForParameterNames) { throw null; } - new public SqlCommand GetDeleteCommand() { throw null; } - new public SqlCommand GetDeleteCommand(bool useColumnsForParameterNames) { throw null; } protected override void ApplyParameterInfo(System.Data.Common.DbParameter parameter, System.Data.DataRow datarow, System.Data.StatementType statementType, bool whereClause) { } + public new Microsoft.Data.SqlClient.SqlCommand GetDeleteCommand() { throw null; } + public new Microsoft.Data.SqlClient.SqlCommand GetDeleteCommand(bool useColumnsForParameterNames) { throw null; } + public new Microsoft.Data.SqlClient.SqlCommand GetInsertCommand() { throw null; } + public new Microsoft.Data.SqlClient.SqlCommand GetInsertCommand(bool useColumnsForParameterNames) { throw null; } protected override string GetParameterName(int parameterOrdinal) { throw null; } protected override string GetParameterName(string parameterName) { throw null; } protected override string GetParameterPlaceholder(int parameterOrdinal) { throw null; } - public static void DeriveParameters(SqlCommand command) { } protected override System.Data.DataTable GetSchemaTable(System.Data.Common.DbCommand srcCommand) { throw null; } + public new Microsoft.Data.SqlClient.SqlCommand GetUpdateCommand() { throw null; } + public new Microsoft.Data.SqlClient.SqlCommand GetUpdateCommand(bool useColumnsForParameterNames) { throw null; } protected override System.Data.Common.DbCommand InitializeCommand(System.Data.Common.DbCommand command) { throw null; } public override string QuoteIdentifier(string unquotedIdentifier) { throw null; } protected override void SetRowUpdatingHandler(System.Data.Common.DbDataAdapter adapter) { } public override string UnquoteIdentifier(string quotedIdentifier) { throw null; } } + [System.ComponentModel.DefaultEventAttribute("InfoMessage")] public sealed partial class SqlConnection : System.Data.Common.DbConnection, System.ICloneable { public SqlConnection() { } public SqlConnection(string connectionString) { } public SqlConnection(string connectionString, Microsoft.Data.SqlClient.SqlCredential credential) { } + [System.ComponentModel.BrowsableAttribute(false)] + [System.ComponentModel.DesignerSerializationVisibilityAttribute(0)] + public string AccessToken { get { throw null; } set { } } + [System.ComponentModel.DesignerSerializationVisibilityAttribute(0)] public System.Guid ClientConnectionId { get { throw null; } } object System.ICloneable.Clone() { throw null; } + [System.ComponentModel.DefaultValueAttribute("")] + [System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.Data.SQL.Design.SqlConnectionStringEditor, Microsoft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] + [System.ComponentModel.SettingsBindableAttribute(true)] public override string ConnectionString { get { throw null; } set { } } + [System.ComponentModel.DesignerSerializationVisibilityAttribute(0)] public override int ConnectionTimeout { get { throw null; } } + [System.ComponentModel.BrowsableAttribute(false)] + [System.ComponentModel.DesignerSerializationVisibilityAttribute(0)] + public Microsoft.Data.SqlClient.SqlCredential Credential { get { throw null; } set { } } + [System.ComponentModel.DesignerSerializationVisibilityAttribute(0)] public override string Database { get { throw null; } } + [System.ComponentModel.BrowsableAttribute(true)] + [System.ComponentModel.DesignerSerializationVisibilityAttribute(0)] public override string DataSource { get { throw null; } } public bool FireInfoMessageEventOnUserErrors { get { throw null; } set { } } + [System.ComponentModel.DesignerSerializationVisibilityAttribute(0)] public int PacketSize { get { throw null; } } + [System.ComponentModel.BrowsableAttribute(false)] + [System.ComponentModel.DesignerSerializationVisibilityAttribute(0)] public override string ServerVersion { get { throw null; } } + [System.ComponentModel.BrowsableAttribute(false)] + [System.ComponentModel.DesignerSerializationVisibilityAttribute(0)] public override System.Data.ConnectionState State { get { throw null; } } + [System.ComponentModel.DefaultValueAttribute(false)] public bool StatisticsEnabled { get { throw null; } set { } } + [System.ComponentModel.DesignerSerializationVisibilityAttribute(0)] public string WorkstationId { get { throw null; } } - public Microsoft.Data.SqlClient.SqlCredential Credential { get { throw null; } set { } } public event Microsoft.Data.SqlClient.SqlInfoMessageEventHandler InfoMessage { add { } remove { } } protected override System.Data.Common.DbTransaction BeginDbTransaction(System.Data.IsolationLevel isolationLevel) { throw null; } public new Microsoft.Data.SqlClient.SqlTransaction BeginTransaction() { throw null; } public new Microsoft.Data.SqlClient.SqlTransaction BeginTransaction(System.Data.IsolationLevel iso) { throw null; } public Microsoft.Data.SqlClient.SqlTransaction BeginTransaction(System.Data.IsolationLevel iso, string transactionName) { throw null; } public Microsoft.Data.SqlClient.SqlTransaction BeginTransaction(string transactionName) { throw null; } - public override void ChangeDatabase(string database) { } - public static void ClearAllPools() { } - public static void ClearPool(Microsoft.Data.SqlClient.SqlConnection connection) { } - public override void Close() { } + public override void ChangeDatabase(string database) { throw null; } + public static void ChangePassword(string connectionString, Microsoft.Data.SqlClient.SqlCredential credential, System.Security.SecureString newSecurePassword) { throw null; } + public static void ChangePassword(string connectionString, string newPassword) { throw null; } + public static void ClearAllPools() { throw null; } + public static void ClearPool(Microsoft.Data.SqlClient.SqlConnection connection) { throw null; } + public override void Close() { throw null; } public new Microsoft.Data.SqlClient.SqlCommand CreateCommand() { throw null; } protected override System.Data.Common.DbCommand CreateDbCommand() { throw null; } public override System.Data.DataTable GetSchema() { throw null; } @@ -513,46 +351,107 @@ public override void Open() { } public override System.Threading.Tasks.Task OpenAsync(System.Threading.CancellationToken cancellationToken) { throw null; } public void ResetStatistics() { } public System.Collections.IDictionary RetrieveStatistics() { throw null; } - public static void ChangePassword(string connectionString, string newPassword) { throw null; } - public static void ChangePassword(string connectionString, Microsoft.Data.SqlClient.SqlCredential credential, System.Security.SecureString newPassword) { throw null; } - public string AccessToken { get { throw null; } set { } } - } + [System.ComponentModel.DefaultPropertyAttribute("DataSource")] public sealed partial class SqlConnectionStringBuilder : System.Data.Common.DbConnectionStringBuilder { public SqlConnectionStringBuilder() { } public SqlConnectionStringBuilder(string connectionString) { } + [System.ComponentModel.DisplayNameAttribute("ApplicationIntent")] + [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] public Microsoft.Data.SqlClient.ApplicationIntent ApplicationIntent { get { throw null; } set { } } + [System.ComponentModel.DisplayNameAttribute("Application Name")] + [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] public string ApplicationName { get { throw null; } set { } } + [System.ComponentModel.DisplayNameAttribute("AttachDbFilename")] + [System.ComponentModel.EditorAttribute("System.Windows.Forms.Design.FileNameEditor, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] public string AttachDBFilename { get { throw null; } set { } } + [System.ComponentModel.DisplayNameAttribute("Authentication")] + [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] + public Microsoft.Data.SqlClient.SqlAuthenticationMethod Authentication { get { throw null; } set { } } + [System.ComponentModel.DisplayNameAttribute("ConnectRetryCount")] + [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] public int ConnectRetryCount { get { throw null; } set { } } + [System.ComponentModel.DisplayNameAttribute("ConnectRetryInterval")] + [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] public int ConnectRetryInterval { get { throw null; } set { } } + [System.ComponentModel.DisplayNameAttribute("Connect Timeout")] + [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] public int ConnectTimeout { get { throw null; } set { } } + [System.ComponentModel.DisplayNameAttribute("Current Language")] + [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] public string CurrentLanguage { get { throw null; } set { } } + [System.ComponentModel.DisplayNameAttribute("Data Source")] + [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] public string DataSource { get { throw null; } set { } } + [System.ComponentModel.DisplayNameAttribute("Encrypt")] + [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] public bool Encrypt { get { throw null; } set { } } + [System.ComponentModel.DisplayNameAttribute("Enlist")] + [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] public bool Enlist { get { throw null; } set { } } + [System.ComponentModel.DisplayNameAttribute("Failover Partner")] + [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] public string FailoverPartner { get { throw null; } set { } } + [System.ComponentModel.DisplayNameAttribute("Initial Catalog")] + [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] public string InitialCatalog { get { throw null; } set { } } + [System.ComponentModel.DisplayNameAttribute("Integrated Security")] + [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] public bool IntegratedSecurity { get { throw null; } set { } } + public override bool IsFixedSize { get { throw null; } } public override object this[string keyword] { get { throw null; } set { } } public override System.Collections.ICollection Keys { get { throw null; } } + [System.ComponentModel.DisplayNameAttribute("Load Balance Timeout")] + [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] public int LoadBalanceTimeout { get { throw null; } set { } } + [System.ComponentModel.DisplayNameAttribute("Max Pool Size")] + [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] public int MaxPoolSize { get { throw null; } set { } } + [System.ComponentModel.DisplayNameAttribute("Min Pool Size")] + [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] public int MinPoolSize { get { throw null; } set { } } + [System.ComponentModel.DisplayNameAttribute("MultipleActiveResultSets")] + [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] public bool MultipleActiveResultSets { get { throw null; } set { } } + [System.ComponentModel.DisplayNameAttribute("MultiSubnetFailover")] + [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] public bool MultiSubnetFailover { get { throw null; } set { } } + [System.ComponentModel.DisplayNameAttribute("Packet Size")] + [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] public int PacketSize { get { throw null; } set { } } + [System.ComponentModel.DisplayNameAttribute("Password")] + [System.ComponentModel.PasswordPropertyTextAttribute(true)] + [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] public string Password { get { throw null; } set { } } + [System.ComponentModel.DisplayNameAttribute("Persist Security Info")] + [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] public bool PersistSecurityInfo { get { throw null; } set { } } + [System.ComponentModel.DisplayNameAttribute("Pooling")] + [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] public bool Pooling { get { throw null; } set { } } + [System.ComponentModel.DisplayNameAttribute("Replication")] + [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] public bool Replication { get { throw null; } set { } } + [System.ComponentModel.DisplayNameAttribute("Transaction Binding")] + [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] public string TransactionBinding { get { throw null; } set { } } + [System.ComponentModel.DisplayNameAttribute("TrustServerCertificate")] + [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] public bool TrustServerCertificate { get { throw null; } set { } } + [System.ComponentModel.DisplayNameAttribute("Type System Version")] + [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] public string TypeSystemVersion { get { throw null; } set { } } + [System.ComponentModel.DisplayNameAttribute("User ID")] + [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] public string UserID { get { throw null; } set { } } + [System.ComponentModel.DisplayNameAttribute("User Instance")] + [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] public bool UserInstance { get { throw null; } set { } } public override System.Collections.ICollection Values { get { throw null; } } + [System.ComponentModel.DisplayNameAttribute("Workstation ID")] + [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] public string WorkstationID { get { throw null; } set { } } public override void Clear() { } public override bool ContainsKey(string keyword) { throw null; } @@ -560,109 +459,45 @@ public override void Clear() { } public override bool ShouldSerialize(string keyword) { throw null; } public override bool TryGetValue(string keyword, out object value) { throw null; } } - public sealed partial class SqlDataAdapter : System.Data.Common.DbDataAdapter, System.Data.IDbDataAdapter, System.ICloneable + public sealed class SqlCredential + { + public SqlCredential(string userId, System.Security.SecureString password) { } + public System.Security.SecureString Password { get { throw null; } } + public string UserId { get { throw null; } } + } + [System.ComponentModel.DefaultEventAttribute("RowUpdated")] + [System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.Data.VS.SqlDataAdapterDesigner, Microsoft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [System.ComponentModel.ToolboxItemAttribute("Microsoft.VSDesigner.Data.VS.SqlDataAdapterToolboxItem, Microsoft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + public sealed partial class SqlDataAdapter : System.Data.Common.DbDataAdapter, System.Data.IDataAdapter, System.Data.IDbDataAdapter, System.ICloneable { public SqlDataAdapter() { } - public SqlDataAdapter(SqlCommand selectCommand) { } + public SqlDataAdapter(Microsoft.Data.SqlClient.SqlCommand selectCommand) { } + public SqlDataAdapter(string selectCommandText, Microsoft.Data.SqlClient.SqlConnection selectConnection) { } public SqlDataAdapter(string selectCommandText, string selectConnectionString) { } - public SqlDataAdapter(string selectCommandText, SqlConnection selectConnection) { } - new public SqlCommand DeleteCommand { get { throw null; } set { } } - new public SqlCommand InsertCommand { get { throw null; } set { } } - new public SqlCommand SelectCommand { get { throw null; } set { } } + [System.ComponentModel.DefaultValueAttribute(null)] + [System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.Data.Design.DBCommandEditor, Microsoft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + public new Microsoft.Data.SqlClient.SqlCommand DeleteCommand { get { throw null; } set { } } + [System.ComponentModel.DefaultValueAttribute(null)] + [System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.Data.Design.DBCommandEditor, Microsoft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + public new Microsoft.Data.SqlClient.SqlCommand InsertCommand { get { throw null; } set { } } + [System.ComponentModel.DefaultValueAttribute(null)] + [System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.Data.Design.DBCommandEditor, Microsoft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + public new Microsoft.Data.SqlClient.SqlCommand SelectCommand { get { throw null; } set { } } System.Data.IDbCommand System.Data.IDbDataAdapter.DeleteCommand { get { throw null; } set { } } System.Data.IDbCommand System.Data.IDbDataAdapter.InsertCommand { get { throw null; } set { } } System.Data.IDbCommand System.Data.IDbDataAdapter.SelectCommand { get { throw null; } set { } } System.Data.IDbCommand System.Data.IDbDataAdapter.UpdateCommand { get { throw null; } set { } } - override public int UpdateBatchSize { get { throw null; } set { } } - new public SqlCommand UpdateCommand { get { throw null; } set { } } - public event SqlRowUpdatedEventHandler RowUpdated { add { } remove { } } - public event SqlRowUpdatingEventHandler RowUpdating { add { } remove { } } + public override int UpdateBatchSize { get { throw null; } set { } } + [System.ComponentModel.DefaultValueAttribute(null)] + [System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.Data.Design.DBCommandEditor, Microsoft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + public new Microsoft.Data.SqlClient.SqlCommand UpdateCommand { get { throw null; } set { } } + public event Microsoft.Data.SqlClient.SqlRowUpdatedEventHandler RowUpdated { add { } remove { } } + public event Microsoft.Data.SqlClient.SqlRowUpdatingEventHandler RowUpdating { add { } remove { } } protected override void OnRowUpdated(System.Data.Common.RowUpdatedEventArgs value) { } protected override void OnRowUpdating(System.Data.Common.RowUpdatingEventArgs value) { } object System.ICloneable.Clone() { throw null; } } - public sealed partial class SqlDependency - { - public SqlDependency() { } - public SqlDependency(SqlCommand command) { } - public SqlDependency(SqlCommand command, string options, int timeout) { } - public bool HasChanges { get { throw null; } } - public string Id { get { throw null; } } - public event OnChangeEventHandler OnChange { add { } remove { } } - public void AddCommandDependency(SqlCommand command) { } - public static bool Start(string connectionString) { throw null; } - public static bool Start(string connectionString, string queue) { throw null; } - public static bool Stop(string connectionString) { throw null; } - public static bool Stop(string connectionString, string queue) { throw null; } - } - public delegate void OnChangeEventHandler(object sender, SqlNotificationEventArgs e); - public partial class SqlNotificationEventArgs : System.EventArgs - { - public SqlNotificationEventArgs(SqlNotificationType type, SqlNotificationInfo info, SqlNotificationSource source) { } - public SqlNotificationType Type { get { throw null; } } - public SqlNotificationInfo Info { get { throw null; } } - public SqlNotificationSource Source { get { throw null; } } - } - public enum SqlNotificationInfo - { - Truncate = 0, - Insert = 1, - Update = 2, - Delete = 3, - Drop = 4, - Alter = 5, - Restart = 6, - Error = 7, - Query = 8, - Invalid = 9, - Options = 10, - Isolation = 11, - Expired = 12, - Resource = 13, - PreviousFire = 14, - TemplateLimit = 15, - Merge = 16, - Unknown = -1, - AlreadyChanged = -2 - } - public enum SqlNotificationSource - { - Data = 0, - Timeout = 1, - Object = 2, - Database = 3, - System = 4, - Statement = 5, - Environment = 6, - Execution = 7, - Owner = 8, - Unknown = -1, - Client = -2 - } - public enum SqlNotificationType - { - Change = 0, - Subscribe = 1, - Unknown = -1 - } - public sealed partial class SqlRowUpdatedEventArgs : System.Data.Common.RowUpdatedEventArgs - { - public SqlRowUpdatedEventArgs(System.Data.DataRow row, System.Data.IDbCommand command, System.Data.StatementType statementType, System.Data.Common.DataTableMapping tableMapping) - : base(row, command, statementType, tableMapping) { } - - new public SqlCommand Command { get { throw null; } } - } - public delegate void SqlRowUpdatedEventHandler(object sender, SqlRowUpdatedEventArgs e); - public sealed partial class SqlRowUpdatingEventArgs : System.Data.Common.RowUpdatingEventArgs - { - public SqlRowUpdatingEventArgs(System.Data.DataRow row, System.Data.IDbCommand command, System.Data.StatementType statementType, System.Data.Common.DataTableMapping tableMapping) - : base(row, command, statementType, tableMapping) { } - - new public SqlCommand Command { get { throw null; } set { } } - protected override System.Data.IDbCommand BaseCommand { get { throw null; } set { } } - } - public delegate void SqlRowUpdatingEventHandler(object sender, SqlRowUpdatingEventArgs e); - public partial class SqlDataReader : System.Data.Common.DbDataReader, System.IDisposable + public partial class SqlDataReader : System.Data.Common.DbDataReader, System.Data.IDataReader, System.IDisposable { internal SqlDataReader() { } protected Microsoft.Data.SqlClient.SqlConnection Connection { get { throw null; } } @@ -673,11 +508,13 @@ internal SqlDataReader() { } public override object this[int i] { get { throw null; } } public override object this[string name] { get { throw null; } } public override int RecordsAffected { get { throw null; } } - public Microsoft.Data.SqlClient.DataClassification.SensitivityClassification SensitivityClassification { get { throw null; } } + public Microsoft.Data.SqlClient.DataClassification.SensitivityClassification SensitivityClassification { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public override int VisibleFieldCount { get { throw null; } } + public override void Close() { } public override bool GetBoolean(int i) { throw null; } public override byte GetByte(int i) { throw null; } public override long GetBytes(int i, long dataIndex, byte[] buffer, int bufferIndex, int length) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override char GetChar(int i) { throw null; } public override long GetChars(int i, long dataIndex, char[] buffer, int bufferIndex, int length) { throw null; } public override string GetDataTypeName(int i) { throw null; } @@ -725,13 +562,29 @@ internal SqlDataReader() { } public override object GetValue(int i) { throw null; } public override int GetValues(object[] values) { throw null; } public virtual System.Xml.XmlReader GetXmlReader(int i) { throw null; } - public override bool IsDBNull(int i) { throw null; } protected internal bool IsCommandBehavior(System.Data.CommandBehavior condition) { throw null; } + public override bool IsDBNull(int i) { throw null; } public override System.Threading.Tasks.Task IsDBNullAsync(int i, System.Threading.CancellationToken cancellationToken) { throw null; } public override bool NextResult() { throw null; } public override System.Threading.Tasks.Task NextResultAsync(System.Threading.CancellationToken cancellationToken) { throw null; } public override bool Read() { throw null; } public override System.Threading.Tasks.Task ReadAsync(System.Threading.CancellationToken cancellationToken) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + System.Data.IDataReader System.Data.IDataRecord.GetData(int i) { throw null; } + } + public sealed partial class SqlDependency + { + public SqlDependency() { } + public SqlDependency(Microsoft.Data.SqlClient.SqlCommand command) { } + public SqlDependency(Microsoft.Data.SqlClient.SqlCommand command, string options, int timeout) { } + public bool HasChanges { get { throw null; } } + public string Id { get { throw null; } } + public event Microsoft.Data.SqlClient.OnChangeEventHandler OnChange { add { } remove { } } + public void AddCommandDependency(Microsoft.Data.SqlClient.SqlCommand command) { } + public static bool Start(string connectionString) { throw null; } + public static bool Start(string connectionString, string queue) { throw null; } + public static bool Stop(string connectionString) { throw null; } + public static bool Stop(string connectionString, string queue) { throw null; } } public sealed partial class SqlError { @@ -746,6 +599,7 @@ internal SqlError() { } public byte State { get { throw null; } } public override string ToString() { throw null; } } + [System.ComponentModel.ListBindableAttribute(false)] public sealed partial class SqlErrorCollection : System.Collections.ICollection, System.Collections.IEnumerable { internal SqlErrorCollection() { } @@ -762,6 +616,7 @@ public sealed partial class SqlException : System.Data.Common.DbException internal SqlException() { } public byte Class { get { throw null; } } public System.Guid ClientConnectionId { get { throw null; } } + [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] public Microsoft.Data.SqlClient.SqlErrorCollection Errors { get { throw null; } } public int LineNumber { get { throw null; } } public int Number { get { throw null; } } @@ -769,6 +624,7 @@ internal SqlException() { } public string Server { get { throw null; } } public override string Source { get { throw null; } } public byte State { get { throw null; } } + [System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo si, System.Runtime.Serialization.StreamingContext context) { } public override string ToString() { throw null; } } @@ -781,33 +637,101 @@ internal SqlInfoMessageEventArgs() { } public override string ToString() { throw null; } } public delegate void SqlInfoMessageEventHandler(object sender, Microsoft.Data.SqlClient.SqlInfoMessageEventArgs e); - public sealed partial class SqlParameter : System.Data.Common.DbParameter, System.ICloneable, System.Data.IDataParameter, System.Data.IDbDataParameter + public partial class SqlNotificationEventArgs : System.EventArgs + { + public SqlNotificationEventArgs(Microsoft.Data.SqlClient.SqlNotificationType type, Microsoft.Data.SqlClient.SqlNotificationInfo info, Microsoft.Data.SqlClient.SqlNotificationSource source) { } + public Microsoft.Data.SqlClient.SqlNotificationInfo Info { get { throw null; } } + public Microsoft.Data.SqlClient.SqlNotificationSource Source { get { throw null; } } + public Microsoft.Data.SqlClient.SqlNotificationType Type { get { throw null; } } + } + public enum SqlNotificationInfo + { + AlreadyChanged = -2, + Alter = 5, + Delete = 3, + Drop = 4, + Error = 7, + Expired = 12, + Insert = 1, + Invalid = 9, + Isolation = 11, + Merge = 16, + Options = 10, + PreviousFire = 14, + Query = 8, + Resource = 13, + Restart = 6, + TemplateLimit = 15, + Truncate = 0, + Unknown = -1, + Update = 2 + } + public enum SqlNotificationSource + { + Client = -2, + Data = 0, + Database = 3, + Environment = 6, + Execution = 7, + Object = 2, + Owner = 8, + Statement = 5, + System = 4, + Timeout = 1, + Unknown = -1 + } + public enum SqlNotificationType + { + Change = 0, + Subscribe = 1, + Unknown = -1 + } + public sealed partial class SqlParameter : System.Data.Common.DbParameter, System.Data.IDataParameter, System.Data.IDbDataParameter, System.ICloneable { public SqlParameter() { } public SqlParameter(string parameterName, System.Data.SqlDbType dbType) { } public SqlParameter(string parameterName, System.Data.SqlDbType dbType, int size) { } - public SqlParameter(string parameterName, System.Data.SqlDbType dbType, int size, string sourceColumn) { } - public SqlParameter(string parameterName, object value) { } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] public SqlParameter(string parameterName, System.Data.SqlDbType dbType, int size, System.Data.ParameterDirection direction, bool isNullable, byte precision, byte scale, string sourceColumn, System.Data.DataRowVersion sourceVersion, object value) { } public SqlParameter(string parameterName, System.Data.SqlDbType dbType, int size, System.Data.ParameterDirection direction, byte precision, byte scale, string sourceColumn, System.Data.DataRowVersion sourceVersion, bool sourceColumnNullMapping, object value, string xmlSchemaCollectionDatabase, string xmlSchemaCollectionOwningSchema, string xmlSchemaCollectionName) { } + public SqlParameter(string parameterName, System.Data.SqlDbType dbType, int size, string sourceColumn) { } + public SqlParameter(string parameterName, object value) { } object System.ICloneable.Clone() { throw null; } + [System.ComponentModel.BrowsableAttribute(false)] public System.Data.SqlTypes.SqlCompareOptions CompareInfo { get { throw null; } set { } } public override System.Data.DbType DbType { get { throw null; } set { } } + [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] public override System.Data.ParameterDirection Direction { get { throw null; } set { } } + [System.ComponentModel.DefaultValueAttribute(false)] public override bool IsNullable { get { throw null; } set { } } + [System.ComponentModel.BrowsableAttribute(false)] public int LocaleId { get { throw null; } set { } } + [System.ComponentModel.BrowsableAttribute(false)] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] public int Offset { get { throw null; } set { } } public override string ParameterName { get { throw null; } set { } } + [System.ComponentModel.DefaultValueAttribute((byte)0)] public new byte Precision { get { throw null; } set { } } + [System.ComponentModel.DefaultValueAttribute((byte)0)] public new byte Scale { get { throw null; } set { } } public override int Size { get { throw null; } set { } } public override string SourceColumn { get { throw null; } set { } } public override bool SourceColumnNullMapping { get { throw null; } set { } } public override System.Data.DataRowVersion SourceVersion { get { throw null; } set { } } + [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] + [System.Data.Common.DbProviderSpecificTypePropertyAttribute(true)] public System.Data.SqlDbType SqlDbType { get { throw null; } set { } } + [System.ComponentModel.BrowsableAttribute(false)] + [System.ComponentModel.DesignerSerializationVisibilityAttribute(0)] public object SqlValue { get { throw null; } set { } } - public string UdtTypeName { get { throw null; } set { } } + [System.ComponentModel.BrowsableAttribute(false)] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] public string TypeName { get { throw null; } set { } } + [System.ComponentModel.BrowsableAttribute(false)] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public string UdtTypeName { get { throw null; } set { } } + [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] + [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.StringConverter))] public override object Value { get { throw null; } set { } } public string XmlSchemaCollectionDatabase { get { throw null; } set { } } public string XmlSchemaCollectionName { get { throw null; } set { } } @@ -816,22 +740,29 @@ public override void ResetDbType() { } public void ResetSqlDbType() { } public override string ToString() { throw null; } } + [System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.Data.Design.DBParametersEditor, Microsoft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [System.ComponentModel.ListBindableAttribute(false)] public sealed partial class SqlParameterCollection : System.Data.Common.DbParameterCollection { internal SqlParameterCollection() { } public override int Count { get { throw null; } } public override bool IsFixedSize { get { throw null; } } public override bool IsReadOnly { get { throw null; } } + [System.ComponentModel.BrowsableAttribute(false)] + [System.ComponentModel.DesignerSerializationVisibilityAttribute(0)] public new Microsoft.Data.SqlClient.SqlParameter this[int index] { get { throw null; } set { } } + [System.ComponentModel.BrowsableAttribute(false)] + [System.ComponentModel.DesignerSerializationVisibilityAttribute(0)] public new Microsoft.Data.SqlClient.SqlParameter this[string parameterName] { get { throw null; } set { } } public override object SyncRoot { get { throw null; } } public Microsoft.Data.SqlClient.SqlParameter Add(Microsoft.Data.SqlClient.SqlParameter value) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override int Add(object value) { throw null; } public Microsoft.Data.SqlClient.SqlParameter Add(string parameterName, System.Data.SqlDbType sqlDbType) { throw null; } public Microsoft.Data.SqlClient.SqlParameter Add(string parameterName, System.Data.SqlDbType sqlDbType, int size) { throw null; } public Microsoft.Data.SqlClient.SqlParameter Add(string parameterName, System.Data.SqlDbType sqlDbType, int size, string sourceColumn) { throw null; } - public override void AddRange(System.Array values) { } public void AddRange(Microsoft.Data.SqlClient.SqlParameter[] values) { } + public override void AddRange(System.Array values) { } public Microsoft.Data.SqlClient.SqlParameter AddWithValue(string parameterName, object value) { throw null; } public override void Clear() { } public bool Contains(Microsoft.Data.SqlClient.SqlParameter value) { throw null; } @@ -861,6 +792,21 @@ public SqlRowsCopiedEventArgs(long rowsCopied) { } public long RowsCopied { get { throw null; } } } public delegate void SqlRowsCopiedEventHandler(object sender, Microsoft.Data.SqlClient.SqlRowsCopiedEventArgs e); + public sealed partial class SqlRowUpdatedEventArgs : System.Data.Common.RowUpdatedEventArgs + { + public SqlRowUpdatedEventArgs(System.Data.DataRow row, System.Data.IDbCommand command, System.Data.StatementType statementType, System.Data.Common.DataTableMapping tableMapping) + : base(row, command, statementType, tableMapping) { } + public new Microsoft.Data.SqlClient.SqlCommand Command { get { throw null; } } + } + public delegate void SqlRowUpdatedEventHandler(object sender, Microsoft.Data.SqlClient.SqlRowUpdatedEventArgs e); + public sealed partial class SqlRowUpdatingEventArgs : System.Data.Common.RowUpdatingEventArgs + { + public SqlRowUpdatingEventArgs(System.Data.DataRow row, System.Data.IDbCommand command, System.Data.StatementType statementType, System.Data.Common.DataTableMapping tableMapping) + : base(row, command, statementType, tableMapping) { } + protected override System.Data.IDbCommand BaseCommand { get { throw null; } set { } } + public new Microsoft.Data.SqlClient.SqlCommand Command { get { throw null; } set { } } + } + public delegate void SqlRowUpdatingEventHandler(object sender, Microsoft.Data.SqlClient.SqlRowUpdatingEventArgs e); public sealed partial class SqlTransaction : System.Data.Common.DbTransaction { internal SqlTransaction() { } @@ -873,12 +819,234 @@ public override void Rollback() { } public void Rollback(string transactionName) { } public void Save(string savePointName) { } } +} +namespace Microsoft.Data.SqlClient.Server +{ + public enum DataAccessKind + { + None = 0, + Read = 1 + } + public enum Format + { + Unknown = 0, + Native = 1, + UserDefined = 2 + } + public interface IBinarySerialize + { + void Read(System.IO.BinaryReader r); + void Write(System.IO.BinaryWriter w); + } + public sealed partial class InvalidUdtException : System.SystemException + { + internal InvalidUdtException() { } + } + public partial class SqlDataRecord : System.Data.IDataRecord + { + public SqlDataRecord(params Microsoft.Data.SqlClient.Server.SqlMetaData[] metaData) { } + public virtual int FieldCount { get { throw null; } } + public virtual object this[int ordinal] { get { throw null; } } + public virtual object this[string name] { get { throw null; } } + public virtual bool GetBoolean(int ordinal) { throw null; } + public virtual byte GetByte(int ordinal) { throw null; } + public virtual long GetBytes(int ordinal, long fieldOffset, byte[] buffer, int bufferOffset, int length) { throw null; } + public virtual char GetChar(int ordinal) { throw null; } + public virtual long GetChars(int ordinal, long fieldOffset, char[] buffer, int bufferOffset, int length) { throw null; } + System.Data.IDataReader System.Data.IDataRecord.GetData(int ordinal) { throw null; } + public virtual string GetDataTypeName(int ordinal) { throw null; } + public virtual System.DateTime GetDateTime(int ordinal) { throw null; } + public virtual System.DateTimeOffset GetDateTimeOffset(int ordinal) { throw null; } + public virtual decimal GetDecimal(int ordinal) { throw null; } + public virtual double GetDouble(int ordinal) { throw null; } + public virtual System.Type GetFieldType(int ordinal) { throw null; } + public virtual float GetFloat(int ordinal) { throw null; } + public virtual System.Guid GetGuid(int ordinal) { throw null; } + public virtual short GetInt16(int ordinal) { throw null; } + public virtual int GetInt32(int ordinal) { throw null; } + public virtual long GetInt64(int ordinal) { throw null; } + public virtual string GetName(int ordinal) { throw null; } + public virtual int GetOrdinal(string name) { throw null; } + public virtual System.Data.SqlTypes.SqlBinary GetSqlBinary(int ordinal) { throw null; } + public virtual System.Data.SqlTypes.SqlBoolean GetSqlBoolean(int ordinal) { throw null; } + public virtual System.Data.SqlTypes.SqlByte GetSqlByte(int ordinal) { throw null; } + public virtual System.Data.SqlTypes.SqlBytes GetSqlBytes(int ordinal) { throw null; } + public virtual System.Data.SqlTypes.SqlChars GetSqlChars(int ordinal) { throw null; } + public virtual System.Data.SqlTypes.SqlDateTime GetSqlDateTime(int ordinal) { throw null; } + public virtual System.Data.SqlTypes.SqlDecimal GetSqlDecimal(int ordinal) { throw null; } + public virtual System.Data.SqlTypes.SqlDouble GetSqlDouble(int ordinal) { throw null; } + public virtual System.Type GetSqlFieldType(int ordinal) { throw null; } + public virtual System.Data.SqlTypes.SqlGuid GetSqlGuid(int ordinal) { throw null; } + public virtual System.Data.SqlTypes.SqlInt16 GetSqlInt16(int ordinal) { throw null; } + public virtual System.Data.SqlTypes.SqlInt32 GetSqlInt32(int ordinal) { throw null; } + public virtual System.Data.SqlTypes.SqlInt64 GetSqlInt64(int ordinal) { throw null; } + public virtual Microsoft.Data.SqlClient.Server.SqlMetaData GetSqlMetaData(int ordinal) { throw null; } + public virtual System.Data.SqlTypes.SqlMoney GetSqlMoney(int ordinal) { throw null; } + public virtual System.Data.SqlTypes.SqlSingle GetSqlSingle(int ordinal) { throw null; } + public virtual System.Data.SqlTypes.SqlString GetSqlString(int ordinal) { throw null; } + public virtual object GetSqlValue(int ordinal) { throw null; } + public virtual int GetSqlValues(object[] values) { throw null; } + public virtual System.Data.SqlTypes.SqlXml GetSqlXml(int ordinal) { throw null; } + public virtual string GetString(int ordinal) { throw null; } + public virtual System.TimeSpan GetTimeSpan(int ordinal) { throw null; } + public virtual object GetValue(int ordinal) { throw null; } + public virtual int GetValues(object[] values) { throw null; } + public virtual bool IsDBNull(int ordinal) { throw null; } + public virtual void SetBoolean(int ordinal, bool value) { } + public virtual void SetByte(int ordinal, byte value) { } + public virtual void SetBytes(int ordinal, long fieldOffset, byte[] buffer, int bufferOffset, int length) { } + public virtual void SetChar(int ordinal, char value) { } + public virtual void SetChars(int ordinal, long fieldOffset, char[] buffer, int bufferOffset, int length) { } + public virtual void SetDateTime(int ordinal, System.DateTime value) { } + public virtual void SetDateTimeOffset(int ordinal, System.DateTimeOffset value) { } + public virtual void SetDBNull(int ordinal) { } + public virtual void SetDecimal(int ordinal, decimal value) { } + public virtual void SetDouble(int ordinal, double value) { } + public virtual void SetFloat(int ordinal, float value) { } + public virtual void SetGuid(int ordinal, System.Guid value) { } + public virtual void SetInt16(int ordinal, short value) { } + public virtual void SetInt32(int ordinal, int value) { } + public virtual void SetInt64(int ordinal, long value) { } + public virtual void SetSqlBinary(int ordinal, System.Data.SqlTypes.SqlBinary value) { } + public virtual void SetSqlBoolean(int ordinal, System.Data.SqlTypes.SqlBoolean value) { } + public virtual void SetSqlByte(int ordinal, System.Data.SqlTypes.SqlByte value) { } + public virtual void SetSqlBytes(int ordinal, System.Data.SqlTypes.SqlBytes value) { } + public virtual void SetSqlChars(int ordinal, System.Data.SqlTypes.SqlChars value) { } + public virtual void SetSqlDateTime(int ordinal, System.Data.SqlTypes.SqlDateTime value) { } + public virtual void SetSqlDecimal(int ordinal, System.Data.SqlTypes.SqlDecimal value) { } + public virtual void SetSqlDouble(int ordinal, System.Data.SqlTypes.SqlDouble value) { } + public virtual void SetSqlGuid(int ordinal, System.Data.SqlTypes.SqlGuid value) { } + public virtual void SetSqlInt16(int ordinal, System.Data.SqlTypes.SqlInt16 value) { } + public virtual void SetSqlInt32(int ordinal, System.Data.SqlTypes.SqlInt32 value) { } + public virtual void SetSqlInt64(int ordinal, System.Data.SqlTypes.SqlInt64 value) { } + public virtual void SetSqlMoney(int ordinal, System.Data.SqlTypes.SqlMoney value) { } + public virtual void SetSqlSingle(int ordinal, System.Data.SqlTypes.SqlSingle value) { } + public virtual void SetSqlString(int ordinal, System.Data.SqlTypes.SqlString value) { } + public virtual void SetSqlXml(int ordinal, System.Data.SqlTypes.SqlXml value) { } + public virtual void SetString(int ordinal, string value) { } + public virtual void SetTimeSpan(int ordinal, System.TimeSpan value) { } + public virtual void SetValue(int ordinal, object value) { } + public virtual int SetValues(params object[] values) { throw null; } + } + [System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple = false, Inherited = false), System.SerializableAttribute] + public partial class SqlFunctionAttribute : System.Attribute + { + public SqlFunctionAttribute() { } + public bool IsDeterministic { get { throw null; } set { } } + public DataAccessKind DataAccess { get { throw null; } set { } } + public SystemDataAccessKind SystemDataAccess { get { throw null; } set { } } + public bool IsPrecise { get { throw null; } set { } } + public string Name { get { throw null; } set { } } + public string TableDefinition { get { throw null; } set { } } + public string FillRowMethodName { get { throw null; } set { } } + } + public sealed partial class SqlMetaData + { + public SqlMetaData(string name, System.Data.SqlDbType dbType) { } + public SqlMetaData(string name, System.Data.SqlDbType dbType, bool useServerDefault, bool isUniqueKey, Microsoft.Data.SqlClient.SortOrder columnSortOrder, int sortOrdinal) { } + public SqlMetaData(string name, System.Data.SqlDbType dbType, byte precision, byte scale) { } + public SqlMetaData(string name, System.Data.SqlDbType dbType, byte precision, byte scale, bool useServerDefault, bool isUniqueKey, Microsoft.Data.SqlClient.SortOrder columnSortOrder, int sortOrdinal) { } + public SqlMetaData(string name, System.Data.SqlDbType dbType, long maxLength) { } + public SqlMetaData(string name, System.Data.SqlDbType dbType, long maxLength, bool useServerDefault, bool isUniqueKey, Microsoft.Data.SqlClient.SortOrder columnSortOrder, int sortOrdinal) { } + public SqlMetaData(string name, System.Data.SqlDbType dbType, long maxLength, byte precision, byte scale, long locale, System.Data.SqlTypes.SqlCompareOptions compareOptions, System.Type userDefinedType) { } + public SqlMetaData(string name, System.Data.SqlDbType dbType, long maxLength, byte precision, byte scale, long localeId, System.Data.SqlTypes.SqlCompareOptions compareOptions, System.Type userDefinedType, bool useServerDefault, bool isUniqueKey, Microsoft.Data.SqlClient.SortOrder columnSortOrder, int sortOrdinal) { } + public SqlMetaData(string name, System.Data.SqlDbType dbType, long maxLength, long locale, System.Data.SqlTypes.SqlCompareOptions compareOptions) { } + public SqlMetaData(string name, System.Data.SqlDbType dbType, long maxLength, long locale, System.Data.SqlTypes.SqlCompareOptions compareOptions, bool useServerDefault, bool isUniqueKey, Microsoft.Data.SqlClient.SortOrder columnSortOrder, int sortOrdinal) { } + public SqlMetaData(string name, System.Data.SqlDbType dbType, string database, string owningSchema, string objectName) { } + public SqlMetaData(string name, System.Data.SqlDbType dbType, string database, string owningSchema, string objectName, bool useServerDefault, bool isUniqueKey, Microsoft.Data.SqlClient.SortOrder columnSortOrder, int sortOrdinal) { } + public SqlMetaData(string name, System.Data.SqlDbType dbType, System.Type userDefinedType) { } + public SqlMetaData(string name, System.Data.SqlDbType dbType, System.Type userDefinedType, string serverTypeName) { } + public SqlMetaData(string name, System.Data.SqlDbType dbType, System.Type userDefinedType, string serverTypeName, bool useServerDefault, bool isUniqueKey, Microsoft.Data.SqlClient.SortOrder columnSortOrder, int sortOrdinal) { } - public sealed class SqlCredential + public System.Data.SqlTypes.SqlCompareOptions CompareOptions { get { throw null; } } + public System.Data.DbType DbType { get { throw null; } } + public bool IsUniqueKey { get { throw null; } } + public long LocaleId { get { throw null; } } + public static long Max { get { throw null; } } + public long MaxLength { get { throw null; } } + public string Name { get { throw null; } } + public byte Precision { get { throw null; } } + public byte Scale { get { throw null; } } + public Microsoft.Data.SqlClient.SortOrder SortOrder { get { throw null; } } + public int SortOrdinal { get { throw null; } } + public System.Data.SqlDbType SqlDbType { get { throw null; } } + public System.Type Type { get { throw null; } } + public string TypeName { get { throw null; } } + public bool UseServerDefault { get { throw null; } } + public string XmlSchemaCollectionDatabase { get { throw null; } } + public string XmlSchemaCollectionName { get { throw null; } } + public string XmlSchemaCollectionOwningSchema { get { throw null; } } + public bool Adjust(bool value) { throw null; } + public byte Adjust(byte value) { throw null; } + public byte[] Adjust(byte[] value) { throw null; } + public char Adjust(char value) { throw null; } + public char[] Adjust(char[] value) { throw null; } + public System.Data.SqlTypes.SqlBinary Adjust(System.Data.SqlTypes.SqlBinary value) { throw null; } + public System.Data.SqlTypes.SqlBoolean Adjust(System.Data.SqlTypes.SqlBoolean value) { throw null; } + public System.Data.SqlTypes.SqlByte Adjust(System.Data.SqlTypes.SqlByte value) { throw null; } + public System.Data.SqlTypes.SqlBytes Adjust(System.Data.SqlTypes.SqlBytes value) { throw null; } + public System.Data.SqlTypes.SqlChars Adjust(System.Data.SqlTypes.SqlChars value) { throw null; } + public System.Data.SqlTypes.SqlDateTime Adjust(System.Data.SqlTypes.SqlDateTime value) { throw null; } + public System.Data.SqlTypes.SqlDecimal Adjust(System.Data.SqlTypes.SqlDecimal value) { throw null; } + public System.Data.SqlTypes.SqlDouble Adjust(System.Data.SqlTypes.SqlDouble value) { throw null; } + public System.Data.SqlTypes.SqlGuid Adjust(System.Data.SqlTypes.SqlGuid value) { throw null; } + public System.Data.SqlTypes.SqlInt16 Adjust(System.Data.SqlTypes.SqlInt16 value) { throw null; } + public System.Data.SqlTypes.SqlInt32 Adjust(System.Data.SqlTypes.SqlInt32 value) { throw null; } + public System.Data.SqlTypes.SqlInt64 Adjust(System.Data.SqlTypes.SqlInt64 value) { throw null; } + public System.Data.SqlTypes.SqlMoney Adjust(System.Data.SqlTypes.SqlMoney value) { throw null; } + public System.Data.SqlTypes.SqlSingle Adjust(System.Data.SqlTypes.SqlSingle value) { throw null; } + public System.Data.SqlTypes.SqlString Adjust(System.Data.SqlTypes.SqlString value) { throw null; } + public System.Data.SqlTypes.SqlXml Adjust(System.Data.SqlTypes.SqlXml value) { throw null; } + public System.DateTime Adjust(System.DateTime value) { throw null; } + public System.DateTimeOffset Adjust(System.DateTimeOffset value) { throw null; } + public decimal Adjust(decimal value) { throw null; } + public double Adjust(double value) { throw null; } + public System.Guid Adjust(System.Guid value) { throw null; } + public short Adjust(short value) { throw null; } + public int Adjust(int value) { throw null; } + public long Adjust(long value) { throw null; } + public object Adjust(object value) { throw null; } + public float Adjust(float value) { throw null; } + public string Adjust(string value) { throw null; } + public System.TimeSpan Adjust(System.TimeSpan value) { throw null; } + public static Microsoft.Data.SqlClient.Server.SqlMetaData InferFromValue(object value, string name) { throw null; } + } + [System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple = false, Inherited = false), System.SerializableAttribute] + public sealed partial class SqlMethodAttribute : SqlFunctionAttribute { - public SqlCredential(string userId, System.Security.SecureString password) { } - public string UserId { get { throw null; } } - public System.Security.SecureString Password { get { throw null; } } + public SqlMethodAttribute() { } + public bool OnNullCall { get { throw null; } set { } } + public bool IsMutator { get { throw null; } set { } } + public bool InvokeIfReceiverIsNull { get { throw null; } set { } } + } + [System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Struct, AllowMultiple = false, Inherited = false)] + public sealed partial class SqlUserDefinedAggregateAttribute : System.Attribute + { + public const int MaxByteSizeValue = 8000; + public SqlUserDefinedAggregateAttribute(Format format) { } + public int MaxByteSize { get { throw null; } set { } } + public bool IsInvariantToDuplicates { get { throw null; } set { } } + public bool IsInvariantToNulls { get { throw null; } set { } } + public bool IsInvariantToOrder { get { throw null; } set { } } + public bool IsNullIfEmpty { get { throw null; } set { } } + public Format Format { get { throw null; } } + public string Name { get { throw null; } set { } } + } + [System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Struct, AllowMultiple = false, Inherited = true)] + public sealed partial class SqlUserDefinedTypeAttribute : System.Attribute + { + public SqlUserDefinedTypeAttribute(Format format) { } + public int MaxByteSize { get { throw null; } set { } } + public bool IsFixedLength { get { throw null; } set { } } + public bool IsByteOrdered { get { throw null; } set { } } + public Format Format { get { throw null; } } + public string ValidationMethodName { get { throw null; } set { } } + public string Name { get { throw null; } set { } } + } + public enum SystemDataAccessKind + { + None = 0, + Read = 1 } } namespace Microsoft.Data.SqlClient.DataClassification @@ -913,11 +1081,4 @@ public SensitivityProperty(Microsoft.Data.SqlClient.DataClassification.Label lab public Microsoft.Data.SqlClient.DataClassification.InformationType InformationType { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public Microsoft.Data.SqlClient.DataClassification.Label Label { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } } -} -namespace Microsoft.Data -{ - public sealed partial class OperationAbortedException : System.SystemException - { - internal OperationAbortedException() { } - } } \ No newline at end of file diff --git a/src/Microsoft.Data.SqlClient/netfx/ref/Microsoft.Data.SqlClient.cs b/src/Microsoft.Data.SqlClient/netfx/ref/Microsoft.Data.SqlClient.cs index 2fed5a5fd6..89302df067 100644 --- a/src/Microsoft.Data.SqlClient/netfx/ref/Microsoft.Data.SqlClient.cs +++ b/src/Microsoft.Data.SqlClient/netfx/ref/Microsoft.Data.SqlClient.cs @@ -25,7 +25,7 @@ namespace Microsoft.Data.SqlClient public enum ApplicationIntent { ReadOnly = 1, - ReadWrite = 0, + ReadWrite = 0 } public delegate void OnChangeEventHandler(object sender, Microsoft.Data.SqlClient.SqlNotificationEventArgs e); public enum PoolBlockingPeriod @@ -38,7 +38,7 @@ public enum SortOrder { Ascending = 0, Descending = 1, - Unspecified = -1, + Unspecified = -1 } public abstract partial class SqlAuthenticationInitializer { @@ -51,7 +51,7 @@ public enum SqlAuthenticationMethod ActiveDirectoryInteractive = 4, ActiveDirectoryPassword = 2, NotSpecified = 0, - SqlPassword = 1, + SqlPassword = 1 } public partial class SqlAuthenticationParameters { @@ -97,9 +97,9 @@ public event Microsoft.Data.SqlClient.SqlRowsCopiedEventHandler SqlRowsCopied { public void Close() { } void System.IDisposable.Dispose() { } public void WriteToServer(System.Data.Common.DbDataReader reader) { } - public void WriteToServer(System.Data.DataRow[] rows) { } public void WriteToServer(System.Data.DataTable table) { } public void WriteToServer(System.Data.DataTable table, System.Data.DataRowState rowState) { } + public void WriteToServer(System.Data.DataRow[] rows) { } public void WriteToServer(System.Data.IDataReader reader) { } public System.Threading.Tasks.Task WriteToServerAsync(System.Data.Common.DbDataReader reader) { throw null; } public System.Threading.Tasks.Task WriteToServerAsync(System.Data.Common.DbDataReader reader, System.Threading.CancellationToken cancellationToken) { throw null; } @@ -283,12 +283,6 @@ public SqlCommand(string cmdText, Microsoft.Data.SqlClient.SqlConnection connect [System.ComponentModel.DesignOnlyAttribute(true)] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override bool DesignTimeVisible { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(0)] - public Microsoft.Data.Sql.SqlNotificationRequest Notification { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool NotificationAutoEnlist { get { throw null; } set { } } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] public new Microsoft.Data.SqlClient.SqlParameterCollection Parameters { get { throw null; } } [System.ComponentModel.BrowsableAttribute(false)] [System.ComponentModel.DesignerSerializationVisibilityAttribute(0)] @@ -313,6 +307,7 @@ public event System.Data.StatementCompletedEventHandler StatementCompleted { add [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading = true)] public System.IAsyncResult BeginExecuteXmlReader(System.AsyncCallback callback, object stateObject) { throw null; } public override void Cancel() { } + object System.ICloneable.Clone() { throw null; } public Microsoft.Data.SqlClient.SqlCommand Clone() { throw null; } protected override System.Data.Common.DbParameter CreateDbParameter() { throw null; } public new Microsoft.Data.SqlClient.SqlParameter CreateParameter() { throw null; } @@ -336,10 +331,15 @@ protected override void Dispose(bool disposing) { } public System.Threading.Tasks.Task ExecuteXmlReaderAsync() { throw null; } public System.Threading.Tasks.Task ExecuteXmlReaderAsync(System.Threading.CancellationToken cancellationToken) { throw null; } public override void Prepare() { } + [System.ComponentModel.BrowsableAttribute(false)] + [System.ComponentModel.DesignerSerializationVisibilityAttribute(0)] + public Microsoft.Data.Sql.SqlNotificationRequest Notification { get { throw null; } set { } } + [System.ComponentModel.DefaultValueAttribute(true)] + public bool NotificationAutoEnlist { get { throw null; } set { } } + [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] public void ResetCommandTimeout() { } - object System.ICloneable.Clone() { throw null; } } - public sealed partial class SqlCommandBuilder : System.Data.Common.DbCommandBuilder + public sealed class SqlCommandBuilder : System.Data.Common.DbCommandBuilder { public SqlCommandBuilder() { } public SqlCommandBuilder(Microsoft.Data.SqlClient.SqlDataAdapter adapter) { } @@ -353,6 +353,7 @@ public SqlCommandBuilder(Microsoft.Data.SqlClient.SqlDataAdapter adapter) { } public override string CatalogSeparator { get { throw null; } set { } } [System.ComponentModel.DefaultValueAttribute(null)] public new Microsoft.Data.SqlClient.SqlDataAdapter DataAdapter { get { throw null; } set { } } + public static void DeriveParameters(Microsoft.Data.SqlClient.SqlCommand command) { } [System.ComponentModel.BrowsableAttribute(false)] [System.ComponentModel.DesignerSerializationVisibilityAttribute(0)] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] @@ -366,7 +367,6 @@ public SqlCommandBuilder(Microsoft.Data.SqlClient.SqlDataAdapter adapter) { } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override string SchemaSeparator { get { throw null; } set { } } protected override void ApplyParameterInfo(System.Data.Common.DbParameter parameter, System.Data.DataRow datarow, System.Data.StatementType statementType, bool whereClause) { } - public static void DeriveParameters(Microsoft.Data.SqlClient.SqlCommand command) { } public new Microsoft.Data.SqlClient.SqlCommand GetDeleteCommand() { throw null; } public new Microsoft.Data.SqlClient.SqlCommand GetDeleteCommand(bool useColumnsForParameterNames) { throw null; } public new Microsoft.Data.SqlClient.SqlCommand GetInsertCommand() { throw null; } @@ -400,6 +400,7 @@ public SqlConnection(string connectionString, Microsoft.Data.SqlClient.SqlCreden public string AccessToken { get { throw null; } set { } } [System.ComponentModel.DesignerSerializationVisibilityAttribute(0)] public System.Guid ClientConnectionId { get { throw null; } } + object System.ICloneable.Clone() { throw null; } [System.ComponentModel.DefaultValueAttribute(null)] public static System.TimeSpan ColumnEncryptionKeyCacheTtl { get { throw null; } set { } } [System.ComponentModel.DefaultValueAttribute(null)] @@ -460,7 +461,6 @@ public override void Open() { } public static void RegisterColumnEncryptionKeyStoreProviders(System.Collections.Generic.IDictionary customProviders) { } public void ResetStatistics() { } public System.Collections.IDictionary RetrieveStatistics() { throw null; } - object System.ICloneable.Clone() { throw null; } } public enum SqlConnectionColumnEncryptionSetting { @@ -600,7 +600,7 @@ public override void Clear() { } public override bool ShouldSerialize(string keyword) { throw null; } public override bool TryGetValue(string keyword, out object value) { throw null; } } - public sealed partial class SqlCredential + public sealed class SqlCredential { public SqlCredential(string userId, System.Security.SecureString password) { } public System.Security.SecureString Password { get { throw null; } } @@ -674,8 +674,8 @@ public override void Close() { } public override double GetDouble(int i) { throw null; } public override System.Collections.IEnumerator GetEnumerator() { throw null; } public override System.Type GetFieldType(int i) { throw null; } - public override System.Threading.Tasks.Task GetFieldValueAsync(int i, System.Threading.CancellationToken cancellationToken) { throw null; } public override T GetFieldValue(int i) { throw null; } + public override System.Threading.Tasks.Task GetFieldValueAsync(int i, System.Threading.CancellationToken cancellationToken) { throw null; } public override float GetFloat(int i) { throw null; } public override System.Guid GetGuid(int i) { throw null; } public override short GetInt16(int i) { throw null; } @@ -686,7 +686,6 @@ public override void Close() { } public override System.Type GetProviderSpecificFieldType(int i) { throw null; } public override object GetProviderSpecificValue(int i) { throw null; } public override int GetProviderSpecificValues(object[] values) { throw null; } - public override System.Data.DataTable GetSchemaTable() { throw null; } public virtual System.Data.SqlTypes.SqlBinary GetSqlBinary(int i) { throw null; } public virtual System.Data.SqlTypes.SqlBoolean GetSqlBoolean(int i) { throw null; } public virtual System.Data.SqlTypes.SqlByte GetSqlByte(int i) { throw null; } @@ -705,6 +704,7 @@ public override void Close() { } public virtual object GetSqlValue(int i) { throw null; } public virtual int GetSqlValues(object[] values) { throw null; } public virtual System.Data.SqlTypes.SqlXml GetSqlXml(int i) { throw null; } + public override System.Data.DataTable GetSchemaTable() { throw null; } public override System.IO.Stream GetStream(int i) { throw null; } public override string GetString(int i) { throw null; } public override System.IO.TextReader GetTextReader(int i) { throw null; } @@ -785,8 +785,8 @@ internal SqlErrorCollection() { } public Microsoft.Data.SqlClient.SqlError this[int index] { get { throw null; } } bool System.Collections.ICollection.IsSynchronized { get { throw null; } } object System.Collections.ICollection.SyncRoot { get { throw null; } } - public void CopyTo(Microsoft.Data.SqlClient.SqlError[] array, int index) { } public void CopyTo(System.Array array, int index) { } + public void CopyTo(Microsoft.Data.SqlClient.SqlError[] array, int index) { } public System.Collections.IEnumerator GetEnumerator() { throw null; } } public sealed partial class SqlException : System.Data.Common.DbException @@ -842,7 +842,7 @@ public enum SqlNotificationInfo TemplateLimit = 15, Truncate = 0, Unknown = -1, - Update = 2, + Update = 2 } public enum SqlNotificationSource { @@ -856,13 +856,13 @@ public enum SqlNotificationSource Statement = 5, System = 4, Timeout = 1, - Unknown = -1, + Unknown = -1 } public enum SqlNotificationType { Change = 0, Subscribe = 1, - Unknown = -1, + Unknown = -1 } public sealed partial class SqlParameter : System.Data.Common.DbParameter, System.Data.IDataParameter, System.Data.IDbDataParameter, System.ICloneable { @@ -874,6 +874,7 @@ public SqlParameter(string parameterName, System.Data.SqlDbType dbType, int size public SqlParameter(string parameterName, System.Data.SqlDbType dbType, int size, System.Data.ParameterDirection direction, byte precision, byte scale, string sourceColumn, System.Data.DataRowVersion sourceVersion, bool sourceColumnNullMapping, object value, string xmlSchemaCollectionDatabase, string xmlSchemaCollectionOwningSchema, string xmlSchemaCollectionName) { } public SqlParameter(string parameterName, System.Data.SqlDbType dbType, int size, string sourceColumn) { } public SqlParameter(string parameterName, object value) { } + object System.ICloneable.Clone() { throw null; } [System.ComponentModel.BrowsableAttribute(false)] public System.Data.SqlTypes.SqlCompareOptions CompareInfo { get { throw null; } set { } } public override System.Data.DbType DbType { get { throw null; } set { } } @@ -916,7 +917,6 @@ public SqlParameter(string parameterName, object value) { } public string XmlSchemaCollectionOwningSchema { get { throw null; } set { } } public override void ResetDbType() { } public void ResetSqlDbType() { } - object System.ICloneable.Clone() { throw null; } public override string ToString() { throw null; } } [System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.Data.Design.DBParametersEditor, Microsoft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] @@ -951,8 +951,8 @@ public override void Clear() { } public bool Contains(Microsoft.Data.SqlClient.SqlParameter value) { throw null; } public override bool Contains(object value) { throw null; } public override bool Contains(string value) { throw null; } - public void CopyTo(Microsoft.Data.SqlClient.SqlParameter[] array, int index) { } public override void CopyTo(System.Array array, int index) { } + public void CopyTo(Microsoft.Data.SqlClient.SqlParameter[] array, int index) { } public override System.Collections.IEnumerator GetEnumerator() { throw null; } protected override System.Data.Common.DbParameter GetParameter(int index) { throw null; } protected override System.Data.Common.DbParameter GetParameter(string parameterName) { throw null; } @@ -984,7 +984,7 @@ public SqlRowUpdatedEventArgs(System.Data.DataRow row, System.Data.IDbCommand co public delegate void SqlRowUpdatedEventHandler(object sender, Microsoft.Data.SqlClient.SqlRowUpdatedEventArgs e); public sealed partial class SqlRowUpdatingEventArgs : System.Data.Common.RowUpdatingEventArgs { - public SqlRowUpdatingEventArgs(System.Data.DataRow row, System.Data.IDbCommand command, System.Data.StatementType statementType, System.Data.Common.DataTableMapping tableMapping) + public SqlRowUpdatingEventArgs(System.Data.DataRow row, System.Data.IDbCommand command, System.Data.StatementType statementType, System.Data.Common.DataTableMapping tableMapping) : base(row, command, statementType, tableMapping) { } protected override System.Data.IDbCommand BaseCommand { get { throw null; } set { } } public new Microsoft.Data.SqlClient.SqlCommand Command { get { throw null; } set { } } @@ -1003,71 +1003,28 @@ public void Rollback(string transactionName) { } public void Save(string savePointName) { } } } -namespace Microsoft.Data.SqlClient.DataClassification -{ - public partial class ColumnSensitivity - { - public ColumnSensitivity(System.Collections.Generic.IList sensitivityProperties) { } - public System.Collections.ObjectModel.ReadOnlyCollection SensitivityProperties { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } - } - public partial class InformationType - { - public InformationType(string name, string id) { } - public string Id { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } - public string Name { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } - } - public partial class Label - { - public Label(string name, string id) { } - public string Id { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } - public string Name { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } - } - public partial class SensitivityClassification - { - public SensitivityClassification(System.Collections.Generic.IList labels, System.Collections.Generic.IList informationTypes, System.Collections.Generic.IList columnSensitivity) { } - public System.Collections.ObjectModel.ReadOnlyCollection ColumnSensitivities { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } - public System.Collections.ObjectModel.ReadOnlyCollection InformationTypes { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } - public System.Collections.ObjectModel.ReadOnlyCollection Labels { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } - } - public partial class SensitivityProperty - { - public SensitivityProperty(Microsoft.Data.SqlClient.DataClassification.Label label, Microsoft.Data.SqlClient.DataClassification.InformationType informationType) { } - public Microsoft.Data.SqlClient.DataClassification.InformationType InformationType { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } - public Microsoft.Data.SqlClient.DataClassification.Label Label { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } - } -} - namespace Microsoft.Data.SqlClient.Server { - public sealed partial class InvalidUdtException : System.SystemException - { - internal InvalidUdtException() { } - } - public enum DataAccessKind { None = 0, Read = 1 } - public enum SystemDataAccessKind + public enum Format { - None = 0, - Read = 1 + Unknown = 0, + Native = 1, + UserDefined = 2 } - - [System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple = false, Inherited = false), System.SerializableAttribute] - public partial class SqlFunctionAttribute : System.Attribute + public interface IBinarySerialize { - public SqlFunctionAttribute() { } - public bool IsDeterministic { get { throw null; } set { } } - public DataAccessKind DataAccess { get { throw null; } set { } } - public SystemDataAccessKind SystemDataAccess { get { throw null; } set { } } - public bool IsPrecise { get { throw null; } set { } } - public string Name { get { throw null; } set { } } - public string TableDefinition { get { throw null; } set { } } - public string FillRowMethodName { get { throw null; } set { } } + void Read(System.IO.BinaryReader r); + void Write(System.IO.BinaryWriter w); + } + public sealed partial class InvalidUdtException : System.SystemException + { + internal InvalidUdtException() { } } - public partial class SqlDataRecord : System.Data.IDataRecord { public SqlDataRecord(params Microsoft.Data.SqlClient.Server.SqlMetaData[] metaData) { } @@ -1154,7 +1111,18 @@ public virtual void SetTimeSpan(int ordinal, System.TimeSpan value) { } public virtual void SetValue(int ordinal, object value) { } public virtual int SetValues(params object[] values) { throw null; } } - + [System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple = false, Inherited = false), System.SerializableAttribute] + public partial class SqlFunctionAttribute : System.Attribute + { + public SqlFunctionAttribute() { } + public bool IsDeterministic { get { throw null; } set { } } + public DataAccessKind DataAccess { get { throw null; } set { } } + public SystemDataAccessKind SystemDataAccess { get { throw null; } set { } } + public bool IsPrecise { get { throw null; } set { } } + public string Name { get { throw null; } set { } } + public string TableDefinition { get { throw null; } set { } } + public string FillRowMethodName { get { throw null; } set { } } + } public sealed partial class SqlMetaData { public SqlMetaData(string name, System.Data.SqlDbType dbType) { } @@ -1226,7 +1194,6 @@ public SqlMetaData(string name, System.Data.SqlDbType dbType, System.Type userDe public System.TimeSpan Adjust(System.TimeSpan value) { throw null; } public static Microsoft.Data.SqlClient.Server.SqlMetaData InferFromValue(object value, string name) { throw null; } } - [System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple = false, Inherited = false), System.SerializableAttribute] public sealed partial class SqlMethodAttribute : SqlFunctionAttribute { @@ -1235,12 +1202,6 @@ public SqlMethodAttribute() { } public bool IsMutator { get { throw null; } set { } } public bool InvokeIfReceiverIsNull { get { throw null; } set { } } } - public enum Format - { - Unknown = 0, - Native = 1, - UserDefined = 2 - } [System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Struct, AllowMultiple = false, Inherited = false)] public sealed partial class SqlUserDefinedAggregateAttribute : System.Attribute { @@ -1265,9 +1226,43 @@ public SqlUserDefinedTypeAttribute(Format format) { } public string ValidationMethodName { get { throw null; } set { } } public string Name { get { throw null; } set { } } } - public interface IBinarySerialize + public enum SystemDataAccessKind { - void Read(System.IO.BinaryReader r); - void Write(System.IO.BinaryWriter w); + None = 0, + Read = 1 } + } +namespace Microsoft.Data.SqlClient.DataClassification +{ + public partial class ColumnSensitivity + { + public ColumnSensitivity(System.Collections.Generic.IList sensitivityProperties) { } + public System.Collections.ObjectModel.ReadOnlyCollection SensitivityProperties { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } + } + public partial class InformationType + { + public InformationType(string name, string id) { } + public string Id { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } + public string Name { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } + } + public partial class Label + { + public Label(string name, string id) { } + public string Id { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } + public string Name { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } + } + public partial class SensitivityClassification + { + public SensitivityClassification(System.Collections.Generic.IList labels, System.Collections.Generic.IList informationTypes, System.Collections.Generic.IList columnSensitivity) { } + public System.Collections.ObjectModel.ReadOnlyCollection ColumnSensitivities { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } + public System.Collections.ObjectModel.ReadOnlyCollection InformationTypes { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } + public System.Collections.ObjectModel.ReadOnlyCollection Labels { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } + } + public partial class SensitivityProperty + { + public SensitivityProperty(Microsoft.Data.SqlClient.DataClassification.Label label, Microsoft.Data.SqlClient.DataClassification.InformationType informationType) { } + public Microsoft.Data.SqlClient.DataClassification.InformationType InformationType { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } + public Microsoft.Data.SqlClient.DataClassification.Label Label { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } + } +} \ No newline at end of file