Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Data.Common.ADP Class Reference

Package Types

enum  InternalErrorCode {
  UnpooledObjectHasOwner = 0 , UnpooledObjectHasWrongOwner = 1 , PushingObjectSecondTime = 2 , PooledObjectHasOwner = 3 ,
  PooledObjectInPoolMoreThanOnce = 4 , CreateObjectReturnedNull = 5 , NewObjectCannotBePooled = 6 , NonPooledObjectUsedMoreThanOnce = 7 ,
  AttemptingToPoolOnRestrictedToken = 8 , ConvertSidToStringSidWReturnedNull = 10 , AttemptingToConstructReferenceCollectionOnStaticObject = 12 , AttemptingToEnlistTwice = 13 ,
  CreateReferenceCollectionReturnedNull = 14 , PooledObjectWithoutPool = 15 , UnexpectedWaitAnyResult = 16 , SynchronousConnectReturnedPending = 17 ,
  CompletedConnectReturnedPending = 18 , NameValuePairNext = 20 , InvalidParserState1 = 21 , InvalidParserState2 = 22 ,
  InvalidParserState3 = 23 , InvalidBuffer = 30 , UnimplementedSMIMethod = 40 , InvalidSmiCall = 41 ,
  SqlDependencyObtainProcessDispatcherFailureObjectHandle = 50 , SqlDependencyProcessDispatcherFailureCreateInstance = 51 , SqlDependencyProcessDispatcherFailureAppDomain = 52 , SqlDependencyCommandHashIsNotAssociatedWithNotification = 53 ,
  UnknownTransactionFailure = 60
}
 

Static Package Functions

static Task< TCreatedTaskWithCancellation< T > ()
 
static void TraceExceptionForCapture (Exception e)
 
static DataException Data (string message)
 
static void CheckArgumentLength (string value, string parameterName)
 
static void CheckArgumentLength (Array value, string parameterName)
 
static ArgumentOutOfRangeException InvalidAcceptRejectRule (AcceptRejectRule value)
 
static ArgumentOutOfRangeException InvalidCatalogLocation (CatalogLocation value)
 
static ArgumentOutOfRangeException InvalidConflictOptions (ConflictOption value)
 
static ArgumentOutOfRangeException InvalidDataRowState (DataRowState value)
 
static ArgumentOutOfRangeException InvalidLoadOption (LoadOption value)
 
static ArgumentOutOfRangeException InvalidMissingMappingAction (MissingMappingAction value)
 
static ArgumentOutOfRangeException InvalidMissingSchemaAction (MissingSchemaAction value)
 
static ArgumentOutOfRangeException InvalidRule (Rule value)
 
static ArgumentOutOfRangeException InvalidSchemaType (SchemaType value)
 
static ArgumentOutOfRangeException InvalidStatementType (StatementType value)
 
static ArgumentOutOfRangeException InvalidUpdateStatus (UpdateStatus value)
 
static ArgumentOutOfRangeException NotSupportedStatementType (StatementType value, string method)
 
static ArgumentException InvalidKeyname (string parameterName)
 
static ArgumentException InvalidValue (string parameterName)
 
static Exception WrongType (Type got, Type expected)
 
static Exception CollectionUniqueValue (Type itemType, string propertyName, string propertyValue)
 
static InvalidOperationException MissingSelectCommand (string method)
 
static InvalidOperationException ColumnSchemaExpression (string srcColumn, string cacheColumn)
 
static InvalidOperationException ColumnSchemaMismatch (string srcColumn, Type srcType, DataColumn column)
 
static InvalidOperationException ColumnSchemaMissing (string cacheColumn, string tableName, string srcColumn)
 
static InvalidOperationException MissingColumnMapping (string srcColumn)
 
static InvalidOperationException MissingTableSchema (string cacheTable, string srcTable)
 
static InvalidOperationException MissingTableMapping (string srcTable)
 
static InvalidOperationException MissingTableMappingDestination (string dstTable)
 
static Exception InvalidSourceColumn (string parameter)
 
static Exception ColumnsAddNullAttempt (string parameter)
 
