diff --git a/doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml b/doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml index 5034919337..4d2b5ac62a 100644 --- a/doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml +++ b/doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml @@ -3,7 +3,7 @@ - SqlBatchCommand allows for the execution of multiple SQL commands in a . + SqlBatchCommand allows for the execution of multiple SQL commands in a SqlBatch. diff --git a/src/Microsoft.Data.SqlClient/ref/Microsoft.Data.SqlClient.Batch.NetCoreApp.cs b/src/Microsoft.Data.SqlClient/ref/Microsoft.Data.SqlClient.Batch.NetCoreApp.cs index 6ff4060093..674fcee887 100644 --- a/src/Microsoft.Data.SqlClient/ref/Microsoft.Data.SqlClient.Batch.NetCoreApp.cs +++ b/src/Microsoft.Data.SqlClient/ref/Microsoft.Data.SqlClient.Batch.NetCoreApp.cs @@ -1,6 +1,6 @@ namespace System.Data.Common { - /// + /// public partial class SqlBatchCommand { /// diff --git a/src/Microsoft.Data.SqlClient/ref/Microsoft.Data.SqlClient.Batch.cs b/src/Microsoft.Data.SqlClient/ref/Microsoft.Data.SqlClient.Batch.cs index ae46015bb7..e992b75a6d 100644 --- a/src/Microsoft.Data.SqlClient/ref/Microsoft.Data.SqlClient.Batch.cs +++ b/src/Microsoft.Data.SqlClient/ref/Microsoft.Data.SqlClient.Batch.cs @@ -4,20 +4,20 @@ namespace Microsoft.Data.SqlClient { - /// + /// public class SqlBatch : System.Data.Common.DbBatch { - /// + /// public SqlBatch() { throw null; } - /// + /// public SqlBatch(Microsoft.Data.SqlClient.SqlConnection connection, Microsoft.Data.SqlClient.SqlTransaction transaction = null) { throw null; } /// public override int Timeout { get => throw null; set { } } - /// + /// public new Microsoft.Data.SqlClient.SqlConnection Connection { get => throw null; set { } } - /// + /// public new Microsoft.Data.SqlClient.SqlTransaction Transaction { get => throw null; set { } } - /// + /// public new SqlBatchCommandCollection BatchCommands { get => throw null; } /// protected override System.Data.Common.DbBatchCommandCollection DbBatchCommands { get => throw null; } @@ -43,74 +43,74 @@ public class SqlBatch : System.Data.Common.DbBatch 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 System.Collections.Generic.List Commands { get { throw null; } } - /// + /// public Microsoft.Data.SqlClient.SqlDataReader ExecuteReader() => throw null; /// protected override System.Data.Common.DbBatchCommand CreateDbBatchCommand() => throw null; } - /// + /// public partial class SqlBatchCommand : System.Data.Common.DbBatchCommand { - /// + /// public SqlBatchCommand() => throw null; - /// + /// public SqlBatchCommand(string commandText, System.Data.CommandType commandType = System.Data.CommandType.Text, System.Collections.Generic.IEnumerable parameters = null, Microsoft.Data.SqlClient.SqlCommandColumnEncryptionSetting columnEncryptionSetting = Microsoft.Data.SqlClient.SqlCommandColumnEncryptionSetting.UseConnectionSetting) { throw null; } - /// + /// public new Microsoft.Data.SqlClient.SqlParameterCollection Parameters { get { throw null; } } - /// + /// public override string CommandText { get { throw null; } set { } } - /// + /// public override System.Data.CommandType CommandType { get { throw null; } set { } } - /// + /// public System.Data.CommandBehavior CommandBehavior { get { throw null; } set { } } - /// + /// public override int RecordsAffected { get { throw null; } } - /// + /// protected override System.Data.Common.DbParameterCollection DbParameterCollection => throw null; } - /// + /// public class SqlBatchCommandCollection : System.Data.Common.DbBatchCommandCollection, System.Collections.Generic.IList { /// public override int Count => throw null; /// public override bool IsReadOnly => throw null; - /// + /// System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() => throw null; /// public override System.Collections.Generic.IEnumerator GetEnumerator() => throw null; - /// + /// public void Add(Microsoft.Data.SqlClient.SqlBatchCommand item) => throw null; /// public override void Add(System.Data.Common.DbBatchCommand item) => throw null; /// public override void Clear() => throw null; - /// + /// public bool Contains(Microsoft.Data.SqlClient.SqlBatchCommand item) => throw null; /// public override bool Contains(System.Data.Common.DbBatchCommand item) => throw null; - /// + /// public void CopyTo(Microsoft.Data.SqlClient.SqlBatchCommand[] array, int arrayIndex) => throw null; /// public override void CopyTo(System.Data.Common.DbBatchCommand[] array, int arrayIndex) => throw null; - /// + /// public int IndexOf(Microsoft.Data.SqlClient.SqlBatchCommand item) => throw null; /// public override int IndexOf(System.Data.Common.DbBatchCommand item) => throw null; - /// + /// public void Insert(int index, Microsoft.Data.SqlClient.SqlBatchCommand item) => throw null; /// public override void Insert(int index, System.Data.Common.DbBatchCommand item) => throw null; - /// + /// public bool Remove(Microsoft.Data.SqlClient.SqlBatchCommand item) => throw null; - /// + /// public override bool Remove(System.Data.Common.DbBatchCommand item) => throw null; /// public override void RemoveAt(int index) => throw null; Microsoft.Data.SqlClient.SqlBatchCommand System.Collections.Generic.IList.this[int index] { get => throw null; set { } } - /// + /// public new Microsoft.Data.SqlClient.SqlBatchCommand this[int index] { get => throw null; set { } } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; /// @@ -118,10 +118,10 @@ public class SqlBatchCommandCollection : System.Data.Common.DbBatchCommandCollec /// protected override void SetBatchCommand(int index, System.Data.Common.DbBatchCommand batchCommand) => throw null; } - /// + /// public sealed partial class SqlException { - /// + /// public new Microsoft.Data.SqlClient.SqlBatchCommand BatchCommand { get { throw null; } } } }