@@ -208,7 +208,7 @@ protected DbColumn() { }
208
208
public System . Nullable < int > NumericScale { get { throw null ; } protected set { } }
209
209
public string UdtAssemblyQualifiedName { get { throw null ; } protected set { } }
210
210
}
211
- public abstract partial class DbCommand : System . ComponentModel . Component , System . Data . IDbCommand , System . IDisposable
211
+ public abstract partial class DbCommand : System . ComponentModel . Component , System . Data . IDbCommand , System . IDisposable , System . IAsyncDisposable
212
212
{
213
213
protected DbCommand ( ) { }
214
214
[ System . ComponentModel . DefaultValueAttribute ( "" ) ]
@@ -260,9 +260,11 @@ protected DbCommand() { }
260
260
public System . Threading . Tasks . Task < object > ExecuteScalarAsync ( ) { throw null ; }
261
261
public virtual System . Threading . Tasks . Task < object > ExecuteScalarAsync ( System . Threading . CancellationToken cancellationToken ) { throw null ; }
262
262
public abstract void Prepare ( ) ;
263
+ public virtual System . Threading . Tasks . Task PrepareAsync ( System . Threading . CancellationToken cancellationToken = default ) { throw null ; }
263
264
System . Data . IDbDataParameter System . Data . IDbCommand . CreateParameter ( ) { throw null ; }
264
265
System . Data . IDataReader System . Data . IDbCommand . ExecuteReader ( ) { throw null ; }
265
266
System . Data . IDataReader System . Data . IDbCommand . ExecuteReader ( System . Data . CommandBehavior behavior ) { throw null ; }
267
+ public virtual System . Threading . Tasks . ValueTask DisposeAsync ( ) { throw null ; }
266
268
}
267
269
public abstract partial class DbCommandBuilder : System . ComponentModel . Component
268
270
{
@@ -303,7 +305,7 @@ protected void RowUpdatingHandler(System.Data.Common.RowUpdatingEventArgs rowUpd
303
305
protected abstract void SetRowUpdatingHandler ( System . Data . Common . DbDataAdapter adapter ) ;
304
306
public virtual string UnquoteIdentifier ( string quotedIdentifier ) { throw null ; }
305
307
}
306
- public abstract partial class DbConnection : System . ComponentModel . Component , System . Data . IDbConnection , System . IDisposable
308
+ public abstract partial class DbConnection : System . ComponentModel . Component , System . Data . IDbConnection , System . IDisposable , System . IAsyncDisposable
307
309
{
308
310
protected DbConnection ( ) { }
309
311
[ System . ComponentModel . DefaultValueAttribute ( "" ) ]
@@ -324,7 +326,9 @@ public virtual event System.Data.StateChangeEventHandler StateChange { add { } r
324
326
public System . Data . Common . DbTransaction BeginTransaction ( ) { throw null ; }
325
327
public System . Data . Common . DbTransaction BeginTransaction ( System . Data . IsolationLevel isolationLevel ) { throw null ; }
326
328
public abstract void ChangeDatabase ( string databaseName ) ;
329
+ public virtual System . Threading . Tasks . Task ChangeDatabaseAsync ( string databaseName , System . Threading . CancellationToken cancellationToken = default ) { throw null ; }
327
330
public abstract void Close ( ) ;
331
+ public virtual System . Threading . Tasks . Task CloseAsync ( System . Threading . CancellationToken cancellationToken = default ) { throw null ; }
328
332
public System . Data . Common . DbCommand CreateCommand ( ) { throw null ; }
329
333
protected abstract System . Data . Common . DbCommand CreateDbCommand ( ) ;
330
334
public virtual void EnlistTransaction ( System . Transactions . Transaction transaction ) { }
@@ -337,7 +341,11 @@ protected virtual void OnStateChange(System.Data.StateChangeEventArgs stateChang
337
341
public virtual System . Threading . Tasks . Task OpenAsync ( System . Threading . CancellationToken cancellationToken ) { throw null ; }
338
342
System . Data . IDbTransaction System . Data . IDbConnection . BeginTransaction ( ) { throw null ; }
339
343
System . Data . IDbTransaction System . Data . IDbConnection . BeginTransaction ( System . Data . IsolationLevel isolationLevel ) { throw null ; }
344
+ protected virtual System . Threading . Tasks . ValueTask < DbTransaction > BeginDbTransactionAsync ( IsolationLevel isolationLevel , System . Threading . CancellationToken cancellationToken ) { throw null ; }
345
+ public System . Threading . Tasks . ValueTask < DbTransaction > BeginTransactionAsync ( System . Threading . CancellationToken cancellationToken = default ) { throw null ; }
346
+ public System . Threading . Tasks . ValueTask < DbTransaction > BeginTransactionAsync ( IsolationLevel isolationLevel , System . Threading . CancellationToken cancellationToken = default ) { throw null ; }
340
347
System . Data . IDbCommand System . Data . IDbConnection . CreateCommand ( ) { throw null ; }
348
+ public virtual System . Threading . Tasks . ValueTask DisposeAsync ( ) { throw null ; }
341
349
}
342
350
public partial class DbConnectionStringBuilder : System . Collections . ICollection , System . Collections . IDictionary , System . Collections . IEnumerable , System . ComponentModel . ICustomTypeDescriptor
343
351
{
@@ -454,7 +462,7 @@ protected virtual void TerminateBatching() { }
454
462
public int Update ( System . Data . DataSet dataSet , string srcTable ) { throw null ; }
455
463
public int Update ( System . Data . DataTable dataTable ) { throw null ; }
456
464
}
457
- public abstract partial class DbDataReader : System . MarshalByRefObject , System . Collections . IEnumerable , System . Data . IDataReader , System . Data . IDataRecord , System . IDisposable
465
+ public abstract partial class DbDataReader : System . MarshalByRefObject , System . Collections . IEnumerable , System . Data . IDataReader , System . Data . IDataRecord , System . IDisposable , System . IAsyncDisposable
458
466
{
459
467
protected DbDataReader ( ) { }
460
468
public abstract int Depth { get ; }
@@ -466,9 +474,11 @@ protected DbDataReader() { }
466
474
public abstract int RecordsAffected { get ; }
467
475
public virtual int VisibleFieldCount { get { throw null ; } }
468
476
public virtual void Close ( ) { }
477
+ public virtual System . Threading . Tasks . Task CloseAsync ( System . Threading . CancellationToken cancellationToken = default ) { throw null ; }
469
478
[ System . ComponentModel . EditorBrowsableAttribute ( System . ComponentModel . EditorBrowsableState . Never ) ]
470
479
public void Dispose ( ) { }
471
480
protected virtual void Dispose ( bool disposing ) { }
481
+ public virtual System . Threading . Tasks . ValueTask DisposeAsync ( ) { throw null ; }
472
482
public abstract bool GetBoolean ( int ordinal ) ;
473
483
public abstract byte GetByte ( int ordinal ) ;
474
484
public abstract long GetBytes ( int ordinal , long dataOffset , byte [ ] buffer , int bufferOffset , int length ) ;
@@ -754,17 +764,20 @@ public sealed partial class DbProviderSpecificTypePropertyAttribute : System.Att
754
764
public DbProviderSpecificTypePropertyAttribute ( bool isProviderSpecificTypeProperty ) { }
755
765
public bool IsProviderSpecificTypeProperty { get { throw null ; } }
756
766
}
757
- public abstract partial class DbTransaction : System . MarshalByRefObject , System . Data . IDbTransaction , System . IDisposable
767
+ public abstract partial class DbTransaction : System . MarshalByRefObject , System . Data . IDbTransaction , System . IDisposable , System . IAsyncDisposable
758
768
{
759
769
protected DbTransaction ( ) { }
760
770
public System . Data . Common . DbConnection Connection { get { throw null ; } }
761
771
protected abstract System . Data . Common . DbConnection DbConnection { get ; }
762
772
public abstract System . Data . IsolationLevel IsolationLevel { get ; }
763
773
System . Data . IDbConnection System . Data . IDbTransaction . Connection { get { throw null ; } }
764
774
public abstract void Commit ( ) ;
775
+ public virtual System . Threading . Tasks . Task CommitAsync ( System . Threading . CancellationToken cancellationToken = default ) { throw null ; }
765
776
public void Dispose ( ) { }
777
+ public virtual System . Threading . Tasks . ValueTask DisposeAsync ( ) { throw null ; }
766
778
protected virtual void Dispose ( bool disposing ) { }
767
779
public abstract void Rollback ( ) ;
780
+ public virtual System . Threading . Tasks . Task RollbackAsync ( System . Threading . CancellationToken cancellationToken = default ) { throw null ; }
768
781
}
769
782
public enum GroupByBehavior
770
783
{
0 commit comments