static Exception ColumnsDataSetColumn (string cacheColumn)
 
static Exception ColumnsIndexInt32 (int index, IColumnMappingCollection collection)
 
static Exception ColumnsIndexSource (string srcColumn)
 
static Exception ColumnsIsNotParent (ICollection collection)
 
static Exception ColumnsIsParent (ICollection collection)
 
static Exception ColumnsUniqueSourceColumn (string srcColumn)
 
static Exception NotADataColumnMapping (object value)
 
static Exception InvalidSourceTable (string parameter)
 
static Exception TablesAddNullAttempt (string parameter)
 
static Exception TablesDataSetTable (string cacheTable)
 
static Exception TablesIndexInt32 (int index, ITableMappingCollection collection)
 
static Exception TablesIsNotParent (ICollection collection)
 
static Exception TablesIsParent (ICollection collection)
 
static Exception TablesSourceIndex (string srcTable)
 
static Exception TablesUniqueSourceTable (string srcTable)
 
static Exception NotADataTableMapping (object value)
 
static InvalidOperationException UpdateConnectionRequired (StatementType statementType, bool isRowUpdatingCommand)
 
static InvalidOperationException ConnectionRequired_Res (string method)
 
static InvalidOperationException UpdateOpenConnectionRequired (StatementType statementType, bool isRowUpdatingCommand, ConnectionState state)
 
static ArgumentException UnwantedStatementType (StatementType statementType)
 
static Exception FillSchemaRequiresSourceTableName (string parameter)
 
static Exception InvalidMaxRecords (string parameter, int max)
 
static Exception InvalidStartRecord (string parameter, int start)
 
static Exception FillRequires (string parameter)
 
static Exception FillRequiresSourceTableName (string parameter)
 
static Exception FillChapterAutoIncrement ()
 
static InvalidOperationException MissingDataReaderFieldType (int index)
 
static InvalidOperationException OnlyOneTableForStartRecordOrMaxRecords ()
 
static ArgumentNullException UpdateRequiresNonNullDataSet (string parameter)
 
static InvalidOperationException UpdateRequiresSourceTable (string defaultSrcTableName)
 
static InvalidOperationException UpdateRequiresSourceTableName (string srcTable)
 
static ArgumentNullException UpdateRequiresDataTable (string parameter)
 
static Exception UpdateConcurrencyViolation (StatementType statementType, int affected, int expected, DataRow[] dataRows)
 
static InvalidOperationException UpdateRequiresCommand (StatementType statementType, bool isRowUpdatingCommand)
 
static ArgumentException UpdateMismatchRowTable (int i)
 
static DataException RowUpdatedErrors ()
 
static DataException RowUpdatingErrors ()
 
static InvalidOperationException ResultsNotAllowedDuringBatch ()
 
static InvalidOperationException DynamicSQLJoinUnsupported ()
 
static InvalidOperationException DynamicSQLNoTableInfo ()
 
static InvalidOperationException DynamicSQLNoKeyInfoDelete ()
 
static InvalidOperationException DynamicSQLNoKeyInfoUpdate ()
 
static InvalidOperationException DynamicSQLNoKeyInfoRowVersionDelete ()
 
static InvalidOperationException DynamicSQLNoKeyInfoRowVersionUpdate ()
 
static InvalidOperationException DynamicSQLNestedQuote (string name, string quote)
 
static InvalidOperationException NoQuoteChange ()
 
static InvalidOperationException MissingSourceCommand ()
 
static InvalidOperationException MissingSourceCommandConnection ()
 
static DataRow[] SelectAdapterRows (DataTable dataTable, bool sorted)
 
static void BuildSchemaTableInfoTableNames (string[] columnNameArray)
 
static int SrcCompare (string strA, string strB)
 
static void TraceExceptionAsReturnValue (Exception e)
 
static void TraceExceptionWithoutRethrow (Exception e)
 
static ArgumentException Argument (string error)
 
static ArgumentException Argument (string error, Exception inner)
 
static ArgumentException Argument (string error, string parameter)
 
static ArgumentNullException ArgumentNull (string parameter)
 
