-
Notifications
You must be signed in to change notification settings - Fork 2k
Expand file tree
/
Copy pathSystem.Data.SqlClient.cs
More file actions
875 lines (875 loc) · 67.4 KB
/
Copy pathSystem.Data.SqlClient.cs
File metadata and controls
875 lines (875 loc) · 67.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
// This file contains auto-generated code.
// Generated from `System.Data.SqlClient, Version=4.6.1.6, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`.
namespace Microsoft
{
namespace SqlServer
{
namespace 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 class InvalidUdtException : System.SystemException
{
}
public class SqlDataRecord : System.Data.IDataRecord
{
public SqlDataRecord(params Microsoft.SqlServer.Server.SqlMetaData[] metaData) => throw null;
public virtual int FieldCount { 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.SqlServer.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) => throw null;
public virtual void SetByte(int ordinal, byte value) => throw null;
public virtual void SetBytes(int ordinal, long fieldOffset, byte[] buffer, int bufferOffset, int length) => throw null;
public virtual void SetChar(int ordinal, char value) => throw null;
public virtual void SetChars(int ordinal, long fieldOffset, char[] buffer, int bufferOffset, int length) => throw null;
public virtual void SetDateTime(int ordinal, System.DateTime value) => throw null;
public virtual void SetDateTimeOffset(int ordinal, System.DateTimeOffset value) => throw null;
public virtual void SetDBNull(int ordinal) => throw null;
public virtual void SetDecimal(int ordinal, decimal value) => throw null;
public virtual void SetDouble(int ordinal, double value) => throw null;
public virtual void SetFloat(int ordinal, float value) => throw null;
public virtual void SetGuid(int ordinal, System.Guid value) => throw null;
public virtual void SetInt16(int ordinal, short value) => throw null;
public virtual void SetInt32(int ordinal, int value) => throw null;
public virtual void SetInt64(int ordinal, long value) => throw null;
public virtual void SetSqlBinary(int ordinal, System.Data.SqlTypes.SqlBinary value) => throw null;
public virtual void SetSqlBoolean(int ordinal, System.Data.SqlTypes.SqlBoolean value) => throw null;
public virtual void SetSqlByte(int ordinal, System.Data.SqlTypes.SqlByte value) => throw null;
public virtual void SetSqlBytes(int ordinal, System.Data.SqlTypes.SqlBytes value) => throw null;
public virtual void SetSqlChars(int ordinal, System.Data.SqlTypes.SqlChars value) => throw null;
public virtual void SetSqlDateTime(int ordinal, System.Data.SqlTypes.SqlDateTime value) => throw null;
public virtual void SetSqlDecimal(int ordinal, System.Data.SqlTypes.SqlDecimal value) => throw null;
public virtual void SetSqlDouble(int ordinal, System.Data.SqlTypes.SqlDouble value) => throw null;
public virtual void SetSqlGuid(int ordinal, System.Data.SqlTypes.SqlGuid value) => throw null;
public virtual void SetSqlInt16(int ordinal, System.Data.SqlTypes.SqlInt16 value) => throw null;
public virtual void SetSqlInt32(int ordinal, System.Data.SqlTypes.SqlInt32 value) => throw null;
public virtual void SetSqlInt64(int ordinal, System.Data.SqlTypes.SqlInt64 value) => throw null;
public virtual void SetSqlMoney(int ordinal, System.Data.SqlTypes.SqlMoney value) => throw null;
public virtual void SetSqlSingle(int ordinal, System.Data.SqlTypes.SqlSingle value) => throw null;
public virtual void SetSqlString(int ordinal, System.Data.SqlTypes.SqlString value) => throw null;
public virtual void SetSqlXml(int ordinal, System.Data.SqlTypes.SqlXml value) => throw null;
public virtual void SetString(int ordinal, string value) => throw null;
public virtual void SetTimeSpan(int ordinal, System.TimeSpan value) => throw null;
public virtual void SetValue(int ordinal, object value) => throw null;
public virtual int SetValues(params object[] values) => throw null;
public virtual object this[int ordinal] { get => throw null; }
public virtual object this[string name] { get => throw null; }
}
[System.AttributeUsage((System.AttributeTargets)10624, AllowMultiple = false, Inherited = false)]
public class SqlFacetAttribute : System.Attribute
{
public SqlFacetAttribute() => throw null;
public bool IsFixedLength { get => throw null; set { } }
public bool IsNullable { get => throw null; set { } }
public int MaxSize { get => throw null; set { } }
public int Precision { get => throw null; set { } }
public int Scale { get => throw null; set { } }
}
[System.AttributeUsage((System.AttributeTargets)64, AllowMultiple = false, Inherited = false)]
public class SqlFunctionAttribute : System.Attribute
{
public SqlFunctionAttribute() => throw null;
public Microsoft.SqlServer.Server.DataAccessKind DataAccess { get => throw null; set { } }
public string FillRowMethodName { get => throw null; set { } }
public bool IsDeterministic { get => throw null; set { } }
public bool IsPrecise { get => throw null; set { } }
public string Name { get => throw null; set { } }
public Microsoft.SqlServer.Server.SystemDataAccessKind SystemDataAccess { get => throw null; set { } }
public string TableDefinition { get => throw null; set { } }
}
public sealed class SqlMetaData
{
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 System.Data.SqlTypes.SqlCompareOptions CompareOptions { get => throw null; }
public SqlMetaData(string name, System.Data.SqlDbType dbType) => throw null;
public SqlMetaData(string name, System.Data.SqlDbType dbType, bool useServerDefault, bool isUniqueKey, System.Data.SqlClient.SortOrder columnSortOrder, int sortOrdinal) => throw null;
public SqlMetaData(string name, System.Data.SqlDbType dbType, byte precision, byte scale) => throw null;
public SqlMetaData(string name, System.Data.SqlDbType dbType, byte precision, byte scale, bool useServerDefault, bool isUniqueKey, System.Data.SqlClient.SortOrder columnSortOrder, int sortOrdinal) => throw null;
public SqlMetaData(string name, System.Data.SqlDbType dbType, long maxLength) => throw null;
public SqlMetaData(string name, System.Data.SqlDbType dbType, long maxLength, bool useServerDefault, bool isUniqueKey, System.Data.SqlClient.SortOrder columnSortOrder, int sortOrdinal) => throw null;
public SqlMetaData(string name, System.Data.SqlDbType dbType, long maxLength, byte precision, byte scale, long locale, System.Data.SqlTypes.SqlCompareOptions compareOptions, System.Type userDefinedType) => throw null;
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, System.Data.SqlClient.SortOrder columnSortOrder, int sortOrdinal) => throw null;
public SqlMetaData(string name, System.Data.SqlDbType dbType, long maxLength, long locale, System.Data.SqlTypes.SqlCompareOptions compareOptions) => throw null;
public SqlMetaData(string name, System.Data.SqlDbType dbType, long maxLength, long locale, System.Data.SqlTypes.SqlCompareOptions compareOptions, bool useServerDefault, bool isUniqueKey, System.Data.SqlClient.SortOrder columnSortOrder, int sortOrdinal) => throw null;
public SqlMetaData(string name, System.Data.SqlDbType dbType, string database, string owningSchema, string objectName) => throw null;
public SqlMetaData(string name, System.Data.SqlDbType dbType, string database, string owningSchema, string objectName, bool useServerDefault, bool isUniqueKey, System.Data.SqlClient.SortOrder columnSortOrder, int sortOrdinal) => throw null;
public SqlMetaData(string name, System.Data.SqlDbType dbType, System.Type userDefinedType) => throw null;
public SqlMetaData(string name, System.Data.SqlDbType dbType, System.Type userDefinedType, string serverTypeName) => throw null;
public SqlMetaData(string name, System.Data.SqlDbType dbType, System.Type userDefinedType, string serverTypeName, bool useServerDefault, bool isUniqueKey, System.Data.SqlClient.SortOrder columnSortOrder, int sortOrdinal) => throw null;
public System.Data.DbType DbType { get => throw null; }
public static Microsoft.SqlServer.Server.SqlMetaData InferFromValue(object value, string name) => 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 System.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; }
}
[System.AttributeUsage((System.AttributeTargets)64, AllowMultiple = false, Inherited = false)]
public sealed class SqlMethodAttribute : Microsoft.SqlServer.Server.SqlFunctionAttribute
{
public SqlMethodAttribute() => throw null;
public bool InvokeIfReceiverIsNull { get => throw null; set { } }
public bool IsMutator { get => throw null; set { } }
public bool OnNullCall { get => throw null; set { } }
}
[System.AttributeUsage((System.AttributeTargets)12, AllowMultiple = false, Inherited = false)]
public sealed class SqlUserDefinedAggregateAttribute : System.Attribute
{
public SqlUserDefinedAggregateAttribute(Microsoft.SqlServer.Server.Format format) => throw null;
public Microsoft.SqlServer.Server.Format Format { get => throw null; }
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 int MaxByteSize { get => throw null; set { } }
public const int MaxByteSizeValue = 8000;
public string Name { get => throw null; set { } }
}
[System.AttributeUsage((System.AttributeTargets)12, AllowMultiple = false, Inherited = true)]
public sealed class SqlUserDefinedTypeAttribute : System.Attribute
{
public SqlUserDefinedTypeAttribute(Microsoft.SqlServer.Server.Format format) => throw null;
public Microsoft.SqlServer.Server.Format Format { get => throw null; }
public bool IsByteOrdered { get => throw null; set { } }
public bool IsFixedLength { get => throw null; set { } }
public int MaxByteSize { get => throw null; set { } }
public string Name { get => throw null; set { } }
public string ValidationMethodName { get => throw null; set { } }
}
public enum SystemDataAccessKind
{
None = 0,
Read = 1,
}
}
}
}
namespace System
{
namespace Data
{
public sealed class OperationAbortedException : System.SystemException
{
}
namespace Sql
{
public sealed class SqlNotificationRequest
{
public SqlNotificationRequest() => throw null;
public SqlNotificationRequest(string userData, string options, int timeout) => throw null;
public string Options { get => throw null; set { } }
public int Timeout { get => throw null; set { } }
public string UserData { get => throw null; set { } }
}
}
namespace SqlClient
{
public enum ApplicationIntent
{
ReadWrite = 0,
ReadOnly = 1,
}
public delegate void OnChangeEventHandler(object sender, System.Data.SqlClient.SqlNotificationEventArgs e);
public enum PoolBlockingPeriod
{
Auto = 0,
AlwaysBlock = 1,
NeverBlock = 2,
}
public enum SortOrder
{
Unspecified = -1,
Ascending = 0,
Descending = 1,
}
public sealed class SqlBulkCopy : System.IDisposable
{
public int BatchSize { get => throw null; set { } }
public int BulkCopyTimeout { get => throw null; set { } }
public void Close() => throw null;
public System.Data.SqlClient.SqlBulkCopyColumnMappingCollection ColumnMappings { get => throw null; }
public SqlBulkCopy(System.Data.SqlClient.SqlConnection connection) => throw null;
public SqlBulkCopy(System.Data.SqlClient.SqlConnection connection, System.Data.SqlClient.SqlBulkCopyOptions copyOptions, System.Data.SqlClient.SqlTransaction externalTransaction) => throw null;
public SqlBulkCopy(string connectionString) => throw null;
public SqlBulkCopy(string connectionString, System.Data.SqlClient.SqlBulkCopyOptions copyOptions) => throw null;
public string DestinationTableName { get => throw null; set { } }
void System.IDisposable.Dispose() => throw null;
public bool EnableStreaming { get => throw null; set { } }
public int NotifyAfter { get => throw null; set { } }
public event System.Data.SqlClient.SqlRowsCopiedEventHandler SqlRowsCopied;
public void WriteToServer(System.Data.Common.DbDataReader reader) => throw null;
public void WriteToServer(System.Data.DataRow[] rows) => throw null;
public void WriteToServer(System.Data.DataTable table) => throw null;
public void WriteToServer(System.Data.DataTable table, System.Data.DataRowState rowState) => throw null;
public void WriteToServer(System.Data.IDataReader reader) => throw null;
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.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 class SqlBulkCopyColumnMapping
{
public SqlBulkCopyColumnMapping() => throw null;
public SqlBulkCopyColumnMapping(int sourceColumnOrdinal, int destinationOrdinal) => throw null;
public SqlBulkCopyColumnMapping(int sourceColumnOrdinal, string destinationColumn) => throw null;
public SqlBulkCopyColumnMapping(string sourceColumn, int destinationOrdinal) => throw null;
public SqlBulkCopyColumnMapping(string sourceColumn, string destinationColumn) => throw null;
public string DestinationColumn { get => throw null; set { } }
public int DestinationOrdinal { get => throw null; set { } }
public string SourceColumn { get => throw null; set { } }
public int SourceOrdinal { get => throw null; set { } }
}
public sealed class SqlBulkCopyColumnMappingCollection : System.Collections.CollectionBase
{
public System.Data.SqlClient.SqlBulkCopyColumnMapping Add(System.Data.SqlClient.SqlBulkCopyColumnMapping bulkCopyColumnMapping) => throw null;
public System.Data.SqlClient.SqlBulkCopyColumnMapping Add(int sourceColumnIndex, int destinationColumnIndex) => throw null;
public System.Data.SqlClient.SqlBulkCopyColumnMapping Add(int sourceColumnIndex, string destinationColumn) => throw null;
public System.Data.SqlClient.SqlBulkCopyColumnMapping Add(string sourceColumn, int destinationColumnIndex) => throw null;
public System.Data.SqlClient.SqlBulkCopyColumnMapping Add(string sourceColumn, string destinationColumn) => throw null;
public void Clear() => throw null;
public bool Contains(System.Data.SqlClient.SqlBulkCopyColumnMapping value) => throw null;
public void CopyTo(System.Data.SqlClient.SqlBulkCopyColumnMapping[] array, int index) => throw null;
public int IndexOf(System.Data.SqlClient.SqlBulkCopyColumnMapping value) => throw null;
public void Insert(int index, System.Data.SqlClient.SqlBulkCopyColumnMapping value) => throw null;
public void Remove(System.Data.SqlClient.SqlBulkCopyColumnMapping value) => throw null;
public void RemoveAt(int index) => throw null;
public System.Data.SqlClient.SqlBulkCopyColumnMapping this[int index] { get => throw null; }
}
[System.Flags]
public enum SqlBulkCopyOptions
{
Default = 0,
KeepIdentity = 1,
CheckConstraints = 2,
TableLock = 4,
KeepNulls = 8,
FireTriggers = 16,
UseInternalTransaction = 32,
}
public sealed class SqlClientFactory : System.Data.Common.DbProviderFactory
{
public override System.Data.Common.DbCommand CreateCommand() => throw null;
public override System.Data.Common.DbCommandBuilder CreateCommandBuilder() => throw null;
public override System.Data.Common.DbConnection CreateConnection() => throw null;
public override System.Data.Common.DbConnectionStringBuilder CreateConnectionStringBuilder() => throw null;
public override System.Data.Common.DbDataAdapter CreateDataAdapter() => throw null;
public override System.Data.Common.DbParameter CreateParameter() => throw null;
public static readonly System.Data.SqlClient.SqlClientFactory Instance;
}
public static class SqlClientMetaDataCollectionNames
{
public static readonly string Columns;
public static readonly string Databases;
public static readonly string ForeignKeys;
public static readonly string IndexColumns;
public static readonly string Indexes;
public static readonly string Parameters;
public static readonly string ProcedureColumns;
public static readonly string Procedures;
public static readonly string Tables;
public static readonly string UserDefinedTypes;
public static readonly string Users;
public static readonly string ViewColumns;
public static readonly string Views;
}
public sealed class SqlCommand : System.Data.Common.DbCommand, System.ICloneable
{
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() => throw null;
public System.Data.SqlClient.SqlCommand Clone() => throw null;
object System.ICloneable.Clone() => throw null;
public override string CommandText { get => throw null; set { } }
public override int CommandTimeout { get => throw null; set { } }
public override System.Data.CommandType CommandType { get => throw null; set { } }
public System.Data.SqlClient.SqlConnection Connection { get => throw null; set { } }
protected override System.Data.Common.DbParameter CreateDbParameter() => throw null;
public System.Data.SqlClient.SqlParameter CreateParameter() => throw null;
public SqlCommand() => throw null;
public SqlCommand(string cmdText) => throw null;
public SqlCommand(string cmdText, System.Data.SqlClient.SqlConnection connection) => throw null;
public SqlCommand(string cmdText, System.Data.SqlClient.SqlConnection connection, System.Data.SqlClient.SqlTransaction transaction) => throw null;
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 { } }
public override bool DesignTimeVisible { get => throw null; set { } }
protected override void Dispose(bool disposing) => throw null;
public int EndExecuteNonQuery(System.IAsyncResult asyncResult) => throw null;
public System.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<System.Data.Common.DbDataReader> ExecuteDbDataReaderAsync(System.Data.CommandBehavior behavior, System.Threading.CancellationToken cancellationToken) => throw null;
public override int ExecuteNonQuery() => throw null;
public override System.Threading.Tasks.Task<int> ExecuteNonQueryAsync(System.Threading.CancellationToken cancellationToken) => throw null;
public System.Data.SqlClient.SqlDataReader ExecuteReader() => throw null;
public System.Data.SqlClient.SqlDataReader ExecuteReader(System.Data.CommandBehavior behavior) => throw null;
public System.Threading.Tasks.Task<System.Data.SqlClient.SqlDataReader> ExecuteReaderAsync() => throw null;
public System.Threading.Tasks.Task<System.Data.SqlClient.SqlDataReader> ExecuteReaderAsync(System.Data.CommandBehavior behavior) => throw null;
public System.Threading.Tasks.Task<System.Data.SqlClient.SqlDataReader> ExecuteReaderAsync(System.Data.CommandBehavior behavior, System.Threading.CancellationToken cancellationToken) => throw null;
public System.Threading.Tasks.Task<System.Data.SqlClient.SqlDataReader> ExecuteReaderAsync(System.Threading.CancellationToken cancellationToken) => throw null;
public override object ExecuteScalar() => throw null;
public override System.Threading.Tasks.Task<object> ExecuteScalarAsync(System.Threading.CancellationToken cancellationToken) => throw null;
public System.Xml.XmlReader ExecuteXmlReader() => throw null;
public System.Threading.Tasks.Task<System.Xml.XmlReader> ExecuteXmlReaderAsync() => throw null;
public System.Threading.Tasks.Task<System.Xml.XmlReader> ExecuteXmlReaderAsync(System.Threading.CancellationToken cancellationToken) => throw null;
public System.Data.Sql.SqlNotificationRequest Notification { get => throw null; set { } }
public System.Data.SqlClient.SqlParameterCollection Parameters { get => throw null; }
public override void Prepare() => throw null;
public void ResetCommandTimeout() => throw null;
public event System.Data.StatementCompletedEventHandler StatementCompleted;
public System.Data.SqlClient.SqlTransaction Transaction { get => throw null; set { } }
public override System.Data.UpdateRowSource UpdatedRowSource { get => throw null; set { } }
}
public sealed class SqlCommandBuilder : System.Data.Common.DbCommandBuilder
{
protected override void ApplyParameterInfo(System.Data.Common.DbParameter parameter, System.Data.DataRow datarow, System.Data.StatementType statementType, bool whereClause) => throw null;
public override System.Data.Common.CatalogLocation CatalogLocation { get => throw null; set { } }
public override string CatalogSeparator { get => throw null; set { } }
public SqlCommandBuilder() => throw null;
public SqlCommandBuilder(System.Data.SqlClient.SqlDataAdapter adapter) => throw null;
public System.Data.SqlClient.SqlDataAdapter DataAdapter { get => throw null; set { } }
public static void DeriveParameters(System.Data.SqlClient.SqlCommand command) => throw null;
public System.Data.SqlClient.SqlCommand GetDeleteCommand() => throw null;
public System.Data.SqlClient.SqlCommand GetDeleteCommand(bool useColumnsForParameterNames) => throw null;
public System.Data.SqlClient.SqlCommand GetInsertCommand() => throw null;
public System.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;
protected override System.Data.DataTable GetSchemaTable(System.Data.Common.DbCommand srcCommand) => throw null;
public System.Data.SqlClient.SqlCommand GetUpdateCommand() => throw null;
public System.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;
public override string QuotePrefix { get => throw null; set { } }
public override string QuoteSuffix { get => throw null; set { } }
public override string SchemaSeparator { get => throw null; set { } }
protected override void SetRowUpdatingHandler(System.Data.Common.DbDataAdapter adapter) => throw null;
public override string UnquoteIdentifier(string quotedIdentifier) => throw null;
}
public sealed class SqlConnection : System.Data.Common.DbConnection, System.ICloneable
{
public string AccessToken { get => throw null; set { } }
protected override System.Data.Common.DbTransaction BeginDbTransaction(System.Data.IsolationLevel isolationLevel) => throw null;
public System.Data.SqlClient.SqlTransaction BeginTransaction() => throw null;
public System.Data.SqlClient.SqlTransaction BeginTransaction(System.Data.IsolationLevel iso) => throw null;
public System.Data.SqlClient.SqlTransaction BeginTransaction(System.Data.IsolationLevel iso, string transactionName) => throw null;
public System.Data.SqlClient.SqlTransaction BeginTransaction(string transactionName) => throw null;
public override void ChangeDatabase(string database) => throw null;
public static void ChangePassword(string connectionString, System.Data.SqlClient.SqlCredential credential, System.Security.SecureString newPassword) => throw null;
public static void ChangePassword(string connectionString, string newPassword) => throw null;
public static void ClearAllPools() => throw null;
public static void ClearPool(System.Data.SqlClient.SqlConnection connection) => throw null;
public System.Guid ClientConnectionId { get => throw null; }
object System.ICloneable.Clone() => throw null;
public override void Close() => throw null;
public override string ConnectionString { get => throw null; set { } }
public override int ConnectionTimeout { get => throw null; }
public System.Data.SqlClient.SqlCommand CreateCommand() => throw null;
protected override System.Data.Common.DbCommand CreateDbCommand() => throw null;
public System.Data.SqlClient.SqlCredential Credential { get => throw null; set { } }
public SqlConnection() => throw null;
public SqlConnection(string connectionString) => throw null;
public SqlConnection(string connectionString, System.Data.SqlClient.SqlCredential credential) => throw null;
public override string Database { get => throw null; }
public override string DataSource { get => throw null; }
protected override void Dispose(bool disposing) => throw null;
public bool FireInfoMessageEventOnUserErrors { get => throw null; set { } }
public override System.Data.DataTable GetSchema() => throw null;
public override System.Data.DataTable GetSchema(string collectionName) => throw null;
public override System.Data.DataTable GetSchema(string collectionName, string[] restrictionValues) => throw null;
public event System.Data.SqlClient.SqlInfoMessageEventHandler InfoMessage;
public override void Open() => throw null;
public override System.Threading.Tasks.Task OpenAsync(System.Threading.CancellationToken cancellationToken) => throw null;
public int PacketSize { get => throw null; }
public void ResetStatistics() => throw null;
public System.Collections.IDictionary RetrieveStatistics() => throw null;
public override string ServerVersion { get => throw null; }
public override System.Data.ConnectionState State { get => throw null; }
public bool StatisticsEnabled { get => throw null; set { } }
public string WorkstationId { get => throw null; }
}
public sealed class SqlConnectionStringBuilder : System.Data.Common.DbConnectionStringBuilder
{
public System.Data.SqlClient.ApplicationIntent ApplicationIntent { get => throw null; set { } }
public string ApplicationName { get => throw null; set { } }
public string AttachDBFilename { get => throw null; set { } }
public override void Clear() => throw null;
public int ConnectRetryCount { get => throw null; set { } }
public int ConnectRetryInterval { get => throw null; set { } }
public int ConnectTimeout { get => throw null; set { } }
public override bool ContainsKey(string keyword) => throw null;
public SqlConnectionStringBuilder() => throw null;
public SqlConnectionStringBuilder(string connectionString) => throw null;
public string CurrentLanguage { get => throw null; set { } }
public string DataSource { get => throw null; set { } }
public bool Encrypt { get => throw null; set { } }
public bool Enlist { get => throw null; set { } }
public string FailoverPartner { get => throw null; set { } }
public string InitialCatalog { get => throw null; set { } }
public bool IntegratedSecurity { get => throw null; set { } }
public override System.Collections.ICollection Keys { get => throw null; }
public int LoadBalanceTimeout { get => throw null; set { } }
public int MaxPoolSize { get => throw null; set { } }
public int MinPoolSize { get => throw null; set { } }
public bool MultipleActiveResultSets { get => throw null; set { } }
public bool MultiSubnetFailover { get => throw null; set { } }
public int PacketSize { get => throw null; set { } }
public string Password { get => throw null; set { } }
public bool PersistSecurityInfo { get => throw null; set { } }
public System.Data.SqlClient.PoolBlockingPeriod PoolBlockingPeriod { get => throw null; set { } }
public bool Pooling { get => throw null; set { } }
public override bool Remove(string keyword) => throw null;
public bool Replication { get => throw null; set { } }
public override bool ShouldSerialize(string keyword) => throw null;
public override object this[string keyword] { get => throw null; set { } }
public string TransactionBinding { get => throw null; set { } }
public bool TrustServerCertificate { get => throw null; set { } }
public override bool TryGetValue(string keyword, out object value) => throw null;
public string TypeSystemVersion { get => throw null; set { } }
public string UserID { get => throw null; set { } }
public bool UserInstance { get => throw null; set { } }
public override System.Collections.ICollection Values { get => throw null; }
public string WorkstationID { get => throw null; set { } }
}
public sealed class SqlCredential
{
public SqlCredential(string userId, System.Security.SecureString password) => throw null;
public System.Security.SecureString Password { get => throw null; }
public string UserId { get => throw null; }
}
public sealed class SqlDataAdapter : System.Data.Common.DbDataAdapter, System.ICloneable, System.Data.IDataAdapter, System.Data.IDbDataAdapter
{
object System.ICloneable.Clone() => throw null;
public SqlDataAdapter() => throw null;
public SqlDataAdapter(System.Data.SqlClient.SqlCommand selectCommand) => throw null;
public SqlDataAdapter(string selectCommandText, System.Data.SqlClient.SqlConnection selectConnection) => throw null;
public SqlDataAdapter(string selectCommandText, string selectConnectionString) => throw null;
public System.Data.SqlClient.SqlCommand DeleteCommand { get => throw null; set { } }
System.Data.IDbCommand System.Data.IDbDataAdapter.DeleteCommand { get => throw null; set { } }
public System.Data.SqlClient.SqlCommand InsertCommand { get => throw null; set { } }
System.Data.IDbCommand System.Data.IDbDataAdapter.InsertCommand { get => throw null; set { } }
protected override void OnRowUpdated(System.Data.Common.RowUpdatedEventArgs value) => throw null;
protected override void OnRowUpdating(System.Data.Common.RowUpdatingEventArgs value) => throw null;
public event System.Data.SqlClient.SqlRowUpdatedEventHandler RowUpdated;
public event System.Data.SqlClient.SqlRowUpdatingEventHandler RowUpdating;
public System.Data.SqlClient.SqlCommand SelectCommand { get => throw null; set { } }
System.Data.IDbCommand System.Data.IDbDataAdapter.SelectCommand { get => throw null; set { } }
public override int UpdateBatchSize { get => throw null; set { } }
System.Data.IDbCommand System.Data.IDbDataAdapter.UpdateCommand { get => throw null; set { } }
public System.Data.SqlClient.SqlCommand UpdateCommand { get => throw null; set { } }
}
public class SqlDataReader : System.Data.Common.DbDataReader, System.Data.Common.IDbColumnSchemaGenerator, System.IDisposable
{
protected System.Data.SqlClient.SqlConnection Connection { get => throw null; }
public override int Depth { get => throw null; }
public override int FieldCount { get => throw null; }
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;
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 System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Common.DbColumn> GetColumnSchema() => throw null;
public override string GetDataTypeName(int i) => throw null;
public override System.DateTime GetDateTime(int i) => throw null;
public virtual System.DateTimeOffset GetDateTimeOffset(int i) => throw null;
public override decimal GetDecimal(int i) => throw null;
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 T GetFieldValue<T>(int i) => throw null;
public override System.Threading.Tasks.Task<T> GetFieldValueAsync<T>(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;
public override int GetInt32(int i) => throw null;
public override long GetInt64(int i) => throw null;
public override string GetName(int i) => throw null;
public override int GetOrdinal(string name) => throw null;
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;
public virtual System.Data.SqlTypes.SqlBytes GetSqlBytes(int i) => throw null;
public virtual System.Data.SqlTypes.SqlChars GetSqlChars(int i) => throw null;
public virtual System.Data.SqlTypes.SqlDateTime GetSqlDateTime(int i) => throw null;
public virtual System.Data.SqlTypes.SqlDecimal GetSqlDecimal(int i) => throw null;
public virtual System.Data.SqlTypes.SqlDouble GetSqlDouble(int i) => throw null;
public virtual System.Data.SqlTypes.SqlGuid GetSqlGuid(int i) => throw null;
public virtual System.Data.SqlTypes.SqlInt16 GetSqlInt16(int i) => throw null;
public virtual System.Data.SqlTypes.SqlInt32 GetSqlInt32(int i) => throw null;
public virtual System.Data.SqlTypes.SqlInt64 GetSqlInt64(int i) => throw null;
public virtual System.Data.SqlTypes.SqlMoney GetSqlMoney(int i) => throw null;
public virtual System.Data.SqlTypes.SqlSingle GetSqlSingle(int i) => throw null;
public virtual System.Data.SqlTypes.SqlString GetSqlString(int i) => throw null;
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.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;
public virtual System.TimeSpan GetTimeSpan(int i) => throw null;
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 HasRows { get => throw null; }
public override bool IsClosed { get => throw null; }
protected bool IsCommandBehavior(System.Data.CommandBehavior condition) => throw null;
public override bool IsDBNull(int i) => throw null;
public override System.Threading.Tasks.Task<bool> IsDBNullAsync(int i, System.Threading.CancellationToken cancellationToken) => throw null;
public override bool NextResult() => throw null;
public override System.Threading.Tasks.Task<bool> NextResultAsync(System.Threading.CancellationToken cancellationToken) => throw null;
public override bool Read() => throw null;
public override System.Threading.Tasks.Task<bool> ReadAsync(System.Threading.CancellationToken cancellationToken) => throw null;
public override int RecordsAffected { get => throw null; }
public override object this[int i] { get => throw null; }
public override object this[string name] { get => throw null; }
public override int VisibleFieldCount { get => throw null; }
}
public sealed class SqlDependency
{
public void AddCommandDependency(System.Data.SqlClient.SqlCommand command) => throw null;
public SqlDependency() => throw null;
public SqlDependency(System.Data.SqlClient.SqlCommand command) => throw null;
public SqlDependency(System.Data.SqlClient.SqlCommand command, string options, int timeout) => throw null;
public bool HasChanges { get => throw null; }
public string Id { get => throw null; }
public event System.Data.SqlClient.OnChangeEventHandler OnChange;
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 class SqlError
{
public byte Class { get => throw null; }
public int LineNumber { get => throw null; }
public string Message { get => throw null; }
public int Number { get => throw null; }
public string Procedure { get => throw null; }
public string Server { get => throw null; }
public string Source { get => throw null; }
public byte State { get => throw null; }
public override string ToString() => throw null;
}
public sealed class SqlErrorCollection : System.Collections.ICollection, System.Collections.IEnumerable
{
public void CopyTo(System.Array array, int index) => throw null;
public void CopyTo(System.Data.SqlClient.SqlError[] array, int index) => throw null;
public int Count { get => throw null; }
public System.Collections.IEnumerator GetEnumerator() => throw null;
bool System.Collections.ICollection.IsSynchronized { get => throw null; }
object System.Collections.ICollection.SyncRoot { get => throw null; }
public System.Data.SqlClient.SqlError this[int index] { get => throw null; }
}
public sealed class SqlException : System.Data.Common.DbException
{
public byte Class { get => throw null; }
public System.Guid ClientConnectionId { get => throw null; }
public System.Data.SqlClient.SqlErrorCollection Errors { get => throw null; }
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo si, System.Runtime.Serialization.StreamingContext context) => throw null;
public int LineNumber { get => throw null; }
public int Number { get => throw null; }
public string Procedure { get => throw null; }
public string Server { get => throw null; }
public override string Source { get => throw null; }
public byte State { get => throw null; }
public override string ToString() => throw null;
}
public sealed class SqlInfoMessageEventArgs : System.EventArgs
{
public System.Data.SqlClient.SqlErrorCollection Errors { get => throw null; }
public string Message { get => throw null; }
public string Source { get => throw null; }
public override string ToString() => throw null;
}
public delegate void SqlInfoMessageEventHandler(object sender, System.Data.SqlClient.SqlInfoMessageEventArgs e);
public class SqlNotificationEventArgs : System.EventArgs
{
public SqlNotificationEventArgs(System.Data.SqlClient.SqlNotificationType type, System.Data.SqlClient.SqlNotificationInfo info, System.Data.SqlClient.SqlNotificationSource source) => throw null;
public System.Data.SqlClient.SqlNotificationInfo Info { get => throw null; }
public System.Data.SqlClient.SqlNotificationSource Source { get => throw null; }
public System.Data.SqlClient.SqlNotificationType Type { get => throw null; }
}
public enum SqlNotificationInfo
{
AlreadyChanged = -2,
Unknown = -1,
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,
}
public enum SqlNotificationSource
{
Client = -2,
Unknown = -1,
Data = 0,
Timeout = 1,
Object = 2,
Database = 3,
System = 4,
Statement = 5,
Environment = 6,
Execution = 7,
Owner = 8,
}
public enum SqlNotificationType
{
Unknown = -1,
Change = 0,
Subscribe = 1,
}
public sealed class SqlParameter : System.Data.Common.DbParameter, System.ICloneable
{
object System.ICloneable.Clone() => throw null;
public System.Data.SqlTypes.SqlCompareOptions CompareInfo { get => throw null; set { } }
public SqlParameter() => throw null;
public SqlParameter(string parameterName, System.Data.SqlDbType dbType) => throw null;
public SqlParameter(string parameterName, System.Data.SqlDbType dbType, int size) => throw null;
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) => throw null;
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) => throw null;
public SqlParameter(string parameterName, System.Data.SqlDbType dbType, int size, string sourceColumn) => throw null;
public SqlParameter(string parameterName, object value) => throw null;
public override System.Data.DbType DbType { get => throw null; set { } }
public override System.Data.ParameterDirection Direction { get => throw null; set { } }
public override bool IsNullable { get => throw null; set { } }
public int LocaleId { get => throw null; set { } }
public int Offset { get => throw null; set { } }
public override string ParameterName { get => throw null; set { } }
public byte Precision { get => throw null; set { } }
public override void ResetDbType() => throw null;
public void ResetSqlDbType() => throw null;
public 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 { } }
public System.Data.SqlDbType SqlDbType { get => throw null; set { } }
public object SqlValue { get => throw null; set { } }
public override string ToString() => throw null;
public string TypeName { get => throw null; set { } }
public string UdtTypeName { get => throw null; set { } }
public override object Value { get => throw null; set { } }
public string XmlSchemaCollectionDatabase { get => throw null; set { } }
public string XmlSchemaCollectionName { get => throw null; set { } }
public string XmlSchemaCollectionOwningSchema { get => throw null; set { } }
}
public sealed class SqlParameterCollection : System.Data.Common.DbParameterCollection
{
public System.Data.SqlClient.SqlParameter Add(System.Data.SqlClient.SqlParameter value) => throw null;
public override int Add(object value) => throw null;
public System.Data.SqlClient.SqlParameter Add(string parameterName, System.Data.SqlDbType sqlDbType) => throw null;
public System.Data.SqlClient.SqlParameter Add(string parameterName, System.Data.SqlDbType sqlDbType, int size) => throw null;
public System.Data.SqlClient.SqlParameter Add(string parameterName, System.Data.SqlDbType sqlDbType, int size, string sourceColumn) => throw null;
public override void AddRange(System.Array values) => throw null;
public void AddRange(System.Data.SqlClient.SqlParameter[] values) => throw null;
public System.Data.SqlClient.SqlParameter AddWithValue(string parameterName, object value) => throw null;
public override void Clear() => throw null;
public bool Contains(System.Data.SqlClient.SqlParameter value) => throw null;
public override bool Contains(object value) => throw null;
public override bool Contains(string value) => throw null;
public override void CopyTo(System.Array array, int index) => throw null;
public void CopyTo(System.Data.SqlClient.SqlParameter[] array, int index) => throw null;
public override int Count { get => throw null; }
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;
public int IndexOf(System.Data.SqlClient.SqlParameter value) => throw null;
public override int IndexOf(object value) => throw null;
public override int IndexOf(string parameterName) => throw null;
public void Insert(int index, System.Data.SqlClient.SqlParameter value) => throw null;
public override void Insert(int index, object value) => throw null;
public override bool IsFixedSize { get => throw null; }
public override bool IsReadOnly { get => throw null; }
public void Remove(System.Data.SqlClient.SqlParameter value) => throw null;
public override void Remove(object value) => throw null;
public override void RemoveAt(int index) => throw null;
public override void RemoveAt(string parameterName) => throw null;
protected override void SetParameter(int index, System.Data.Common.DbParameter value) => throw null;
protected override void SetParameter(string parameterName, System.Data.Common.DbParameter value) => throw null;
public override object SyncRoot { get => throw null; }
public System.Data.SqlClient.SqlParameter this[int index] { get => throw null; set { } }
public System.Data.SqlClient.SqlParameter this[string parameterName] { get => throw null; set { } }
}
public class SqlRowsCopiedEventArgs : System.EventArgs
{
public bool Abort { get => throw null; set { } }
public SqlRowsCopiedEventArgs(long rowsCopied) => throw null;
public long RowsCopied { get => throw null; }
}
public delegate void SqlRowsCopiedEventHandler(object sender, System.Data.SqlClient.SqlRowsCopiedEventArgs e);
public sealed class SqlRowUpdatedEventArgs : System.Data.Common.RowUpdatedEventArgs
{
public System.Data.SqlClient.SqlCommand Command { get => throw null; }
public SqlRowUpdatedEventArgs(System.Data.DataRow row, System.Data.IDbCommand command, System.Data.StatementType statementType, System.Data.Common.DataTableMapping tableMapping) : base(default(System.Data.DataRow), default(System.Data.IDbCommand), default(System.Data.StatementType), default(System.Data.Common.DataTableMapping)) => throw null;
}
public delegate void SqlRowUpdatedEventHandler(object sender, System.Data.SqlClient.SqlRowUpdatedEventArgs e);
public sealed class SqlRowUpdatingEventArgs : System.Data.Common.RowUpdatingEventArgs
{
protected override System.Data.IDbCommand BaseCommand { get => throw null; set { } }
public System.Data.SqlClient.SqlCommand Command { get => throw null; set { } }
public SqlRowUpdatingEventArgs(System.Data.DataRow row, System.Data.IDbCommand command, System.Data.StatementType statementType, System.Data.Common.DataTableMapping tableMapping) : base(default(System.Data.DataRow), default(System.Data.IDbCommand), default(System.Data.StatementType), default(System.Data.Common.DataTableMapping)) => throw null;
}
public delegate void SqlRowUpdatingEventHandler(object sender, System.Data.SqlClient.SqlRowUpdatingEventArgs e);
public sealed class SqlTransaction : System.Data.Common.DbTransaction
{
public override void Commit() => throw null;
public System.Data.SqlClient.SqlConnection Connection { get => throw null; }
protected override System.Data.Common.DbConnection DbConnection { get => throw null; }
protected override void Dispose(bool disposing) => throw null;
public override System.Data.IsolationLevel IsolationLevel { get => throw null; }
public override void Rollback() => throw null;
public void Rollback(string transactionName) => throw null;
public void Save(string savePointName) => throw null;
}
}
namespace SqlTypes
{
public sealed class SqlFileStream : System.IO.Stream
{
public override bool CanRead { get => throw null; }
public override bool CanSeek { get => throw null; }
public override bool CanWrite { get => throw null; }
public SqlFileStream(string path, byte[] transactionContext, System.IO.FileAccess access) => throw null;
public SqlFileStream(string path, byte[] transactionContext, System.IO.FileAccess access, System.IO.FileOptions options, long allocationSize) => throw null;
public override void Flush() => throw null;
public override long Length { get => throw null; }
public string Name { get => throw null; }
public override long Position { get => throw null; set { } }
public override int Read(byte[] buffer, int offset, int count) => throw null;
public override long Seek(long offset, System.IO.SeekOrigin origin) => throw null;
public override void SetLength(long value) => throw null;
public byte[] TransactionContext { get => throw null; }
public override void Write(byte[] buffer, int offset, int count) => throw null;
}
}
}
}