Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ADP.cs
Go to the documentation of this file.
8using System.Text;
11
13
14internal static class ADP
15{
48
49 private static Task<bool> _trueTask;
50
51 private static Task<bool> _falseTask;
52
54
56
58
60
62
63 private static readonly Type s_securityType = typeof(SecurityException);
64
65 internal static Task<bool> TrueTask => _trueTask ?? (_trueTask = Task.FromResult(result: true));
66
67 internal static Task<bool> FalseTask => _falseTask ?? (_falseTask = Task.FromResult(result: false));
68
70 {
71 return Task.FromCanceled<T>(new CancellationToken(canceled: true));
72 }
73
74 internal static void TraceExceptionForCapture(Exception e)
75 {
76 TraceException("<comm.ADP.TraceException|ERR|CATCH> '{0}'", e);
77 }
78
79 internal static DataException Data(string message)
80 {
81 DataException ex = new DataException(message);
83 return ex;
84 }
85
86 internal static void CheckArgumentLength(string value, string parameterName)
87 {
89 if (value.Length == 0)
90 {
92 }
93 }
94
95 internal static void CheckArgumentLength(Array value, string parameterName)
96 {
98 if (value.Length == 0)
99 {
101 }
102 }
103
108
113
118
123
128
133
138
143
148
153
158
163
168
173
178
183
188
190 {
191 return InvalidOperation(error);
192 }
193
198
203
212
217
222
227
232
237
242
247
252
257
262
267
269 {
271 }
272
277
278 internal static Exception InvalidSourceTable(string parameter)
279 {
281 }
282
287
292
294 {
295 return CollectionIndexInt32(index, collection.GetType(), collection.Count);
296 }
297
302
307
312
314 {
315 return CollectionUniqueValue(typeof(DataTableMapping), "SourceTable", srcTable);
316 }
317
322
324 {
325 string error;
327 {
329 }
330 else
331 {
332 switch (statementType)
333 {
334 case StatementType.Insert:
336 break;
337 case StatementType.Update:
339 break;
340 case StatementType.Delete:
342 break;
343 case StatementType.Batch:
345 goto default;
346 default:
348 }
349 }
350 return InvalidOperation(error);
351 }
352
354 {
355 return InvalidOperation("ADP_ConnectionRequired_" + method);
356 }
357
359 {
360 string resourceFormat = (isRowUpdatingCommand ? System.SR.ADP_OpenConnectionRequired_Clone : (statementType switch
361 {
362 StatementType.Insert => System.SR.ADP_OpenConnectionRequired_Insert,
363 StatementType.Update => System.SR.ADP_OpenConnectionRequired_Update,
364 StatementType.Delete => System.SR.ADP_OpenConnectionRequired_Delete,
366 }));
368 }
369
374
379
384
389
390 internal static Exception FillRequires(string parameter)
391 {
392 return ArgumentNull(parameter);
393 }
394
399
404
409
414
419
424
429
431 {
432 return ArgumentNull(parameter);
433 }
434
436 {
438 {
439 StatementType.Update => System.SR.ADP_UpdateConcurrencyViolation_Update,
440 StatementType.Delete => System.SR.ADP_UpdateConcurrencyViolation_Delete,
441 StatementType.Batch => System.SR.ADP_UpdateConcurrencyViolation_Batch,
442 _ => throw InvalidStatementType(statementType),
445 return ex;
446 }
447
449 {
450 string error = (isRowUpdatingCommand ? System.SR.ADP_UpdateRequiresCommandClone : (statementType switch
451 {
452 StatementType.Select => System.SR.ADP_UpdateRequiresCommandSelect,
453 StatementType.Insert => System.SR.ADP_UpdateRequiresCommandInsert,
454 StatementType.Update => System.SR.ADP_UpdateRequiresCommandUpdate,
455 StatementType.Delete => System.SR.ADP_UpdateRequiresCommandDelete,
457 }));
458 return InvalidOperation(error);
459 }
460
465
467 {
468 return Data(System.SR.ADP_RowUpdatedErrors);
469 }
470
472 {
473 return Data(System.SR.ADP_RowUpdatingErrors);
474 }
475
480
485
490
495
500
505
510
511 internal static InvalidOperationException DynamicSQLNestedQuote(string name, string quote)
512 {
514 }
515
520
525
530
532 {
533 int num = 0;
534 int num2 = 0;
535 int num3 = 0;
537 foreach (DataRow item in rows)
538 {
539 switch (item.RowState)
540 {
541 case DataRowState.Added:
542 num++;
543 break;
544 case DataRowState.Deleted:
545 num2++;
546 break;
547 case DataRowState.Modified:
548 num3++;
549 break;
550 }
551 }
552 DataRow[] array = new DataRow[num + num2 + num3];
553 if (sorted)
554 {
555 num3 = num + num2;
556 num2 = num;
557 num = 0;
558 foreach (DataRow item2 in rows)
559 {
560 switch (item2.RowState)
561 {
562 case DataRowState.Added:
563 array[num++] = item2;
564 break;
565 case DataRowState.Deleted:
566 array[num2++] = item2;
567 break;
568 case DataRowState.Modified:
569 array[num3++] = item2;
570 break;
571 }
572 }
573 }
574 else
575 {
576 int num4 = 0;
577 foreach (DataRow item3 in rows)
578 {
579 if ((item3.RowState & (DataRowState.Added | DataRowState.Deleted | DataRowState.Modified)) != 0)
580 {
581 array[num4++] = item3;
582 if (num4 == array.Length)
583 {
584 break;
585 }
586 }
587 }
588 }
589 return array;
590 }
591
592 internal static void BuildSchemaTableInfoTableNames(string[] columnNameArray)
593 {
595 int num = columnNameArray.Length;
596 int num2 = columnNameArray.Length - 1;
597 while (0 <= num2)
598 {
599 string text = columnNameArray[num2];
600 if (text != null && 0 < text.Length)
601 {
602 text = text.ToLowerInvariant();
603 if (dictionary.TryGetValue(text, out var value))
604 {
605 num = Math.Min(num, value);
606 }
608 }
609 else
610 {
611 columnNameArray[num2] = string.Empty;
612 num = num2;
613 }
614 num2--;
615 }
616 int uniqueIndex = 1;
617 for (int i = num; i < columnNameArray.Length; i++)
618 {
619 string text2 = columnNameArray[i];
620 if (text2.Length == 0)
621 {
622 columnNameArray[i] = "Column";
624 continue;
625 }
626 text2 = text2.ToLowerInvariant();
627 if (i != dictionary[text2])
628 {
630 }
631 }
632 }
633
635 {
636 string text;
637 while (true)
638 {
640 string key = text.ToLowerInvariant();
641 if (hash.TryAdd(key, index))
642 {
643 break;
644 }
645 uniqueIndex++;
646 }
648 return uniqueIndex;
649 }
650
651 internal static int SrcCompare(string strA, string strB)
652 {
653 if (!(strA == strB))
654 {
655 return 1;
656 }
657 return 0;
658 }
659
660 private static void TraceException(string trace, Exception e)
661 {
662 if (e != null)
663 {
665 }
666 }
667
669 {
670 TraceException("<comm.ADP.TraceException|ERR|THROW> '{0}'", e);
671 }
672
674 {
675 TraceException("<comm.ADP.TraceException|ERR|CATCH> '%ls'\n", e);
676 }
677
678 internal static ArgumentException Argument(string error)
679 {
682 return ex;
683 }
684
685 internal static ArgumentException Argument(string error, Exception inner)
686 {
689 return ex;
690 }
691
692 internal static ArgumentException Argument(string error, string parameter)
693 {
696 return ex;
697 }
698
705
712
719
726
733
734 internal static InvalidCastException InvalidCast(string error)
735 {
736 return InvalidCast(error, null);
737 }
738
739 internal static InvalidCastException InvalidCast(string error, Exception inner)
740 {
743 return ex;
744 }
745
752
759
766
771
773 {
774 return InvalidOperation(error);
775 }
776
778 {
779 return InvalidOperation(error);
780 }
781
782 internal static void CheckArgumentNull([NotNull] object value, string parameterName)
783 {
784 if (value == null)
785 {
787 }
788 }
789
790 internal static bool IsCatchableExceptionType(Exception e)
791 {
792 Type type = e.GetType();
794 {
795 return !s_securityType.IsAssignableFrom(type);
796 }
797 return false;
798 }
799
801 {
802 Type type = e.GetType();
804 {
805 return type != s_accessViolationType;
806 }
807 return false;
808 }
809
814
819
824
829
834
839
844
849
854
856 {
857 switch (state)
858 {
859 case ConnectionState.Closed:
860 case ConnectionState.Connecting | ConnectionState.Broken:
862 case ConnectionState.Connecting:
864 case ConnectionState.Open:
866 case ConnectionState.Open | ConnectionState.Executing:
868 case ConnectionState.Open | ConnectionState.Fetching:
870 default:
872 }
873 }
874
879
880 internal static string BuildQuotedString(string quotePrefix, string quoteSuffix, string unQuotedString)
881 {
884 return stringBuilder.ToString();
885 }
886
887 internal static string AppendQuotedString(StringBuilder buffer, string quotePrefix, string quoteSuffix, string unQuotedString)
888 {
889 if (!string.IsNullOrEmpty(quotePrefix))
890 {
891 buffer.Append(quotePrefix);
892 }
893 if (!string.IsNullOrEmpty(quoteSuffix))
894 {
895 int length = buffer.Length;
896 buffer.Append(unQuotedString);
898 buffer.Append(quoteSuffix);
899 }
900 else
901 {
902 buffer.Append(unQuotedString);
903 }
904 return buffer.ToString();
905 }
906
911
916
921
926
931
936
941
946
947 internal static bool CompareInsensitiveInvariant(string strvalue, string strconst)
948 {
949 return CultureInfo.InvariantCulture.CompareInfo.Compare(strvalue, strconst, CompareOptions.IgnoreCase) == 0;
950 }
951
952 internal static int DstCompare(string strA, string strB)
953 {
954 return CultureInfo.CurrentCulture.CompareInfo.Compare(strA, strB, CompareOptions.IgnoreCase | CompareOptions.IgnoreKanaType | CompareOptions.IgnoreWidth);
955 }
956
957 internal static bool IsNull(object value)
958 {
959 if (value == null || DBNull.Value == value)
960 {
961 return true;
962 }
964 {
965 return nullable.IsNull;
966 }
967 return false;
968 }
969
974}
bool TryAdd(TKey key, TValue value)
static readonly DBNull Value
Definition DBNull.cs:8
static ArgumentException UpdateMismatchRowTable(int i)
Definition ADP.cs:461
static IndexOutOfRangeException InvalidBufferSizeOrIndex(int numBytes, int bufferIndex)
Definition ADP.cs:937
static ArgumentException ParametersIsParent(Type parameterType, ICollection collection)
Definition ADP.cs:912
static ArgumentOutOfRangeException InvalidEnumerationValue(Type type, int value)
Definition ADP.cs:810
static InvalidOperationException DynamicSQLNoKeyInfoUpdate()
Definition ADP.cs:496
static Exception ColumnsUniqueSourceColumn(string srcColumn)
Definition ADP.cs:268
static InvalidOperationException DataAdapter(string error)
Definition ADP.cs:772
static Exception ColumnsIsParent(ICollection collection)
Definition ADP.cs:263
static ArgumentOutOfRangeException InvalidLoadOption(LoadOption value)
Definition ADP.cs:124
static string BuildQuotedString(string quotePrefix, string quoteSuffix, string unQuotedString)
Definition ADP.cs:880
static ArgumentException Argument(string error)
Definition ADP.cs:678
static int GenerateUniqueName(Dictionary< string, int > hash, ref string columnName, int index, int uniqueIndex)
Definition ADP.cs:634
static ArgumentNullException ArgumentNull(string parameter)
Definition ADP.cs:699
static int SrcCompare(string strA, string strB)
Definition ADP.cs:651
static readonly Type s_outOfMemoryType
Definition ADP.cs:55
static Exception TablesIndexInt32(int index, ITableMappingCollection collection)
Definition ADP.cs:293
static Exception InternalError(InternalErrorCode internalError)
Definition ADP.cs:917
static ArgumentOutOfRangeException InvalidSchemaType(SchemaType value)
Definition ADP.cs:144
static InvalidOperationException MissingSourceCommand()
Definition ADP.cs:521
static ArgumentOutOfRangeException InvalidDataRowState(DataRowState value)
Definition ADP.cs:119
static ArgumentOutOfRangeException ArgumentOutOfRange(string parameterName)
Definition ADP.cs:713
static int DstCompare(string strA, string strB)
Definition ADP.cs:952
static bool CompareInsensitiveInvariant(string strvalue, string strconst)
Definition ADP.cs:947
static Exception UpdateConcurrencyViolation(StatementType statementType, int affected, int expected, DataRow[] dataRows)
Definition ADP.cs:435
static string ConnectionStateMsg(ConnectionState state)
Definition ADP.cs:855
static Exception NotADataColumnMapping(object value)
Definition ADP.cs:273
static Exception FillChapterAutoIncrement()
Definition ADP.cs:400
static Exception ColumnsIndexSource(string srcColumn)
Definition ADP.cs:253
static ArgumentOutOfRangeException NotSupportedStatementType(StatementType value, string method)
Definition ADP.cs:159
static Exception ColumnsDataSetColumn(string cacheColumn)
Definition ADP.cs:243
static ArgumentOutOfRangeException InvalidStatementType(StatementType value)
Definition ADP.cs:149
static ArgumentNullException UpdateRequiresNonNullDataSet(string parameter)
Definition ADP.cs:415
static Exception StreamClosed([CallerMemberName] string method="")
Definition ADP.cs:875
static ArgumentNullException CollectionNullValue(string parameter, Type collection, Type itemType)
Definition ADP.cs:835
static Task< T > CreatedTaskWithCancellation< T >()
Definition ADP.cs:69
static InvalidOperationException DynamicSQLNoTableInfo()
Definition ADP.cs:486
static ArgumentOutOfRangeException InvalidSourceBufferIndex(int maxLen, long srcOffset, string parameterName)
Definition ADP.cs:927
static ArgumentException Argument(string error, Exception inner)
Definition ADP.cs:685
static InvalidOperationException DataMapping(string error)
Definition ADP.cs:189
static InvalidOperationException DynamicSQLNoKeyInfoRowVersionUpdate()
Definition ADP.cs:506
static DataException Data(string message)
Definition ADP.cs:79
static IndexOutOfRangeException CollectionIndexString(Type itemType, string propertyName, string propertyValue, Type collection)
Definition ADP.cs:845
static Exception TablesIsNotParent(ICollection collection)
Definition ADP.cs:298
static Exception FillSchemaRequiresSourceTableName(string parameter)
Definition ADP.cs:375
static void TraceException(string trace, Exception e)
Definition ADP.cs:660
static InvalidOperationException MissingSelectCommand(string method)
Definition ADP.cs:184
static ArgumentOutOfRangeException InvalidCatalogLocation(CatalogLocation value)
Definition ADP.cs:109
static DataRow[] SelectAdapterRows(DataTable dataTable, bool sorted)
Definition ADP.cs:531
static Exception TablesSourceIndex(string srcTable)
Definition ADP.cs:308
static IndexOutOfRangeException CollectionIndexInt32(int index, Type collection, int count)
Definition ADP.cs:840
static void TraceExceptionForCapture(Exception e)
Definition ADP.cs:74
static Exception NotADataTableMapping(object value)
Definition ADP.cs:318
static Exception TablesUniqueSourceTable(string srcTable)
Definition ADP.cs:313
static Task< bool > _falseTask
Definition ADP.cs:51
static ArgumentOutOfRangeException InvalidRule(Rule value)
Definition ADP.cs:139
static InvalidOperationException ConnectionRequired_Res(string method)
Definition ADP.cs:353
static InvalidOperationException ColumnSchemaMissing(string cacheColumn, string tableName, string srcColumn)
Definition ADP.cs:204
static ArgumentOutOfRangeException ArgumentOutOfRange(string message, string parameterName)
Definition ADP.cs:720
static InvalidOperationException NoQuoteChange()
Definition ADP.cs:516
static ArgumentOutOfRangeException InvalidDestinationBufferIndex(int maxLen, int dstOffset, string parameterName)
Definition ADP.cs:932
static DataException RowUpdatedErrors()
Definition ADP.cs:466
static ArgumentOutOfRangeException InvalidUpdateStatus(UpdateStatus value)
Definition ADP.cs:154
static InvalidOperationException ColumnSchemaExpression(string srcColumn, string cacheColumn)
Definition ADP.cs:194
static ArgumentException ConnectionStringSyntax(int index)
Definition ADP.cs:815
static Task< bool > _trueTask
Definition ADP.cs:49
static Exception ColumnsAddNullAttempt(string parameter)
Definition ADP.cs:238
static InvalidOperationException MissingDataReaderFieldType(int index)
Definition ADP.cs:405
static InvalidOperationException MissingSourceCommandConnection()
Definition ADP.cs:526
static InvalidOperationException ColumnSchemaMismatch(string srcColumn, Type srcType, DataColumn column)
Definition ADP.cs:199
static readonly Type s_nullReferenceType
Definition ADP.cs:59
static InvalidOperationException MissingTableMappingDestination(string dstTable)
Definition ADP.cs:228
static NotSupportedException NotSupported()
Definition ADP.cs:753
static readonly Type s_stackOverflowType
Definition ADP.cs:53
static InvalidCastException InvalidCast(string error, Exception inner)
Definition ADP.cs:739
static InvalidOperationException UpdateOpenConnectionRequired(StatementType statementType, bool isRowUpdatingCommand, ConnectionState state)
Definition ADP.cs:358
static Task< bool > FalseTask
Definition ADP.cs:67
static Exception TablesIsParent(ICollection collection)
Definition ADP.cs:303
static InvalidOperationException UpdateRequiresSourceTable(string defaultSrcTableName)
Definition ADP.cs:420
static Exception InvalidMaxRecords(string parameter, int max)
Definition ADP.cs:380
static ArgumentOutOfRangeException NotSupportedEnumerationValue(Type type, string value, string method)
Definition ADP.cs:767
static ArgumentException InvalidValue(string parameterName)
Definition ADP.cs:169
static DataException RowUpdatingErrors()
Definition ADP.cs:471
static ArgumentException ConvertFailed(Type fromType, Type toType, Exception innerException)
Definition ADP.cs:825
static Task< bool > TrueTask
Definition ADP.cs:65
static NotSupportedException NotSupported(string error)
Definition ADP.cs:760
static Exception FillRequires(string parameter)
Definition ADP.cs:390
static ArgumentException InvalidKeyname(string parameterName)
Definition ADP.cs:164
static void TraceExceptionAsReturnValue(Exception e)
Definition ADP.cs:668
static InvalidOperationException DynamicSQLNoKeyInfoRowVersionDelete()
Definition ADP.cs:501
static ArgumentException UnwantedStatementType(StatementType statementType)
Definition ADP.cs:370
static InvalidOperationException UpdateConnectionRequired(StatementType statementType, bool isRowUpdatingCommand)
Definition ADP.cs:323
static Exception DataReaderClosed([CallerMemberName] string method="")
Definition ADP.cs:922
static Exception CollectionUniqueValue(Type itemType, string propertyName, string propertyValue)
Definition ADP.cs:179
static ArgumentException CollectionRemoveInvalidObject(Type itemType, ICollection collection)
Definition ADP.cs:830
static ArgumentNullException UpdateRequiresDataTable(string parameter)
Definition ADP.cs:430
static Exception WrongType(Type got, Type expected)
Definition ADP.cs:174
static void BuildSchemaTableInfoTableNames(string[] columnNameArray)
Definition ADP.cs:592
static InvalidCastException CollectionInvalidType(Type collection, Type itemType, object invalidValue)
Definition ADP.cs:850
static InvalidOperationException MissingTableSchema(string cacheTable, string srcTable)
Definition ADP.cs:218
static InvalidOperationException Provider(string error)
Definition ADP.cs:777
static Exception InvalidSourceTable(string parameter)
Definition ADP.cs:278
static IndexOutOfRangeException IndexOutOfRange(string error)
Definition ADP.cs:727
static InvalidOperationException MissingTableMapping(string srcTable)
Definition ADP.cs:223
static InvalidOperationException UpdateRequiresCommand(StatementType statementType, bool isRowUpdatingCommand)
Definition ADP.cs:448
static Exception ColumnsIndexInt32(int index, IColumnMappingCollection collection)
Definition ADP.cs:248
static ArgumentOutOfRangeException InvalidMissingSchemaAction(MissingSchemaAction value)
Definition ADP.cs:134
static readonly Type s_threadAbortType
Definition ADP.cs:57
static InvalidOperationException MissingColumnMapping(string srcColumn)
Definition ADP.cs:213
static InvalidCastException InvalidCast(string error)
Definition ADP.cs:734
static Exception FillRequiresSourceTableName(string parameter)
Definition ADP.cs:395
static string AppendQuotedString(StringBuilder buffer, string quotePrefix, string quoteSuffix, string unQuotedString)
Definition ADP.cs:887
static Exception TablesAddNullAttempt(string parameter)
Definition ADP.cs:283
static void CheckArgumentNull([NotNull] object value, string parameterName)
Definition ADP.cs:782
static InvalidOperationException DynamicSQLNestedQuote(string name, string quote)
Definition ADP.cs:511
static InvalidOperationException UpdateRequiresSourceTableName(string srcTable)
Definition ADP.cs:425
static Exception InvalidSeekOrigin(string parameterName)
Definition ADP.cs:970
static bool IsCatchableExceptionType(Exception e)
Definition ADP.cs:790
static readonly Type s_securityType
Definition ADP.cs:63
static Exception TablesDataSetTable(string cacheTable)
Definition ADP.cs:288
static ArgumentException KeywordNotSupported(string keyword)
Definition ADP.cs:820
static bool IsCatchableOrSecurityExceptionType(Exception e)
Definition ADP.cs:800
static InvalidOperationException DynamicSQLJoinUnsupported()
Definition ADP.cs:481
static Exception InvalidSourceColumn(string parameter)
Definition ADP.cs:233
static ArgumentOutOfRangeException InvalidAcceptRejectRule(AcceptRejectRule value)
Definition ADP.cs:104
static InvalidOperationException InvalidOperation(string error)
Definition ADP.cs:746
static InvalidOperationException ResultsNotAllowedDuringBatch()
Definition ADP.cs:476
static ArgumentOutOfRangeException InvalidMissingMappingAction(MissingMappingAction value)
Definition ADP.cs:129
static void TraceExceptionWithoutRethrow(Exception e)
Definition ADP.cs:673
static readonly Type s_accessViolationType
Definition ADP.cs:61
static bool IsNull(object value)
Definition ADP.cs:957
static ArgumentException Argument(string error, string parameter)
Definition ADP.cs:692
static ArgumentException ParametersIsNotParent(Type parameterType, ICollection collection)
Definition ADP.cs:907
static Exception InvalidDataLength(long length)
Definition ADP.cs:942
static Exception ColumnsIsNotParent(ICollection collection)
Definition ADP.cs:258
static void CheckArgumentLength(string value, string parameterName)
Definition ADP.cs:86
static InvalidOperationException OnlyOneTableForStartRecordOrMaxRecords()
Definition ADP.cs:410
static InvalidOperationException DynamicSQLNoKeyInfoDelete()
Definition ADP.cs:491
static ArgumentOutOfRangeException InvalidConflictOptions(ConflictOption value)
Definition ADP.cs:114
static Exception InvalidStartRecord(string parameter, int start)
Definition ADP.cs:385
static ArgumentNullException ArgumentNull(string parameter, string error)
Definition ADP.cs:706
static void CheckArgumentLength(Array value, string parameterName)
Definition ADP.cs:95
static readonly DataCommonEventSource Log
new Type GetType()
Definition Exception.cs:437
static CultureInfo CurrentCulture
static CultureInfo InvariantCulture
static byte Min(byte val1, byte val2)
Definition Math.cs:912
static string ADP_CollectionNullValue
Definition SR.cs:20
static string ADP_InternalProviderError
Definition SR.cs:724
static string ADP_OnlyOneTableForStartRecordOrMaxRecords
Definition SR.cs:782
static string ADP_MissingSourceCommand
Definition SR.cs:728
static string ADP_InvalidSourceBufferIndex
Definition SR.cs:812
static string SqlConvert_ConvertFailed
Definition SR.cs:638
static string ADP_CollectionIsNotParent
Definition SR.cs:18
static string ADP_KeywordNotSupported
Definition SR.cs:722
static string ADP_ConnectionRequired_Batch
Definition SR.cs:758
static string SQL_InvalidDataLength
Definition SR.cs:836
static string ADP_EmptyString
Definition SR.cs:42
static string ADP_UpdateRequiresSourceTable
Definition SR.cs:784
static string ADP_ConnectionRequired_Update
Definition SR.cs:754
static string ADP_RowUpdatedErrors
Definition SR.cs:800
static string ADP_ConnectionStateMsg_OpenExecuting
Definition SR.cs:32
static string SQL_InvalidBufferSizeOrIndex
Definition SR.cs:834
static string ADP_MissingTableSchema
Definition SR.cs:746
static string ADP_OpenConnectionRequired_Update
Definition SR.cs:764
static string ADP_StreamClosed
Definition SR.cs:816
static string ADP_FillChapterAutoIncrement
Definition SR.cs:778
static string ADP_ColumnSchemaMissing2
Definition SR.cs:738
static string ADP_NoQuoteChange
Definition SR.cs:726
static string ADP_OpenConnectionRequired_Delete
Definition SR.cs:766
static string ADP_UpdateRequiresCommandInsert
Definition SR.cs:792
static string ADP_NotSupportedEnumerationValue
Definition SR.cs:744
static string ADP_RowUpdatingErrors
Definition SR.cs:802
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
static string ADP_FillSchemaRequiresSourceTableName
Definition SR.cs:774
static string ADP_DynamicSQLNoKeyInfoRowVersionUpdate
Definition SR.cs:830
static string ADP_MissingColumnMapping
Definition SR.cs:742
static string ADP_EmptyArray
Definition SR.cs:718
static string ADP_CollectionIndexString
Definition SR.cs:14
static string ADP_InvalidEnumerationValue
Definition SR.cs:44
static string ADP_ColumnSchemaMissing1
Definition SR.cs:736
static string ADP_MissingSelectCommand
Definition SR.cs:770
static string ADP_MissingTableMappingDestination
Definition SR.cs:896
static string ADP_FillRequiresSourceTableName
Definition SR.cs:776
static string ADP_ColumnSchemaMismatch
Definition SR.cs:734
static string ADP_DynamicSQLNoTableInfo
Definition SR.cs:822
static string ADP_UpdateMismatchRowTable
Definition SR.cs:798
static string ADP_ConnectionStateMsg_Connecting
Definition SR.cs:28
static string ADP_UpdateRequiresSourceTableName
Definition SR.cs:786
static string ADP_ConnectionRequired_Delete
Definition SR.cs:756
static string ADP_DynamicSQLNoKeyInfoDelete
Definition SR.cs:824
static string ADP_CollectionIndexInt32
Definition SR.cs:894
static string ADP_MissingSourceCommandConnection
Definition SR.cs:730
static string ADP_OpenConnectionRequired_Insert
Definition SR.cs:762
static string ADP_UpdateRequiresCommandDelete
Definition SR.cs:796
static string ADP_ConnectionRequired_Insert
Definition SR.cs:752
static string ADP_DynamicSQLNestedQuote
Definition SR.cs:832
static string ADP_ConnectionRequired_Clone
Definition SR.cs:760
static string ADP_InvalidDestinationBufferIndex
Definition SR.cs:814
static string ADP_MissingTableMapping
Definition SR.cs:750
static string ADP_CollectionInvalidType
Definition SR.cs:16
static string ADP_InvalidMaxRecords
Definition SR.cs:892
static string ADP_CollectionRemoveInvalidObject
Definition SR.cs:22
static string ADP_UpdateRequiresCommandSelect
Definition SR.cs:790
static string ADP_InvalidValue
Definition SR.cs:48
static string SQL_WrongType
Definition SR.cs:720
static string ADP_ColumnSchemaExpression
Definition SR.cs:732
static string ADP_ResultsNotAllowedDuringBatch
Definition SR.cs:804
static string ADP_InvalidSeekOrigin
Definition SR.cs:818
static string ADP_ConnectionStringSyntax
Definition SR.cs:38
static string ADP_DynamicSQLJoinUnsupported
Definition SR.cs:820
static string ADP_UpdateRequiresCommandUpdate
Definition SR.cs:794
static string ADP_CollectionUniqueValue
Definition SR.cs:24
static string ADP_InvalidKey
Definition SR.cs:46
static string ADP_DynamicSQLNoKeyInfoRowVersionDelete
Definition SR.cs:828
static string ADP_DataReaderClosed
Definition SR.cs:40
static string ADP_InvalidStartRecord
Definition SR.cs:898
static string ADP_DynamicSQLNoKeyInfoUpdate
Definition SR.cs:826
static string ADP_MissingDataReaderFieldType
Definition SR.cs:780
static string ADP_ConnectionStateMsg_OpenFetching
Definition SR.cs:34
static string ADP_ConnectionStateMsg_Closed
Definition SR.cs:26
static string ADP_ConnectionStateMsg
Definition SR.cs:36
static string ADP_ConnectionStateMsg_Open
Definition SR.cs:30
static string ADP_InvalidSourceTable
Definition SR.cs:748
static string ADP_InvalidSourceColumn
Definition SR.cs:740
static string ADP_UnwantedStatementType
Definition SR.cs:772
Definition SR.cs:7
static Task FromCanceled(CancellationToken cancellationToken)
Definition Task.cs:3363