static ArgumentNullException ArgumentNull (string parameter, string error)
 
static ArgumentOutOfRangeException ArgumentOutOfRange (string parameterName)
 
static ArgumentOutOfRangeException ArgumentOutOfRange (string message, string parameterName)
 
static IndexOutOfRangeException IndexOutOfRange (string error)
 
static InvalidCastException InvalidCast (string error)
 
static InvalidCastException InvalidCast (string error, Exception inner)
 
static InvalidOperationException InvalidOperation (string error)
 
static NotSupportedException NotSupported ()
 
static NotSupportedException NotSupported (string error)
 
static ArgumentOutOfRangeException NotSupportedEnumerationValue (Type type, string value, string method)
 
static InvalidOperationException DataAdapter (string error)
 
static void CheckArgumentNull ([NotNull] object value, string parameterName)
 
static bool IsCatchableExceptionType (Exception e)
 
static bool IsCatchableOrSecurityExceptionType (Exception e)
 
static ArgumentOutOfRangeException InvalidEnumerationValue (Type type, int value)
 
static ArgumentException ConnectionStringSyntax (int index)
 
static ArgumentException KeywordNotSupported (string keyword)
 
static ArgumentException ConvertFailed (Type fromType, Type toType, Exception innerException)
 
static ArgumentException CollectionRemoveInvalidObject (Type itemType, ICollection collection)
 
static ArgumentNullException CollectionNullValue (string parameter, Type collection, Type itemType)
 
static IndexOutOfRangeException CollectionIndexInt32 (int index, Type collection, int count)
 
static IndexOutOfRangeException CollectionIndexString (Type itemType, string propertyName, string propertyValue, Type collection)
 
static InvalidCastException CollectionInvalidType (Type collection, Type itemType, object invalidValue)
 
static Exception StreamClosed ([CallerMemberName] string method="")
 
static string BuildQuotedString (string quotePrefix, string quoteSuffix, string unQuotedString)
 
static string AppendQuotedString (StringBuilder buffer, string quotePrefix, string quoteSuffix, string unQuotedString)
 
static ArgumentException ParametersIsNotParent (Type parameterType, ICollection collection)
 
static ArgumentException ParametersIsParent (Type parameterType, ICollection collection)
 
static Exception InternalError (InternalErrorCode internalError)
 
static Exception DataReaderClosed ([CallerMemberName] string method="")
 
static ArgumentOutOfRangeException InvalidSourceBufferIndex (int maxLen, long srcOffset, string parameterName)
 
static ArgumentOutOfRangeException InvalidDestinationBufferIndex (int maxLen, int dstOffset, string parameterName)
 
static IndexOutOfRangeException InvalidBufferSizeOrIndex (int numBytes, int bufferIndex)
 
static Exception InvalidDataLength (long length)
 
static bool CompareInsensitiveInvariant (string strvalue, string strconst)
 
static int DstCompare (string strA, string strB)
 
static bool IsNull (object value)
 
static Exception InvalidSeekOrigin (string parameterName)
 

Properties

static Task< boolTrueTask [get]
 
static Task< boolFalseTask [get]
 

Static Private Member Functions

static InvalidOperationException DataMapping (string error)
 
static int GenerateUniqueName (Dictionary< string, int > hash, ref string columnName, int index, int uniqueIndex)
 
static void TraceException (string trace, Exception e)
 
static InvalidOperationException Provider (string error)
 
static string ConnectionStateMsg (ConnectionState state)
 

Static Private Attributes

static Task< bool_trueTask
 
static Task< bool_falseTask
 
static readonly Type s_stackOverflowType = typeof(StackOverflowException)
 
static readonly Type s_outOfMemoryType = typeof(OutOfMemoryException)
 
static readonly Type s_threadAbortType = typeof(ThreadAbortException)
 
static readonly Type s_nullReferenceType = typeof(NullReferenceException)
 
static readonly Type s_accessViolationType = typeof(AccessViolationException)
 
static readonly Type s_securityType = typeof(SecurityException)
 

Detailed Description

Definition at line 14 of file ADP.cs.


The documentation for this class was generated from the following file: