From 29f9d4457a13440305239b0d54a8fea4ad7c4dc4 Mon Sep 17 00:00:00 2001
From: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
Date: Mon, 30 Mar 2026 16:08:15 -0700
Subject: [PATCH 1/2] System.D*
---
.../DbBinaryExpression.xml | 4 +-
.../DbExpressionVisitor`1.xml | 20 +-
.../DbFunctionCommandTree.xml | 10 +-
.../DbLimitExpression.xml | 2 +-
.../DbSkipExpression.xml | 4 +-
.../DbUnaryExpression.xml | 2 +-
xml/System.Data.Common/DBDataPermission.xml | 8 +-
xml/System.Data.Common/DataAdapter.xml | 80 +-
xml/System.Data.Common/DataColumnMapping.xml | 108 +--
.../DataColumnMappingCollection.xml | 390 ++++----
xml/System.Data.Common/DataTableMapping.xml | 196 ++--
.../DataTableMappingCollection.xml | 390 ++++----
xml/System.Data.Common/DbBatch.xml | 8 +-
xml/System.Data.Common/DbCommand.xml | 30 +-
xml/System.Data.Common/DbCommandBuilder.xml | 86 +-
xml/System.Data.Common/DbConnection.xml | 26 +-
.../DbConnectionStringBuilder.xml | 60 +-
xml/System.Data.Common/DbDataAdapter.xml | 368 ++++----
xml/System.Data.Common/DbDataReader.xml | 14 +-
xml/System.Data.Common/DbDataRecord.xml | 270 +++---
xml/System.Data.Common/DbDataSource.xml | 8 +-
xml/System.Data.Common/DbEnumerator.xml | 44 +-
xml/System.Data.Common/DbParameter.xml | 30 +-
.../DbParameterCollection.xml | 4 +-
.../DbProviderFactories.xml | 84 +-
xml/System.Data.Common/DbTransaction.xml | 78 +-
.../RowUpdatedEventArgs.xml | 8 +-
.../RowUpdatingEventArgs.xml | 4 +-
.../TypedDataSetGeneratorException.xml | 12 +-
.../EntityModelBuildProvider.xml | 10 +-
.../PluralizationService.xml | 78 +-
.../EntityConnection.xml | 44 +-
.../EntityConnectionStringBuilder.xml | 18 +-
.../EntityDataReader.xml | 18 +-
.../AssociationAttribute.xml | 4 +-
.../ColumnAttribute.xml | 16 +-
.../InheritanceMappingAttribute.xml | 4 +-
.../MetaDataMember.xml | 4 +-
.../ParameterAttribute.xml | 10 +-
.../TableAttribute.xml | 4 +-
.../ChangeConflictCollection.xml | 82 +-
xml/System.Data.Linq/CompiledQuery.xml | 334 +++----
xml/System.Data.Linq/DataContext.xml | 56 +-
xml/System.Data.Linq/DataLoadOptions.xml | 2 +-
xml/System.Data.Linq/EntityRef`1.xml | 20 +-
xml/System.Data.Linq/EntitySet`1.xml | 198 ++--
...gnKeyReferenceAlreadyHasValueException.xml | 12 +-
xml/System.Data.Linq/IMultipleResults.xml | 64 +-
xml/System.Data.Linq/ITable.xml | 12 +-
xml/System.Data.Linq/ITable`1.xml | 40 +-
xml/System.Data.Linq/Link`1.xml | 6 +-
xml/System.Data.Linq/MemberChangeConflict.xml | 90 +-
xml/System.Data.Linq/RefreshMode.xml | 40 +-
xml/System.Data.Linq/Table`1.xml | 584 ++++++------
xml/System.Data.Metadata.Edm/Facet.xml | 12 +-
.../MetadataProperty.xml | 2 +-
.../NavigationProperty.xml | 22 +-
.../PrimitiveType.xml | 24 +-
.../ComplexObject.xml | 12 +-
...elationshipNavigationPropertyAttribute.xml | 4 +-
.../EdmScalarPropertyAttribute.xml | 42 +-
.../EdmSchemaAttribute.xml | 20 +-
.../EntityCollection`1.xml | 88 +-
.../EntityObject.xml | 14 +-
.../EntityReference.xml | 24 +-
.../EntityReference`1.xml | 28 +-
.../IEntityChangeTracker.xml | 8 +-
.../IRelatedEnd.xml | 56 +-
.../RelatedEnd.xml | 54 +-
.../RelationshipManager.xml | 14 +-
xml/System.Data.Objects/CompiledQuery.xml | 4 +-
xml/System.Data.Objects/IObjectSet`1.xml | 40 +-
xml/System.Data.Objects/MergeOption.xml | 2 +-
xml/System.Data.Objects/ObjectContext.xml | 178 ++--
.../ObjectContextOptions.xml | 10 +-
xml/System.Data.Objects/ObjectParameter.xml | 2 +-
.../ObjectParameterCollection.xml | 10 +-
xml/System.Data.Objects/ObjectQuery.xml | 22 +-
xml/System.Data.Objects/ObjectQuery`1.xml | 108 +--
xml/System.Data.Objects/ObjectResult`1.xml | 8 +-
xml/System.Data.Objects/ObjectSet`1.xml | 70 +-
.../ObjectStateManager.xml | 22 +-
xml/System.Data.Odbc/OdbcCommand.xml | 70 +-
xml/System.Data.Odbc/OdbcCommandBuilder.xml | 66 +-
xml/System.Data.Odbc/OdbcConnection.xml | 64 +-
.../OdbcConnectionStringBuilder.xml | 18 +-
xml/System.Data.Odbc/OdbcDataAdapter.xml | 56 +-
xml/System.Data.Odbc/OdbcDataReader.xml | 72 +-
xml/System.Data.Odbc/OdbcException.xml | 6 +-
.../OdbcInfoMessageEventArgs.xml | 2 +-
xml/System.Data.Odbc/OdbcParameter.xml | 46 +-
.../OdbcParameterCollection.xml | 10 +-
xml/System.Data.Odbc/OdbcPermission.xml | 2 +-
.../OdbcRowUpdatedEventArgs.xml | 42 +-
.../OdbcRowUpdatingEventArgs.xml | 42 +-
xml/System.Data.Odbc/OdbcTransaction.xml | 98 +-
xml/System.Data.OleDb/OleDbCommand.xml | 88 +-
xml/System.Data.OleDb/OleDbCommandBuilder.xml | 66 +-
xml/System.Data.OleDb/OleDbConnection.xml | 74 +-
.../OleDbConnectionStringBuilder.xml | 26 +-
xml/System.Data.OleDb/OleDbDataAdapter.xml | 88 +-
xml/System.Data.OleDb/OleDbDataReader.xml | 72 +-
xml/System.Data.OleDb/OleDbError.xml | 112 +--
xml/System.Data.OleDb/OleDbException.xml | 70 +-
.../OleDbInfoMessageEventArgs.xml | 6 +-
xml/System.Data.OleDb/OleDbParameter.xml | 60 +-
.../OleDbParameterCollection.xml | 4 +-
xml/System.Data.OleDb/OleDbPermission.xml | 2 +-
.../OleDbRowUpdatedEventArgs.xml | 42 +-
.../OleDbRowUpdatingEventArgs.xml | 42 +-
xml/System.Data.OleDb/OleDbSchemaGuid.xml | 882 +++++++++---------
xml/System.Data.OleDb/OleDbTransaction.xml | 104 +--
xml/System.Data.OracleClient/OracleBFile.xml | 38 +-
xml/System.Data.OracleClient/OracleBinary.xml | 16 +-
.../OracleBoolean.xml | 16 +-
.../OracleCommand.xml | 56 +-
.../OracleCommandBuilder.xml | 64 +-
.../OracleConnection.xml | 62 +-
.../OracleConnectionStringBuilder.xml | 36 +-
.../OracleDataAdapter.xml | 34 +-
.../OracleDataReader.xml | 90 +-
.../OracleDateTime.xml | 96 +-
xml/System.Data.OracleClient/OracleLob.xml | 38 +-
.../OracleMonthSpan.xml | 100 +-
xml/System.Data.OracleClient/OracleNumber.xml | 232 ++---
.../OracleParameter.xml | 44 +-
.../OracleParameterCollection.xml | 6 +-
.../OraclePermission.xml | 4 +-
.../OraclePermissionAttribute.xml | 2 +-
.../OracleRowUpdatedEventArgs.xml | 72 +-
.../OracleRowUpdatingEventArgs.xml | 72 +-
xml/System.Data.OracleClient/OracleString.xml | 16 +-
.../OracleTimeSpan.xml | 92 +-
.../OracleTransaction.xml | 102 +-
.../ChangeOperationResponse.xml | 212 ++---
.../DataServiceClientException.xml | 12 +-
.../DataServiceCollection`1.xml | 50 +-
.../DataServiceContext.xml | 100 +-
.../DataServiceQuery.xml | 48 +-
.../DataServiceQueryException.xml | 14 +-
.../DataServiceQuery`1.xml | 18 +-
.../DataServiceRequestArgs.xml | 2 +-
.../DataServiceRequestException.xml | 12 +-
.../DataServiceRequest`1.xml | 200 ++--
.../DataServiceStreamResponse.xml | 12 +-
.../EntityChangedParams.xml | 22 +-
.../EntityCollectionChangedParams.xml | 32 +-
.../EntityDescriptor.xml | 6 +-
.../LinkDescriptor.xml | 22 +-
.../MediaEntryAttribute.xml | 2 +-
.../MimeTypePropertyAttribute.xml | 14 +-
.../QueryOperationResponse.xml | 24 +-
.../QueryOperationResponse`1.xml | 24 +-
.../TrackingMode.xml | 14 +-
.../EntityPropertyMappingAttribute.xml | 16 +-
.../SyndicationTextContentKind.xml | 10 +-
.../IDataServiceMetadataProvider.xml | 18 +-
.../IDataServicePagingProvider.xml | 20 +-
.../IDataServiceStreamProvider.xml | 24 +-
.../OpenTypeMethods.xml | 90 +-
.../ResourceProperty.xml | 6 +-
.../ResourceType.xml | 20 +-
.../DataServiceConfiguration.xml | 12 +-
.../DataServiceException.xml | 8 +-
xml/System.Data.Services/DataService`1.xml | 74 +-
xml/System.Data.Services/ExpandSegment.xml | 48 +-
.../HandleExceptionArgs.xml | 40 +-
.../IDataServiceConfiguration.xml | 2 +-
xml/System.Data.Services/IExpandProvider.xml | 14 +-
xml/System.Data.Services/IUpdatable.xml | 90 +-
.../SqlDataSourceEnumerator.xml | 2 +-
.../SqlNotificationRequest.xml | 2 +-
xml/System.Data.SqlClient/SqlBulkCopy.xml | 54 +-
.../SqlBulkCopyColumnMapping.xml | 12 +-
.../SqlBulkCopyColumnMappingCollection.xml | 288 +++---
.../SqlBulkCopyOptions.xml | 2 +-
.../SqlClientPermission.xml | 4 +-
.../SqlColumnEncryptionCngProvider.xml | 2 +-
.../SqlColumnEncryptionCspProvider.xml | 2 +-
.../SqlColumnEncryptionKeyStoreProvider.xml | 4 +-
xml/System.Data.SqlClient/SqlCommand.xml | 190 ++--
.../SqlCommandBuilder.xml | 64 +-
xml/System.Data.SqlClient/SqlConnection.xml | 118 +--
.../SqlConnectionStringBuilder.xml | 24 +-
xml/System.Data.SqlClient/SqlDataAdapter.xml | 76 +-
xml/System.Data.SqlClient/SqlDataReader.xml | 90 +-
xml/System.Data.SqlClient/SqlDependency.xml | 12 +-
xml/System.Data.SqlClient/SqlError.xml | 228 ++---
xml/System.Data.SqlClient/SqlException.xml | 2 +-
.../SqlInfoMessageEventArgs.xml | 4 +-
xml/System.Data.SqlClient/SqlParameter.xml | 60 +-
.../SqlParameterCollection.xml | 20 +-
.../SqlRowUpdatedEventArgs.xml | 72 +-
.../SqlRowUpdatingEventArgs.xml | 72 +-
.../SqlRowsCopiedEventArgs.xml | 4 +-
xml/System.Data.SqlClient/SqlTransaction.xml | 204 ++--
xml/System.Data.SqlTypes/SqlBinary.xml | 14 +-
xml/System.Data.SqlTypes/SqlBoolean.xml | 308 +++---
xml/System.Data.SqlTypes/SqlByte.xml | 168 ++--
xml/System.Data.SqlTypes/SqlBytes.xml | 8 +-
xml/System.Data.SqlTypes/SqlChars.xml | 10 +-
xml/System.Data.SqlTypes/SqlDateTime.xml | 138 +--
xml/System.Data.SqlTypes/SqlDecimal.xml | 10 +-
xml/System.Data.SqlTypes/SqlDouble.xml | 162 ++--
xml/System.Data.SqlTypes/SqlFileStream.xml | 2 +-
xml/System.Data.SqlTypes/SqlGuid.xml | 140 +--
xml/System.Data.SqlTypes/SqlInt16.xml | 30 +-
xml/System.Data.SqlTypes/SqlInt32.xml | 178 ++--
xml/System.Data.SqlTypes/SqlInt64.xml | 178 ++--
xml/System.Data.SqlTypes/SqlMoney.xml | 178 ++--
.../SqlNullValueException.xml | 10 +-
xml/System.Data.SqlTypes/SqlSingle.xml | 20 +-
xml/System.Data.SqlTypes/SqlString.xml | 228 ++---
.../SqlTruncateException.xml | 4 +-
xml/System.Data.SqlTypes/SqlTypeException.xml | 14 +-
xml/System.Data.SqlTypes/SqlXml.xml | 70 +-
xml/System.Data/AcceptRejectRule.xml | 24 +-
xml/System.Data/Constraint.xml | 6 +-
xml/System.Data/ConstraintCollection.xml | 38 +-
xml/System.Data/DBConcurrencyException.xml | 8 +-
xml/System.Data/DataColumn.xml | 60 +-
xml/System.Data/DataColumnCollection.xml | 40 +-
xml/System.Data/DataReaderExtensions.xml | 86 +-
xml/System.Data/DataRelation.xml | 14 +-
xml/System.Data/DataRelationCollection.xml | 4 +-
xml/System.Data/DataRow.xml | 170 ++--
xml/System.Data/DataRowChangeEventArgs.xml | 66 +-
xml/System.Data/DataRowCollection.xml | 48 +-
xml/System.Data/DataRowComparer.xml | 4 +-
xml/System.Data/DataRowComparer`1.xml | 8 +-
xml/System.Data/DataRowExtensions.xml | 56 +-
xml/System.Data/DataRowState.xml | 2 +-
xml/System.Data/DataRowVersion.xml | 16 +-
xml/System.Data/DataRowView.xml | 24 +-
xml/System.Data/DataSet.xml | 348 +++----
xml/System.Data/DataSetDateTime.xml | 4 +-
xml/System.Data/DataTable.xml | 340 +++----
xml/System.Data/DataTableCollection.xml | 44 +-
xml/System.Data/DataTableExtensions.xml | 34 +-
xml/System.Data/DataTableReader.xml | 66 +-
xml/System.Data/DataView.xml | 56 +-
xml/System.Data/DataViewManager.xml | 330 +++----
xml/System.Data/DataViewRowState.xml | 4 +-
xml/System.Data/DataViewSetting.xml | 4 +-
xml/System.Data/DataViewSettingCollection.xml | 2 +-
.../DeletedRowInaccessibleException.xml | 12 +-
xml/System.Data/EntityKey.xml | 14 +-
xml/System.Data/EntityKeyMember.xml | 20 +-
xml/System.Data/EntityState.xml | 2 +-
xml/System.Data/EnumerableRowCollection.xml | 24 +-
.../EnumerableRowCollectionExtensions.xml | 144 +--
xml/System.Data/EnumerableRowCollection`1.xml | 42 +-
xml/System.Data/ForeignKeyConstraint.xml | 10 +-
xml/System.Data/IColumnMapping.xml | 2 +-
xml/System.Data/IColumnMappingCollection.xml | 80 +-
xml/System.Data/IDataAdapter.xml | 56 +-
xml/System.Data/IDataParameter.xml | 8 +-
xml/System.Data/IDataParameterCollection.xml | 38 +-
xml/System.Data/IDataReader.xml | 20 +-
xml/System.Data/IDataRecord.xml | 14 +-
xml/System.Data/IDbCommand.xml | 22 +-
xml/System.Data/IDbConnection.xml | 16 +-
xml/System.Data/IDbDataAdapter.xml | 26 +-
xml/System.Data/IDbTransaction.xml | 106 +--
xml/System.Data/ITableMapping.xml | 4 +-
xml/System.Data/ITableMappingCollection.xml | 52 +-
.../InvalidConstraintException.xml | 26 +-
xml/System.Data/MappingType.xml | 2 +-
xml/System.Data/MissingMappingAction.xml | 10 +-
.../MissingPrimaryKeyException.xml | 18 +-
xml/System.Data/NoNullAllowedException.xml | 26 +-
xml/System.Data/OperationAbortedException.xml | 10 +-
.../OrderedEnumerableRowCollection`1.xml | 14 +-
xml/System.Data/ReadOnlyException.xml | 18 +-
xml/System.Data/RowNotInTableException.xml | 48 +-
xml/System.Data/Rule.xml | 4 +-
xml/System.Data/TypedTableBaseExtensions.xml | 24 +-
xml/System.Data/UniqueConstraint.xml | 2 +-
xml/System.Data/XmlReadMode.xml | 24 +-
xml/System.Data/XmlWriteMode.xml | 10 +-
xml/System.Device.Location/CivicAddress.xml | 98 +-
.../CivicAddressResolver.xml | 98 +-
xml/System.Device.Location/GeoCoordinate.xml | 14 +-
.../GeoCoordinateWatcher.xml | 44 +-
.../GeoPositionStatusChangedEventArgs.xml | 10 +-
.../ICivicAddressResolver.xml | 46 +-
.../IGeoPositionWatcher`1.xml | 18 +-
.../SuppressMessageAttribute.xml | 2 +-
.../ContractHelper.xml | 20 +-
xml/System.Diagnostics.Contracts/Contract.xml | 44 +-
.../ContractArgumentValidatorAttribute.xml | 56 +-
.../ContractClassAttribute.xml | 38 +-
.../ContractClassForAttribute.xml | 38 +-
.../ContractFailedEventArgs.xml | 4 +-
.../ContractInvariantMethodAttribute.xml | 10 +-
.../ContractOptionAttribute.xml | 2 +-
.../EventLogConfiguration.xml | 16 +-
.../EventLogReader.xml | 8 +-
.../EventDescriptor.xml | 60 +-
.../EventProvider+WriteEventErrorCode.xml | 14 +-
.../EventProvider.xml | 22 +-
.../EventProviderTraceListener.xml | 2 +-
.../CounterData.xml | 8 +-
.../CounterSet.xml | 108 +--
.../CounterSetInstance.xml | 40 +-
.../CounterSetInstanceCounterDataSet.xml | 2 +-
.../ISymbolBinder.xml | 22 +-
.../ISymbolBinder1.xml | 24 +-
.../ISymbolDocumentWriter.xml | 4 +-
.../ISymbolMethod.xml | 78 +-
.../ISymbolWriter.xml | 172 ++--
.../SymBinder.xml | 52 +-
.../SymDocument.xml | 66 +-
.../SymDocumentType.xml | 4 +-
.../SymDocumentWriter.xml | 38 +-
.../SymLanguageType.xml | 4 +-
.../SymLanguageVendor.xml | 4 +-
.../SymMethod.xml | 82 +-
.../SymReader.xml | 80 +-
.../SymScope.xml | 50 +-
.../SymVariable.xml | 88 +-
.../SymWriter.xml | 10 +-
.../SymbolToken.xml | 4 +-
.../EventAttribute.xml | 6 +-
.../EventCommandEventArgs.xml | 20 +-
.../EventDataAttribute.xml | 20 +-
.../EventIgnoreAttribute.xml | 10 +-
.../EventListener.xml | 90 +-
.../EventSource.xml | 84 +-
.../EventSourceAttribute.xml | 2 +-
.../PollingCounter.xml | 6 +-
xml/System.Diagnostics/Activity.xml | 18 +-
xml/System.Diagnostics/BooleanSwitch.xml | 6 +-
.../ConditionalAttribute.xml | 2 +-
.../ConsoleTraceListener.xml | 20 +-
xml/System.Diagnostics/CorrelationManager.xml | 8 +-
.../CounterCreationData.xml | 10 +-
.../CounterCreationDataCollection.xml | 16 +-
xml/System.Diagnostics/CounterSample.xml | 8 +-
.../CounterSampleCalculator.xml | 6 +-
.../DataReceivedEventArgs.xml | 12 +-
.../DataReceivedEventHandler.xml | 6 +-
xml/System.Diagnostics/Debug.xml | 178 ++--
.../DebuggableAttribute.xml | 10 +-
xml/System.Diagnostics/Debugger.xml | 8 +-
.../DebuggerBrowsableAttribute.xml | 4 +-
.../DebuggerDisplayAttribute.xml | 2 +-
.../DebuggerTypeProxyAttribute.xml | 2 +-
.../DefaultTraceListener.xml | 28 +-
.../DelimitedListTraceListener.xml | 16 +-
xml/System.Diagnostics/DiagnosticListener.xml | 18 +-
.../DiagnosticsConfigurationHandler.xml | 44 +-
.../EntryWrittenEventArgs.xml | 10 +-
xml/System.Diagnostics/EventInstance.xml | 20 +-
xml/System.Diagnostics/EventLog.xml | 376 ++++----
xml/System.Diagnostics/EventLogEntry.xml | 18 +-
.../EventLogEntryCollection.xml | 10 +-
xml/System.Diagnostics/EventLogInstaller.xml | 76 +-
.../EventLogTraceListener.xml | 34 +-
.../EventSchemaTraceListener.xml | 34 +-
.../EventSourceCreationData.xml | 56 +-
xml/System.Diagnostics/EventTypeFilter.xml | 2 +-
xml/System.Diagnostics/FileVersionInfo.xml | 154 +--
.../InstanceDataCollection.xml | 8 +-
.../InstanceDataCollectionCollection.xml | 8 +-
.../MonitoringDescriptionAttribute.xml | 2 +-
xml/System.Diagnostics/OverflowAction.xml | 2 +-
xml/System.Diagnostics/PerformanceCounter.xml | 106 +--
.../PerformanceCounterCategory.xml | 56 +-
.../PerformanceCounterInstanceLifetime.xml | 2 +-
.../PresentationTraceSources.xml | 122 +--
xml/System.Diagnostics/Process.xml | 416 ++++-----
xml/System.Diagnostics/ProcessModule.xml | 18 +-
.../ProcessPriorityClass.xml | 14 +-
xml/System.Diagnostics/ProcessStartInfo.xml | 82 +-
xml/System.Diagnostics/ProcessThread.xml | 24 +-
xml/System.Diagnostics/SourceFilter.xml | 6 +-
xml/System.Diagnostics/SourceSwitch.xml | 4 +-
xml/System.Diagnostics/StackFrame.xml | 26 +-
xml/System.Diagnostics/StackTrace.xml | 4 +-
xml/System.Diagnostics/Stopwatch.xml | 58 +-
xml/System.Diagnostics/Switch.xml | 20 +-
xml/System.Diagnostics/SwitchAttribute.xml | 4 +-
.../SwitchLevelAttribute.xml | 2 +-
.../TextWriterTraceListener.xml | 24 +-
xml/System.Diagnostics/Trace.xml | 172 ++--
xml/System.Diagnostics/TraceEventCache.xml | 8 +-
xml/System.Diagnostics/TraceEventType.xml | 10 +-
xml/System.Diagnostics/TraceFilter.xml | 4 +-
xml/System.Diagnostics/TraceListener.xml | 24 +-
.../TraceListenerCollection.xml | 30 +-
.../TraceLogRetentionOption.xml | 4 +-
xml/System.Diagnostics/TraceOptions.xml | 2 +-
xml/System.Diagnostics/TraceSource.xml | 68 +-
xml/System.Diagnostics/TraceSwitch.xml | 34 +-
.../UnescapedXmlDiagnosticData.xml | 4 +-
.../XmlWriterTraceListener.xml | 32 +-
.../AuthenticablePrincipal.xml | 18 +-
.../ComputerPrincipal.xml | 6 +-
.../GroupPrincipal.xml | 4 +-
.../MultipleMatchesException.xml | 4 +-
.../NoMatchingPrincipalException.xml | 2 +-
.../PasswordException.xml | 2 +-
.../Principal.xml | 6 +-
.../PrincipalCollection.xml | 300 +++---
.../PrincipalContext.xml | 4 +-
.../PrincipalExistsException.xml | 2 +-
.../PrincipalOperationException.xml | 4 +-
.../PrincipalSearcher.xml | 6 +-
.../PrincipalServerDownException.xml | 8 +-
.../UserPrincipal.xml | 4 +-
.../ActiveDirectoryInterSiteTransport.xml | 10 +-
.../ActiveDirectorySchedule.xml | 6 +-
.../ActiveDirectorySchemaClass.xml | 30 +-
.../ActiveDirectorySchemaProperty.xml | 36 +-
.../ActiveDirectorySite.xml | 20 +-
.../AdamInstance.xml | 2 +-
.../Domain.xml | 12 +-
.../DomainController.xml | 40 +-
.../Forest.xml | 8 +-
.../ReplicationCursor.xml | 10 +-
.../SyncUpdateCallback.xml | 22 +-
.../TopLevelNameCollisionOptions.xml | 14 +-
.../AddRequest.xml | 2 +-
.../DirectoryAttribute.xml | 2 +-
.../DirectoryAttributeModification.xml | 22 +-
.../DsmlRequestDocument.xml | 2 +-
.../DsmlResponseDocument.xml | 2 +-
.../DsmlSoapConnection.xml | 6 +-
.../DsmlSoapHttpConnection.xml | 2 +-
.../PartialResultProcessing.xml | 18 +-
.../ActiveDirectorySecurity.xml | 50 +-
.../DirectoryEntries.xml | 6 +-
.../DirectoryEntry.xml | 66 +-
.../DirectorySearcher.xml | 50 +-
.../PropertyCollection.xml | 30 +-
.../PropertyValueCollection.xml | 98 +-
.../SchemaNameCollection.xml | 10 +-
xml/System.DirectoryServices/SearchResult.xml | 16 +-
.../SearchResultCollection.xml | 24 +-
.../IPropertyValueUIService.xml | 50 +-
xml/System.Drawing.Design/IToolboxService.xml | 36 +-
xml/System.Drawing.Design/IToolboxUser.xml | 58 +-
xml/System.Drawing.Design/IconEditor.xml | 50 +-
xml/System.Drawing.Design/ImageEditor.xml | 78 +-
.../PropertyValueUIItemInvokeHandler.xml | 2 +-
xml/System.Drawing.Design/ToolboxItem.xml | 54 +-
.../ToolboxItemCollection.xml | 70 +-
.../ToolboxItemContainer.xml | 4 +-
.../ToolboxItemCreator.xml | 34 +-
.../ToolboxItemCreatorCallback.xml | 28 +-
xml/System.Drawing.Design/ToolboxService.xml | 32 +-
xml/System.Drawing.Design/UITypeEditor.xml | 14 +-
.../AdjustableArrowCap.xml | 12 +-
xml/System.Drawing.Drawing2D/Blend.xml | 100 +-
xml/System.Drawing.Drawing2D/ColorBlend.xml | 4 +-
.../CustomLineCap.xml | 12 +-
xml/System.Drawing.Drawing2D/DashStyle.xml | 2 +-
xml/System.Drawing.Drawing2D/GraphicsPath.xml | 188 ++--
.../GraphicsPathIterator.xml | 44 +-
xml/System.Drawing.Drawing2D/HatchBrush.xml | 4 +-
.../LinearGradientBrush.xml | 42 +-
xml/System.Drawing.Drawing2D/Matrix.xml | 20 +-
.../PathGradientBrush.xml | 50 +-
xml/System.Drawing.Drawing2D/RegionData.xml | 2 +-
xml/System.Drawing.Drawing2D/WarpMode.xml | 10 +-
xml/System.Drawing.Drawing2D/WrapMode.xml | 24 +-
xml/System.Drawing.Imaging/BitmapData.xml | 52 +-
xml/System.Drawing.Imaging/ColorMatrix.xml | 4 +-
.../EncoderParameter.xml | 6 +-
.../EncoderParameterValueType.xml | 4 +-
.../EncoderParameters.xml | 2 +-
xml/System.Drawing.Imaging/EncoderValue.xml | 10 +-
.../ImageAttributes.xml | 108 +--
xml/System.Drawing.Imaging/ImageCodecInfo.xml | 6 +-
xml/System.Drawing.Imaging/ImageFormat.xml | 4 +-
xml/System.Drawing.Imaging/ImageLockMode.xml | 14 +-
xml/System.Drawing.Imaging/Metafile.xml | 6 +-
xml/System.Drawing.Imaging/PropertyItem.xml | 18 +-
.../InvalidPrinterException.xml | 34 +-
xml/System.Drawing.Printing/Margins.xml | 194 ++--
xml/System.Drawing.Printing/PageSettings.xml | 24 +-
xml/System.Drawing.Printing/PaperSize.xml | 22 +-
xml/System.Drawing.Printing/PaperSource.xml | 10 +-
.../PreviewPrintController.xml | 22 +-
xml/System.Drawing.Printing/PrintAction.xml | 14 +-
.../PrintController.xml | 22 +-
xml/System.Drawing.Printing/PrintDocument.xml | 34 +-
.../PrintEventArgs.xml | 2 +-
.../PrintPageEventArgs.xml | 8 +-
.../PrinterResolution.xml | 8 +-
.../PrinterSettings+PaperSizeCollection.xml | 12 +-
.../PrinterSettings+PaperSourceCollection.xml | 10 +-
...erSettings+PrinterResolutionCollection.xml | 6 +-
.../PrinterSettings+StringCollection.xml | 2 +-
.../PrinterSettings.xml | 72 +-
.../PrintingPermission.xml | 50 +-
.../StandardPrintController.xml | 94 +-
xml/System.Drawing.Text/FontCollection.xml | 4 +-
.../PrivateFontCollection.xml | 4 +-
xml/System.Drawing.Text/TextRenderingHint.xml | 28 +-
xml/System.Drawing/Bitmap.xml | 42 +-
xml/System.Drawing/Brush.xml | 6 +-
xml/System.Drawing/BufferedGraphics.xml | 18 +-
.../BufferedGraphicsContext.xml | 20 +-
.../BufferedGraphicsManager.xml | 4 +-
xml/System.Drawing/CharacterRange.xml | 100 +-
xml/System.Drawing/Color.xml | 48 +-
xml/System.Drawing/ColorConverter.xml | 6 +-
xml/System.Drawing/ContentAlignment.xml | 14 +-
xml/System.Drawing/CopyPixelOperation.xml | 10 +-
xml/System.Drawing/Font.xml | 30 +-
.../FontConverter+FontNameConverter.xml | 10 +-
xml/System.Drawing/FontConverter.xml | 6 +-
xml/System.Drawing/FontFamily.xml | 6 +-
.../Graphics+DrawImageAbort.xml | 94 +-
.../Graphics+EnumerateMetafileProc.xml | 24 +-
xml/System.Drawing/Graphics.xml | 422 ++++-----
xml/System.Drawing/GraphicsUnit.xml | 18 +-
xml/System.Drawing/IDeviceContext.xml | 34 +-
xml/System.Drawing/Icon.xml | 22 +-
xml/System.Drawing/IconConverter.xml | 2 +-
xml/System.Drawing/Image.xml | 56 +-
xml/System.Drawing/ImageConverter.xml | 40 +-
xml/System.Drawing/ImageFormatConverter.xml | 72 +-
xml/System.Drawing/Pen.xml | 30 +-
xml/System.Drawing/Point.xml | 258 ++---
xml/System.Drawing/PointConverter.xml | 64 +-
xml/System.Drawing/PointF.xml | 32 +-
xml/System.Drawing/Rectangle.xml | 36 +-
xml/System.Drawing/RectangleConverter.xml | 30 +-
xml/System.Drawing/RectangleF.xml | 18 +-
xml/System.Drawing/Region.xml | 84 +-
xml/System.Drawing/Size.xml | 24 +-
xml/System.Drawing/SizeConverter.xml | 30 +-
xml/System.Drawing/SizeF.xml | 130 +--
xml/System.Drawing/StringAlignment.xml | 2 +-
xml/System.Drawing/StringFormat.xml | 64 +-
xml/System.Drawing/StringFormatFlags.xml | 60 +-
xml/System.Drawing/SystemBrushes.xml | 2 +-
xml/System.Drawing/SystemColors.xml | 4 +-
xml/System.Drawing/SystemFonts.xml | 8 +-
xml/System.Drawing/SystemIcons.xml | 2 +-
xml/System.Drawing/TextureBrush.xml | 6 +-
xml/System.Drawing/ToolboxBitmapAttribute.xml | 180 ++--
xml/System.Dynamic/DynamicMetaObject.xml | 28 +-
xml/System.Dynamic/DynamicObject.xml | 670 ++++++-------
.../IDynamicMetaObjectProvider.xml | 14 +-
548 files changed, 13270 insertions(+), 13270 deletions(-)
diff --git a/xml/System.Data.Common.CommandTrees/DbBinaryExpression.xml b/xml/System.Data.Common.CommandTrees/DbBinaryExpression.xml
index 0c3d5d83c90..399cdad20b7 100644
--- a/xml/System.Data.Common.CommandTrees/DbBinaryExpression.xml
+++ b/xml/System.Data.Common.CommandTrees/DbBinaryExpression.xml
@@ -48,7 +48,7 @@
property is set. For example, requires that its left expression has a collection result type, while requires a Boolean result type. Typically, derived expression types will not allow to be set to an expression with a result type that is not equal or promotable to the result type of the current value.
+ Derived expression types might perform stricter type checks when the property is set. For example, requires that its left expression has a collection result type, while requires a Boolean result type. Typically, derived expression types will not allow to be set to an expression with a result type that is not equal or promotable to the result type of the current value.
]]>
@@ -87,7 +87,7 @@
property is set. For example, requires that its right expression has a collection result type, while requires a Boolean result type. Typically, derived expression types will not allow to be set to an expression with a result type that is not equal or promotable to the result type of the current value.
+ Derived expression types might perform stricter type checks when the property is set. For example, requires that its right expression has a collection result type, while requires a Boolean result type. Typically, derived expression types will not allow to be set to an expression with a result type that is not equal or promotable to the result type of the current value.
]]>
diff --git a/xml/System.Data.Common.CommandTrees/DbExpressionVisitor`1.xml b/xml/System.Data.Common.CommandTrees/DbExpressionVisitor`1.xml
index 1093182ba69..b85cb9714c6 100644
--- a/xml/System.Data.Common.CommandTrees/DbExpressionVisitor`1.xml
+++ b/xml/System.Data.Common.CommandTrees/DbExpressionVisitor`1.xml
@@ -21,11 +21,11 @@
The type of the result produced by the visitor.
Defines the basic functionality that should be implemented by visitors that return a result value of a specific type.
- is an abstract class that describes expression traversal.
-
+ is an abstract class that describes expression traversal.
+
]]>
@@ -425,11 +425,11 @@
When overridden in a derived class, handles any expression of an unrecognized type.
A result value of a specific type.
-
diff --git a/xml/System.Data.Common.CommandTrees/DbFunctionCommandTree.xml b/xml/System.Data.Common.CommandTrees/DbFunctionCommandTree.xml
index 5564c9f7c10..f4300190cbf 100644
--- a/xml/System.Data.Common.CommandTrees/DbFunctionCommandTree.xml
+++ b/xml/System.Data.Common.CommandTrees/DbFunctionCommandTree.xml
@@ -73,11 +73,11 @@
Gets the expected result type for the function's first result set.
The expected result type for the function's first result set.
- within a row indicate the expected type for columns with the corresponding names. The result type does not constrain the order of columns.
-
+ within a row indicate the expected type for columns with the corresponding names. The result type does not constrain the order of columns.
+
]]>
diff --git a/xml/System.Data.Common.CommandTrees/DbLimitExpression.xml b/xml/System.Data.Common.CommandTrees/DbLimitExpression.xml
index fe441ea52a0..0a0acabc7c6 100644
--- a/xml/System.Data.Common.CommandTrees/DbLimitExpression.xml
+++ b/xml/System.Data.Common.CommandTrees/DbLimitExpression.xml
@@ -20,7 +20,7 @@
can be applied to any with a collection result type, including . provides the equivalent of the Top operation. It does not require an ordering operation to have been performed on its input. It has two `Expression` properties, and , that specify the collection and the number of rows to return respectively. also has a `Boolean` property that controls whether rows equal in rank to the final row are returned. defaults to `false`.
+ A can be applied to any with a collection result type, including . provides the equivalent of the Top operation. It does not require an ordering operation to have been performed on its input. It has two `Expression` properties, and , that specify the collection and the number of rows to return respectively. also has a `Boolean` property that controls whether rows equal in rank to the final row are returned. defaults to `false`.
]]>
diff --git a/xml/System.Data.Common.CommandTrees/DbSkipExpression.xml b/xml/System.Data.Common.CommandTrees/DbSkipExpression.xml
index e180e086a6e..7f27a661331 100644
--- a/xml/System.Data.Common.CommandTrees/DbSkipExpression.xml
+++ b/xml/System.Data.Common.CommandTrees/DbSkipExpression.xml
@@ -20,7 +20,7 @@
requires its input collection to have already been sorted. The sort order is represented as the property. is a list of objects.
+ requires its input collection to have already been sorted. The sort order is represented as the property. is a list of objects.
]]>
@@ -174,7 +174,7 @@
requires its input collection to have already been sorted. The sort order is represented as the property. is a list of objects.
+ requires its input collection to have already been sorted. The sort order is represented as the property. is a list of objects.
]]>
diff --git a/xml/System.Data.Common.CommandTrees/DbUnaryExpression.xml b/xml/System.Data.Common.CommandTrees/DbUnaryExpression.xml
index 8df42a29358..efaef136e90 100644
--- a/xml/System.Data.Common.CommandTrees/DbUnaryExpression.xml
+++ b/xml/System.Data.Common.CommandTrees/DbUnaryExpression.xml
@@ -55,7 +55,7 @@
property is set. For example, requires that its argument expression has a collection result type. Typically, derived expression types will not allow to be set to an expression with a result type that is not equal or promotable to the result type of the current value.
+ Derived expression types might perform stricter type checks when the property is set. For example, requires that its argument expression has a collection result type. Typically, derived expression types will not allow to be set to an expression with a result type that is not equal or promotable to the result type of the current value.
]]>
diff --git a/xml/System.Data.Common/DBDataPermission.xml b/xml/System.Data.Common/DBDataPermission.xml
index 6e1072ab919..af745152030 100644
--- a/xml/System.Data.Common/DBDataPermission.xml
+++ b/xml/System.Data.Common/DBDataPermission.xml
@@ -272,7 +272,7 @@
enumeration takes precedence over the property. Therefore, if you set to `false`, you must also set to `None` to prevent a user from making a connection using a blank password.
+ The enumeration takes precedence over the property. Therefore, if you set to `false`, you must also set to `None` to prevent a user from making a connection using a blank password.
]]>
@@ -376,7 +376,7 @@
enumeration takes precedence over the property. Therefore, if you set to `false`, you must also set to `None` to prevent a user from making a connection using a blank password.
+ The enumeration takes precedence over the property. Therefore, if you set to `false`, you must also set to `None` to prevent a user from making a connection using a blank password.
]]>
@@ -729,7 +729,7 @@
and methods to make the objects security encodable.
+ Custom code that extends security objects must implement the and methods to make the objects security encodable.
]]>
@@ -777,7 +777,7 @@
is a permission that represents all the operations permitted by both the current permission object and the specified permission object. Any demand that passes either permission passes their union.
+ The result of a call to is a permission that represents all the operations permitted by both the current permission object and the specified permission object. Any demand that passes either permission passes their union.
]]>
diff --git a/xml/System.Data.Common/DataAdapter.xml b/xml/System.Data.Common/DataAdapter.xml
index 17801b681e1..8b8d3ef96b1 100644
--- a/xml/System.Data.Common/DataAdapter.xml
+++ b/xml/System.Data.Common/DataAdapter.xml
@@ -67,7 +67,7 @@
serves as a bridge between a and a data source for retrieving and saving data. The provides this bridge by mapping , which changes the data in the to match the data in the data source, and , which changes the data in the data source to match the data in the .
+ The serves as a bridge between a and a data source for retrieving and saving data. The provides this bridge by mapping , which changes the data in the to match the data in the data source, and , which changes the data in the data source to match the data in the .
If you are connecting to a SQL Server database, you can increase overall performance by using the along with its associated and objects. For OLE DB-supported data sources, use the with its associated and objects. For ODBC-supported data sources, use the with its associated and objects. For Oracle databases, use the with its associated and objects.
@@ -132,9 +132,9 @@
|Properties|Initial value|
|----------------|-------------------|
-||`MissingMappingAction.Passthrough`|
-||`MissingSchemaAction.Add`|
-||An array of objects.|
+||`MissingMappingAction.Passthrough`|
+||`MissingSchemaAction.Add`|
+||An array of objects.|
You can change the value of any of these properties through a separate call to the property.
@@ -254,7 +254,7 @@
is not called, and the newly added rows are treated as inserted rows.
+ If `false`, is not called, and the newly added rows are treated as inserted rows.
]]>
@@ -310,10 +310,10 @@
being updated. By default, ADO.NET calls the `AcceptChanges` method of the `DataRow` after the update. However, if you want to merge the updated row back into another , you may want to preserver the original value of a primary key column. For example, a primary key column corresponding to an automatically incrementing column in the database, such as an identity column, can contain new values that are assigned by the database that do not match the original values assigned in the `DataRow`. By default, `AcceptChanges` is called implicitly after an update, and the original values in the row, which may have been values assigned by ADO.NET, are lost. You can preserve the original values in the `DataRow` by preventing `ADO.NET` from calling `AcceptChanges` after it performs an update on a row, by setting the property to `false`, which preserves the original values.
+ During a call to the `Update` method of a `DataAdapter`, the database can send data back to your ADO.NET application as output parameters or as the first returned record of a result set. ADO.NET can retrieve these values and update the corresponding columns in the being updated. By default, ADO.NET calls the `AcceptChanges` method of the `DataRow` after the update. However, if you want to merge the updated row back into another , you may want to preserver the original value of a primary key column. For example, a primary key column corresponding to an automatically incrementing column in the database, such as an identity column, can contain new values that are assigned by the database that do not match the original values assigned in the `DataRow`. By default, `AcceptChanges` is called implicitly after an update, and the original values in the row, which may have been values assigned by ADO.NET, are lost. You can preserve the original values in the `DataRow` by preventing `ADO.NET` from calling `AcceptChanges` after it performs an update on a row, by setting the property to `false`, which preserves the original values.
> [!NOTE]
-> Setting the `AcceptChangesDuringUpdate` property to `false` applies to all data modifications, not only inserts. If you want to edit or delete rows in the same update, and if you want to suppress the call to `AcceptChanges` only for inserts, then instead of setting `AcceptChangesDuringUpdate` to `false`, use an event handler for the `RowUpdated` event of the `DataAdapter`. In the event handler, you can check the to determine if the data modification is an insert, and if `true`, set the property of the to . For more information and an example, see [Retrieving Identity or Autonumber Values](/dotnet/framework/data/adonet/retrieving-identity-or-autonumber-values).
+> Setting the `AcceptChangesDuringUpdate` property to `false` applies to all data modifications, not only inserts. If you want to edit or delete rows in the same update, and if you want to suppress the call to `AcceptChanges` only for inserts, then instead of setting `AcceptChangesDuringUpdate` to `false`, use an event handler for the `RowUpdated` event of the `DataAdapter`. In the event handler, you can check the to determine if the data modification is an insert, and if `true`, set the property of the to . For more information and an example, see [Retrieving Identity or Autonumber Values](/dotnet/framework/data/adonet/retrieving-identity-or-autonumber-values).
@@ -393,9 +393,9 @@
constructor should be used instead of this method.
+ This method is deprecated. The constructor should be used instead of this method.
- All the commands, the , the , and the are cloned. However, the connections for the commands are not copied, but shared. Thus, the cloned can be used against the same connection as the original.
+ All the commands, the , the , and the are cloned. However, the connections for the commands are not copied, but shared. Thus, the cloned can be used against the same connection as the original.
]]>
@@ -639,20 +639,20 @@
method retrieves rows from the data source using the SELECT statement specified by an associated property. The connection object associated with the SELECT statement must be valid, but it does not need to be open. If the connection is closed before is called, it is opened to retrieve data, then closed. If the connection is open before is called, it remains open.
+ The method retrieves rows from the data source using the SELECT statement specified by an associated property. The connection object associated with the SELECT statement must be valid, but it does not need to be open. If the connection is closed before is called, it is opened to retrieve data, then closed. If the connection is open before is called, it remains open.
- The operation then adds the rows to destination objects in the , creating the objects if they do not already exist. When creating objects, the operation normally creates only column name metadata. However, if the property is set to `AddWithKey`, appropriate primary keys and constraints are also created.
+ The operation then adds the rows to destination objects in the , creating the objects if they do not already exist. When creating objects, the operation normally creates only column name metadata. However, if the property is set to `AddWithKey`, appropriate primary keys and constraints are also created.
- If the `SelectCommand` returns the results of an OUTER JOIN, the `DataAdapter` does not set a value for the resulting . You must explicitly define the primary key to ensure that duplicate rows are resolved correctly. For more information, see [Defining Primary Keys](/dotnet/framework/data/adonet/dataset-datatable-dataview/defining-primary-keys).
+ If the `SelectCommand` returns the results of an OUTER JOIN, the `DataAdapter` does not set a value for the resulting . You must explicitly define the primary key to ensure that duplicate rows are resolved correctly. For more information, see [Defining Primary Keys](/dotnet/framework/data/adonet/dataset-datatable-dataview/defining-primary-keys).
If the data adapter encounters duplicate columns while populating a , it generates names for the subsequent columns, using the pattern "columnname1", "columnname2", "columnname3", and so on. If the incoming data contains unnamed columns, they are placed in the according to the pattern "Column1", "Column2", and so on. When multiple result sets are added to the each result set is placed in a separate table. Additional result sets are named by appending integral values to the specified table name (for example, "Table", "Table1", "Table2", and so on). Applications using column and table names should ensure that conflicts with these naming patterns does not occur.
When the SELECT statement used to populate the returns multiple results, such as a batch SQL statements, if one of the results contains an error, all subsequent results are skipped and not added to the .
- You can use the method multiple times on the same . If a primary key exists, incoming rows are merged with matching rows that already exist. If no primary key exists, incoming rows are appended to the .
+ You can use the method multiple times on the same . If a primary key exists, incoming rows are merged with matching rows that already exist. If no primary key exists, incoming rows are appended to the .
> [!NOTE]
-> When handling batch SQL statements that return multiple results, the implementation of for the .NET Framework Data Provider for OLE DB retrieves schema information for only the first result. To retrieve schema information for multiple results, use with the set to `AddWithKey`.
+> When handling batch SQL statements that return multiple results, the implementation of for the .NET Framework Data Provider for OLE DB retrieves schema information for only the first result. To retrieve schema information for multiple results, use with the set to `AddWithKey`.
]]>
@@ -1020,23 +1020,23 @@
method retrieves the schema from the data source using the . The connection object associated with the must be valid, but it does not need to be open. If the connection is closed before is called, it is opened to retrieve data and then closed. If the connection is open before is called, it remains open.
+ The method retrieves the schema from the data source using the . The connection object associated with the must be valid, but it does not need to be open. If the connection is closed before is called, it is opened to retrieve data and then closed. If the connection is open before is called, it remains open.
- A operation adds a to the destination . It then adds columns to the of the , and configures the following properties if they exist at the data source:
+ A operation adds a to the destination . It then adds columns to the of the , and configures the following properties if they exist at the data source:
--
+-
-- . You must set and separately.
+- . You must set and separately.
--
+-
--
+-
--
+-
- also configures the and properties according to the following rules:
+ also configures the and properties according to the following rules:
-- If one or more primary key columns are returned by the , they are used as the primary key columns for the .
+- If one or more primary key columns are returned by the , they are used as the primary key columns for the .
- If no primary key columns are returned but unique columns are, the unique columns are used as the primary key if, and only if, all the unique columns are nonnullable. If any of the columns are nullable, a is added to the , but the property is not set.
@@ -1051,10 +1051,10 @@ If a unique clustered index is defined on a column or columns in a SQL Server ta
If the encounters duplicate columns while populating a , it generates names for the subsequent columns, using the pattern "*columnname*1", "*columnname*2", "*columnname*3", and so on. If the incoming data contains unnamed columns, they are placed in the according to the pattern "Column1", "Column2", and so on. When multiple result sets are added to the each result set is placed in a separate table. Additional result sets are named by appending integral values to the specified table name (for example, "Table", "Table1", "Table2", and so on). Applications using column and table names should ensure that conflicts with these naming patterns does not occur.
- does not return any rows. Use the method to add rows to a .
+ does not return any rows. Use the method to add rows to a .
> [!NOTE]
-> When handling batch SQL statements that return multiple results, the implementation of for the .NET Framework Data Provider for OLE DB retrieves schema information for only the first result. To retrieve schema information for multiple results, use with the set to `AddWithKey`.
+> When handling batch SQL statements that return multiple results, the implementation of for the .NET Framework Data Provider for OLE DB retrieves schema information for only the first result. To retrieve schema information for multiple results, use with the set to `AddWithKey`.
]]>
@@ -1766,7 +1766,7 @@ If a unique clustered index is defined on a column or columns in a SQL Server ta
## Remarks
This member is an explicit interface member implementation. It can be used only when the instance is cast to an interface.
- For more information, see .
+ For more information, see .
]]>
@@ -1829,7 +1829,7 @@ If a unique clustered index is defined on a column or columns in a SQL Server ta
When reconciling changes, the uses the collection to associate the column names used by the data source with the column names used by the .
## Examples
- The following example uses a derived class, , to add objects to its collection and display a list of those mapped source tables. This example assumes that an has already been created.
+ The following example uses a derived class, , to add objects to its collection and display a list of those mapped source tables. This example assumes that an has already been created.
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataAdapter.TableMappings Example/CS/source.cs" id="Snippet1":::
:::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataAdapter/TableMappings/source.vb" id="Snippet1":::
@@ -1899,21 +1899,21 @@ If a unique clustered index is defined on a column or columns in a SQL Server ta
method determines the type of change that has been performed on it (Insert, Update or Delete). Depending on the type of change, the `Insert`, `Update,` or `Delete` command template executes to propagate the modified row to the data source. When an application calls the method, the examines the property, and executes the required INSERT, UPDATE, or DELETE statements iteratively for each row, based on the order of the indexes configured in the . For example, might execute a DELETE statement, followed by an INSERT statement, and then another DELETE statement, due to the ordering of the rows in the .
+ The update is performed on a by-row basis. For every inserted, modified, and deleted row, the method determines the type of change that has been performed on it (Insert, Update or Delete). Depending on the type of change, the `Insert`, `Update,` or `Delete` command template executes to propagate the modified row to the data source. When an application calls the method, the examines the property, and executes the required INSERT, UPDATE, or DELETE statements iteratively for each row, based on the order of the indexes configured in the . For example, might execute a DELETE statement, followed by an INSERT statement, and then another DELETE statement, due to the ordering of the rows in the .
- It should be noted that these statements are not performed as a batch process; each row is updated individually. An application can call the method in situations where you must control the sequence of statement types (for example, INSERT before UPDATE). For more information, see [Updating Data Sources with DataAdapters](/dotnet/framework/data/adonet/updating-data-sources-with-dataadapters).
+ It should be noted that these statements are not performed as a batch process; each row is updated individually. An application can call the method in situations where you must control the sequence of statement types (for example, INSERT before UPDATE). For more information, see [Updating Data Sources with DataAdapters](/dotnet/framework/data/adonet/updating-data-sources-with-dataadapters).
- If INSERT, UPDATE, or DELETE statements have not been specified, the method generates an exception. However, you can create a or object to automatically generate SQL statements for single-table updates if you set the `SelectCommand` property of a .NET Framework data provider. Then, any additional SQL statements that you do not set are generated by the **CommandBuilder**. This generation logic requires key column information to be present in the . For more information see [Generating Commands with CommandBuilders](/dotnet/framework/data/adonet/generating-commands-with-commandbuilders).
+ If INSERT, UPDATE, or DELETE statements have not been specified, the method generates an exception. However, you can create a or object to automatically generate SQL statements for single-table updates if you set the `SelectCommand` property of a .NET Framework data provider. Then, any additional SQL statements that you do not set are generated by the **CommandBuilder**. This generation logic requires key column information to be present in the . For more information see [Generating Commands with CommandBuilders](/dotnet/framework/data/adonet/generating-commands-with-commandbuilders).
- The method retrieves rows from the table listed in the first mapping before performing an update. The then refreshes the row using the value of the property. Any additional rows returned are ignored.
+ The method retrieves rows from the table listed in the first mapping before performing an update. The then refreshes the row using the value of the property. Any additional rows returned are ignored.
- After any data is loaded back into the , the event is raised, allowing the user to inspect the reconciled row and any output parameters returned by the command. After a row updates successfully, the changes to that row are accepted.
+ After any data is loaded back into the , the event is raised, allowing the user to inspect the reconciled row and any output parameters returned by the command. After a row updates successfully, the changes to that row are accepted.
- When using , the order of execution is as follows:
+ When using , the order of execution is as follows:
1. The values in the are moved to the parameter values.
-2. The event is raised.
+2. The event is raised.
3. The command executes.
@@ -1921,9 +1921,9 @@ If a unique clustered index is defined on a column or columns in a SQL Server ta
5. If there are output parameters, they are placed in the .
-6. The event is raised.
+6. The event is raised.
-7. is called. This will raise both the and events for the updated .
+7. is called. This will raise both the and events for the updated .
Each command associated with the usually has a parameters collection associated with it. Parameters are mapped to the current row through the `SourceColumn` and `SourceVersion` properties of a .NET data provider's `Parameter` class. `SourceColumn` refers to a column that the references to obtain parameter values for the current row.
@@ -1939,17 +1939,17 @@ If a unique clustered index is defined on a column or columns in a SQL Server ta
The `SourceVersion` property of a .NET data provider's `Parameter` class determines whether to use the Original, Current, or Proposed version of the column value. This capability is often used to include original values in the WHERE clause of an UPDATE statement to check for optimistic concurrency violations.
- Calling the method or method will commit all changes in the or . If either of these methods are called before the method is called, no changes will be committed when the method is called, unless further changes have been made since or was called.
+ Calling the method or method will commit all changes in the or . If either of these methods are called before the method is called, no changes will be committed when the method is called, unless further changes have been made since or was called.
> [!NOTE]
-> If an error occurs while updating a row, an exception is thrown and execution of the update is discontinued. To continue the update operation without generating exceptions when an error is encountered, set the property to `true` before calling . You may also respond to errors on a per-row basis within the `RowUpdated` event of a DataAdapter. To continue the update operation without generating an exception within the `RowUpdated` event, set the property of the to .
+> If an error occurs while updating a row, an exception is thrown and execution of the update is discontinued. To continue the update operation without generating exceptions when an error is encountered, set the property to `true` before calling . You may also respond to errors on a per-row basis within the `RowUpdated` event of a DataAdapter. To continue the update operation without generating an exception within the `RowUpdated` event, set the property of the to .
>
-> For every column that you propagate to the data source on , a parameter should be added to the `InsertCommand`, `UpdateCommand`, or `DeleteCommand`. The `SourceColumn` property of the parameter should be set to the name of the column. This setting indicates that the value of the parameter is not set manually, but is taken from the particular column in the currently processed row.
+> For every column that you propagate to the data source on , a parameter should be added to the `InsertCommand`, `UpdateCommand`, or `DeleteCommand`. The `SourceColumn` property of the parameter should be set to the name of the column. This setting indicates that the value of the parameter is not set manually, but is taken from the particular column in the currently processed row.
## Examples
- The following example uses the derived class, , to the data source.
+ The following example uses the derived class, , to the data source.
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataAdapter.IDataAdapter.Update Example/CS/source.cs" id="Snippet1":::
:::code language="vb" source="~/snippets/visualbasic/System.Data/IDataAdapter/Update/source.vb" id="Snippet1":::
diff --git a/xml/System.Data.Common/DataColumnMapping.xml b/xml/System.Data.Common/DataColumnMapping.xml
index 3107452d708..6c42393158f 100644
--- a/xml/System.Data.Common/DataColumnMapping.xml
+++ b/xml/System.Data.Common/DataColumnMapping.xml
@@ -67,19 +67,19 @@
Contains a generic column mapping for an object that inherits from . This class cannot be inherited.
- enables you to use column names in a that are different from those in the data source. The `DataAdapter` uses the mapping to match the columns when the tables in the or data source are updated. For more information, see [DataAdapter DataTable and DataColumn Mappings](/dotnet/framework/data/adonet/dataadapter-datatable-and-datacolumn-mappings).
-
-
-
-## Examples
- The following example creates a object and adds it to a . It then tells the user that the mapping was added to the collection and shows the Parent for the mapping.
-
+ enables you to use column names in a that are different from those in the data source. The `DataAdapter` uses the mapping to match the columns when the tables in the or data source are updated. For more information, see [DataAdapter DataTable and DataColumn Mappings](/dotnet/framework/data/adonet/dataadapter-datatable-and-datacolumn-mappings).
+
+
+
+## Examples
+ The following example creates a object and adds it to a . It then tells the user that the mapping was added to the collection and shows the Parent for the mapping.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataColumnMapping Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data/IColumnMapping/Overview/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data/IColumnMapping/Overview/source.vb" id="Snippet1":::
+
]]>
ADO.NET Overview
@@ -132,14 +132,14 @@
Initializes a new instance of the class.
- object, sets its properties, and clones it.
-
+ object, sets its properties, and clones it.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataColumnMapping.DataColumnMapping Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataColumnMapping/.ctor/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataColumnMapping/.ctor/source.vb" id="Snippet1":::
+
]]>
ADO.NET Overview
@@ -188,14 +188,14 @@
The column name, which is not case sensitive, from a to map to.
Initializes a new instance of the class with the specified source column name and column name to map to.
- object, sets its properties, and clones it.
-
+ object, sets its properties, and clones it.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataColumnMapping.DataColumnMapping1 Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataColumnMapping/.ctor/source1.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataColumnMapping/.ctor/source1.vb" id="Snippet1":::
+
]]>
ADO.NET Overview
@@ -254,14 +254,14 @@
Gets or sets the name of the column within the to map to.
The name of the column within the to map to. The name is not case sensitive.
- object, and sets its properties.
-
+ object, and sets its properties.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataColumnMapping.DataSetColumn Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data/IColumnMapping/DataSetColumn/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data/IColumnMapping/DataSetColumn/source.vb" id="Snippet1":::
+
]]>
ADO.NET Overview
@@ -478,14 +478,14 @@
Gets or sets the name of the column within the data source to map from. The name is case-sensitive.
The case-sensitive name of the column in the data source.
- object, and sets its properties.
-
+ object, and sets its properties.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataColumnMapping.DataSetColumn Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data/IColumnMapping/DataSetColumn/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data/IColumnMapping/DataSetColumn/source.vb" id="Snippet1":::
+
]]>
ADO.NET Overview
@@ -535,13 +535,13 @@
Creates a new object that is a copy of the current instance.
A copy of the current object.
- instance is cast to an interface.
-
- For more information, see .
-
+ instance is cast to an interface.
+
+ For more information, see .
+
]]>
ADO.NET Overview
@@ -588,14 +588,14 @@
Converts the current name to a string.
The current name as a string.
- object and adds it to a collection. It then tells the user that the mapping was added to the collection and shows the parent of mapping.
-
+ object and adds it to a collection. It then tells the user that the mapping was added to the collection and shows the parent of mapping.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataColumnMapping Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data/IColumnMapping/Overview/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data/IColumnMapping/Overview/source.vb" id="Snippet1":::
+
]]>
ADO.NET Overview
diff --git a/xml/System.Data.Common/DataColumnMappingCollection.xml b/xml/System.Data.Common/DataColumnMappingCollection.xml
index 4560b3f108e..b1080b824b2 100644
--- a/xml/System.Data.Common/DataColumnMappingCollection.xml
+++ b/xml/System.Data.Common/DataColumnMappingCollection.xml
@@ -69,14 +69,14 @@
Contains a collection of objects.
- to several objects to its collection, and then displays a list of those mapped source columns. This example assumes that a has already been created.
-
+ to several objects to its collection, and then displays a list of those mapped source columns. This example assumes that a has already been created.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataColumnMappingCollection Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data/IColumnMappingCollection/Overview/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data/IColumnMappingCollection/Overview/source.vb" id="Snippet1":::
+
]]>
ADO.NET Overview
@@ -118,14 +118,14 @@
Creates an empty .
- collection, adds objects to the collection, and displays a list of the mapped source columns.
-
+ collection, adds objects to the collection, and displays a list of the mapped source columns.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataColumnMappingCollection.DataColumnMappingCollection Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataColumnMappingCollection/.ctor/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataColumnMappingCollection/.ctor/source.vb" id="Snippet1":::
+
]]>
ADO.NET Overview
@@ -190,14 +190,14 @@
Adds a object to the collection.
The index of the object that was added to the collection.
- object within the collection. If the mapping exists in the collection, it is removed. If the mapping does not exist within the collection, it is added to the collection and its index is displayed. The example assumes that a collection and a object have been created.
-
+ object within the collection. If the mapping exists in the collection, it is removed. If the mapping does not exist within the collection, it is added to the collection and its index is displayed. The example assumes that a collection and a object have been created.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataColumnMappingCollection.Add Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataColumnMappingCollection/Add/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataColumnMappingCollection/Add/source.vb" id="Snippet1":::
+
]]>
The object passed in was not a object.
@@ -257,14 +257,14 @@
Adds a object to the collection when given a source column name and a column name.
The object that was added to the collection.
- collection, adds objects to the collection, and displays a list of the mapped source columns.
-
+ collection, adds objects to the collection, and displays a list of the mapped source columns.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataColumnMappingCollection.DataColumnMappingCollection Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataColumnMappingCollection/.ctor/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataColumnMappingCollection/.ctor/source.vb" id="Snippet1":::
+
]]>
ADO.NET Overview
@@ -415,14 +415,14 @@
Removes all objects from the collection.
- objects. It then clears the collection, and returns `true` if the parameters are no longer persisting. This example assumes that a collection has been created.
-
+ objects. It then clears the collection, and returns `true` if the parameters are no longer persisting. This example assumes that a collection has been created.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataColumnMappingCollection.Clear Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataColumnMappingCollection/Clear/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataColumnMappingCollection/Clear/source.vb" id="Snippet1":::
+
]]>
ADO.NET Overview
@@ -488,14 +488,14 @@
if the collection contains the specified object; otherwise, .
- within the collection. If the mapping exists in the collection, it is removed. If the mapping does not exist within the collection, it is added to the collection and its index is displayed. The example assumes that a collection and a object have been created.
-
+ within the collection. If the mapping exists in the collection, it is removed. If the mapping does not exist within the collection, it is added to the collection and its index is displayed. The example assumes that a collection and a object have been created.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataColumnMappingCollection.Contains1 Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataColumnMappingCollection/Contains/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataColumnMappingCollection/Contains/source.vb" id="Snippet1":::
+
]]>
The object passed in was not a object.
@@ -551,14 +551,14 @@
if collection contains a object with the specified source column name; otherwise, .
- object with the given source column name within a collection. If the exists, the example displays the name and the index of the mapping. If the mapping does not exist, the example displays an error. This example assumes that a collection has been created.
-
+ object with the given source column name within a collection. If the exists, the example displays the name and the index of the mapping. If the mapping does not exist, the example displays an error. This example assumes that a collection has been created.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataColumnMappingCollection.this1 Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data/IColumnMappingCollection/IndexOf/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data/IColumnMappingCollection/IndexOf/source.vb" id="Snippet1":::
+
]]>
ADO.NET Overview
@@ -730,14 +730,14 @@
Gets the number of objects in the collection.
The number of items in the collection.
- collection, adds objects to the collection, and displays a list of the mapped source columns.
-
+ collection, adds objects to the collection, and displays a list of the mapped source columns.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataColumnMappingCollection.Count Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataColumnMappingCollection/Count/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataColumnMappingCollection/Count/source.vb" id="Snippet1":::
+
]]>
ADO.NET Overview
@@ -787,14 +787,14 @@
Gets the object with the specified column name.
The object with the specified column name.
- within the collection. If the object exists, it is returned. The example assumes that a collection and a object have been created.
-
+ within the collection. If the object exists, it is returned. The example assumes that a collection and a object have been created.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataColumnMappingCollection.GetByDataSetColumn Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataColumnMappingCollection/GetByDataSetColumn/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataColumnMappingCollection/GetByDataSetColumn/source.vb" id="Snippet1":::
+
]]>
ADO.NET Overview
@@ -862,27 +862,27 @@
Gets a for the specified , source column name, and .
A object.
- exists in the collection, it is returned.
-
- If the does not exist in the collection, for a given , the following actions occur:
-
-|MissingMappingAction|Action Taken|
-|--------------------------|------------------|
-|`Passthrough`|Creates a with the specified source column name as both the source column name and the column name. This is not added to the collection.|
-|`Error`|An is generated if the specified column mapping is missing.|
-|`Ignore`|Gets a null value.|
-
-
-
-## Examples
- The following example searches for a with the given source column name within the collection. If the object exists, it is returned. The example assumes that a collection and a object have been created.
-
+ exists in the collection, it is returned.
+
+ If the does not exist in the collection, for a given , the following actions occur:
+
+|MissingMappingAction|Action Taken|
+|--------------------------|------------------|
+|`Passthrough`|Creates a with the specified source column name as both the source column name and the column name. This is not added to the collection.|
+|`Error`|An is generated if the specified column mapping is missing.|
+|`Ignore`|Gets a null value.|
+
+
+
+## Examples
+ The following example searches for a with the given source column name within the collection. If the object exists, it is returned. The example assumes that a collection and a object have been created.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataColumnMappingCollection.GetColumnMappingBySchemaAction Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataColumnMappingCollection/GetColumnMappingBySchemaAction/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataColumnMappingCollection/GetColumnMappingBySchemaAction/source.vb" id="Snippet1":::
+
]]>
The parameter was set to , and no mapping was specified.
@@ -1080,14 +1080,14 @@
Gets the location of the specified that is a within the collection.
The zero-based location of the specified that is a within the collection.
- within the collection. If the mapping exists in the collection, it is removed. If the mapping does not exist within the collection, it is added to the collection and its index is displayed. The example assumes that a collection and a object have been created.
-
+ within the collection. If the mapping exists in the collection, it is removed. If the mapping does not exist within the collection, it is added to the collection and its index is displayed. The example assumes that a collection and a object have been created.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataColumnMappingCollection.Contains1 Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataColumnMappingCollection/Contains/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataColumnMappingCollection/Contains/source.vb" id="Snippet1":::
+
]]>
ADO.NET Overview
@@ -1141,14 +1141,14 @@
Gets the location of the with the specified source column name.
The zero-based location of the with the specified case-sensitive source column name.
- object with the given source column name within a collection. If the exists, the example displays the name and the index of the mapping. If the mapping does not exist, the example displays an error. This example assumes that a collection has been created.
-
+ object with the given source column name within a collection. If the exists, the example displays the name and the index of the mapping. If the mapping does not exist, the example displays an error. This example assumes that a collection has been created.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataColumnMappingCollection.this1 Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data/IColumnMappingCollection/IndexOf/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data/IColumnMappingCollection/IndexOf/source.vb" id="Snippet1":::
+
]]>
ADO.NET Overview
@@ -1199,14 +1199,14 @@
Gets the location of the specified with the given column name.
The zero-based location of the specified with the given column name, or -1 if the object does not exist in the collection.
- within the collection. If the object exists, it is returned. The example assumes that a collection and a object have been created.
-
+ within the collection. If the object exists, it is returned. The example assumes that a collection and a object have been created.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataColumnMappingCollection.GetByDataSetColumn Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataColumnMappingCollection/GetByDataSetColumn/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataColumnMappingCollection/GetByDataSetColumn/source.vb" id="Snippet1":::
+
]]>
ADO.NET Overview
@@ -1391,14 +1391,14 @@
Gets or sets the object at the specified index.
The object at the specified index.
- collection, adds objects to the collection, and displays a list of the mapped source columns.
-
+ collection, adds objects to the collection, and displays a list of the mapped source columns.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataColumnMappingCollection.Count Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataColumnMappingCollection/Count/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataColumnMappingCollection/Count/source.vb" id="Snippet1":::
+
]]>
ADO.NET Overview
@@ -1462,14 +1462,14 @@
Gets or sets the object with the specified source column name.
The object with the specified source column name.
- object with the given source column name within a collection. If the exists, the example displays the name and the index of the mapping. If the mapping does not exist, the example displays an error. This example assumes that a collection has been created.
-
+ object with the given source column name within a collection. If the exists, the example displays the name and the index of the mapping. If the mapping does not exist, the example displays an error. This example assumes that a collection has been created.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataColumnMappingCollection.this1 Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data/IColumnMappingCollection/IndexOf/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data/IColumnMappingCollection/IndexOf/source.vb" id="Snippet1":::
+
]]>
ADO.NET Overview
@@ -1578,14 +1578,14 @@
The that is the to remove.
Removes the that is a from the collection.
- within the collection. If the mapping exists in the collection, it is removed. If the mapping does not exist within the collection, it is added to the collection and its index is displayed. The example assumes that a collection and a object have been created.
-
+ within the collection. If the mapping exists in the collection, it is removed. If the mapping does not exist within the collection, it is added to the collection and its index is displayed. The example assumes that a collection and a object have been created.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataColumnMappingCollection.Add Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataColumnMappingCollection/Add/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataColumnMappingCollection/Add/source.vb" id="Snippet1":::
+
]]>
The object specified was not a object.
@@ -1650,14 +1650,14 @@
The zero-based index of the object to remove.
Removes the object with the specified index from the collection.
- object with the given index within a collection. If the exists, the mapping is removed. This example assumes that a collection has been created.
-
+ object with the given index within a collection. If the exists, the mapping is removed. This example assumes that a collection has been created.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataColumnMappingCollection.RemoveAt Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataColumnMappingCollection/RemoveAt/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataColumnMappingCollection/RemoveAt/source.vb" id="Snippet1":::
+
]]>
There is no object with the specified index.
@@ -1710,14 +1710,14 @@
The case-sensitive source column name.
Removes the object with the specified source column name from the collection.
- object with the given source column name within a collection. If the exists, the mapping is removed. This example assumes that a collection has been created.
-
+ object with the given source column name within a collection. If the exists, the mapping is removed. This example assumes that a collection has been created.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataColumnMappingCollection.RemoveAt1 Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data/IColumnMappingCollection/RemoveAt/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data/IColumnMappingCollection/RemoveAt/source.vb" id="Snippet1":::
+
]]>
There is no object with the specified source column name.
@@ -1767,13 +1767,13 @@
if access to the is synchronized (thread safe); otherwise, .
- instance is cast to an interface.
-
- For more information, see .
-
+ instance is cast to an interface.
+
+ For more information, see .
+
]]>
ADO.NET Overview
@@ -1821,13 +1821,13 @@
Gets an object that can be used to synchronize access to the .
An object that can be used to synchronize access to the .
- instance is cast to an interface.
-
- For more information, see .
-
+ instance is cast to an interface.
+
+ For more information, see .
+
]]>
ADO.NET Overview
@@ -1876,13 +1876,13 @@
if the has a fixed size; otherwise, .
- instance is cast to an interface.
-
- For more information, see .
-
+ instance is cast to an interface.
+
+ For more information, see .
+
]]>
ADO.NET Overview
@@ -1931,13 +1931,13 @@
if the is read-only; otherwise, .
- instance is cast to an interface.
-
- For more information, see .
-
+ instance is cast to an interface.
+
+ For more information, see .
+
]]>
ADO.NET Overview
@@ -1996,13 +1996,13 @@
Gets or sets the element at the specified index.
The element at the specified index.
- .
-
- This member is an explicit interface member implementation. It can be used only when the instance is cast to an interface.
-
+ .
+
+ This member is an explicit interface member implementation. It can be used only when the instance is cast to an interface.
+
]]>
ADO.NET Overview
@@ -2057,13 +2057,13 @@
Adds a object to the by using the source column and column names.
The ColumnMapping object that was added to the collection.
- instance is cast to an interface.
-
- For more information, see .
-
+ instance is cast to an interface.
+
+ For more information, see .
+
]]>
ADO.NET Overview
@@ -2116,13 +2116,13 @@
Gets the object that has the specified column name.
The object that has the specified column name.
- instance is cast to an interface.
-
- For more information, see .
-
+ instance is cast to an interface.
+
+ For more information, see .
+
]]>
ADO.NET Overview
@@ -2174,13 +2174,13 @@
Gets or sets the object with the specified name.
The object with the specified name.
- instance is cast to an interface.
-
- For more information, see .
-
+ instance is cast to an interface.
+
+ For more information, see .
+
]]>
ADO.NET Overview
diff --git a/xml/System.Data.Common/DataTableMapping.xml b/xml/System.Data.Common/DataTableMapping.xml
index c64da1c3766..3c333b3adfb 100644
--- a/xml/System.Data.Common/DataTableMapping.xml
+++ b/xml/System.Data.Common/DataTableMapping.xml
@@ -67,17 +67,17 @@
Contains a description of a mapped relationship between a source table and a . This class is used by a when populating a .
- provides a primary mapping between the data returned from a query against a data source, and a . The name can be passed in place of the name to the `Fill` method of the **DataAdapter**. For more information, see [DataAdapter DataTable and DataColumn Mappings](/dotnet/framework/data/adonet/dataadapter-datatable-and-datacolumn-mappings).
-
-## Examples
- The following example creates a object and adds it to a . It then informs the user that the mapping was added to the collection and displays the parent mapping.
-
+ provides a primary mapping between the data returned from a query against a data source, and a . The name can be passed in place of the name to the `Fill` method of the **DataAdapter**. For more information, see [DataAdapter DataTable and DataColumn Mappings](/dotnet/framework/data/adonet/dataadapter-datatable-and-datacolumn-mappings).
+
+## Examples
+ The following example creates a object and adds it to a . It then informs the user that the mapping was added to the collection and displays the parent mapping.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataTableMapping Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data/ITableMapping/Overview/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data/ITableMapping/Overview/source.vb" id="Snippet1":::
+
]]>
ADO.NET Overview
@@ -130,14 +130,14 @@
Initializes a new instance of the class.
- object.
-
+ object.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataTableMapping.DataTableMapping Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMapping/DataSetTable/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMapping/DataSetTable/source.vb" id="Snippet1":::
+
]]>
ADO.NET Overview
@@ -186,14 +186,14 @@
The table name from a to map to.
Initializes a new instance of the class with a source when given a source table name and a name.
- object and sets some of its properties.
-
+ object and sets some of its properties.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataTableMapping.DataTableMapping1 Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMapping/.ctor/source1.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMapping/.ctor/source1.vb" id="Snippet1":::
+
]]>
ADO.NET Overview
@@ -251,14 +251,14 @@
An array of objects.
Initializes a new instance of the class when given a source table name, a name, and an array of objects.
- object, sets some of its properties, and copies its to an array. This example assumes that a has been created.
-
+ object, sets some of its properties, and copies its to an array. This example assumes that a has been created.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataTableMapping.DataTableMapping2 Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMapping/.ctor/source2.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMapping/.ctor/source2.vb" id="Snippet1":::
+
]]>
ADO.NET Overview
@@ -314,14 +314,14 @@
Gets the for the .
A data column mapping collection.
- object, sets some of its properties, and copies its to an array. This example assumes that a has been created.
-
+ object, sets some of its properties, and copies its to an array. This example assumes that a has been created.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataTableMapping.ColumnMappings Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data/ITableMapping/ColumnMappings/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data/ITableMapping/ColumnMappings/source.vb" id="Snippet1":::
+
]]>
ADO.NET Overview
@@ -380,14 +380,14 @@
Gets or sets the table name from a .
The table name from a .
- object and sets some of its properties.
-
+ object and sets some of its properties.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataTableMapping.DataSetTable Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMapping/.ctor/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMapping/.ctor/source.vb" id="Snippet1":::
+
]]>
ADO.NET Overview
@@ -452,19 +452,19 @@
Gets a from the specified using the specified value and the name of the .
A data column.
- exists, it is returned.
-
- If the does not exist, for a given , the following actions occur:
-
-|MissingMappingAction|Action taken|
-|--------------------------|------------------|
-|`Passthrough`|Creates a with the specified source column name as both the source column name and the column name. This is not added to the collection.|
-|`Error`|An is generated if the specified column mapping is missing.|
-|`Ignore`|Gets a null value.|
-
+ exists, it is returned.
+
+ If the does not exist, for a given , the following actions occur:
+
+|MissingMappingAction|Action taken|
+|--------------------------|------------------|
+|`Passthrough`|Creates a with the specified source column name as both the source column name and the column name. This is not added to the collection.|
+|`Error`|An is generated if the specified column mapping is missing.|
+|`Ignore`|Gets a null value.|
+
]]>
The parameter was set to , and no mapping was specified.
@@ -608,19 +608,19 @@
Gets the current for the specified using the specified value.
A data table.
- does not exist, the specified is taken.
-
-
-
-## Examples
- The following example gets the for a given . If there is no current table for the , `null` is returned. This example assumes that a and a collection have been created.
-
+ does not exist, the specified is taken.
+
+
+
+## Examples
+ The following example gets the for a given . If there is no current table for the , `null` is returned. This example assumes that a and a collection have been created.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataTableMapping.GetDataTableBySchemaAction Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMapping/GetDataTableBySchemaAction/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMapping/GetDataTableBySchemaAction/source.vb" id="Snippet1":::
+
]]>
ADO.NET Overview
@@ -679,14 +679,14 @@
Gets or sets the case-sensitive source table name from a data source.
The case-sensitive source table name from a data source.
- object and sets some of its properties.
-
+ object and sets some of its properties.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataTableMapping.DataSetTable Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMapping/.ctor/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMapping/.ctor/source.vb" id="Snippet1":::
+
]]>
ADO.NET Overview
@@ -734,13 +734,13 @@
Gets the derived for the .
A data column mapping collection.
- instance is cast to an interface.
-
- For more information, see .
-
+ instance is cast to an interface.
+
+ For more information, see .
+
]]>
ADO.NET Overview
@@ -790,13 +790,13 @@
Creates a new object that is a copy of the current instance.
A new object that is a copy of the current instance.
- instance is cast to an interface.
-
- For more information, see .
-
+ instance is cast to an interface.
+
+ For more information, see .
+
]]>
ADO.NET Overview
@@ -843,14 +843,14 @@
Converts the current name to a string.
The current name, as a string.
- object and adds it to a collection. It then informs the user that the mapping has been added to the collection and displays the parent mapping.
-
+ object and adds it to a collection. It then informs the user that the mapping has been added to the collection and displays the parent mapping.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataTableMapping.ToString Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMapping/ToString/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMapping/ToString/source.vb" id="Snippet1":::
+
]]>
ADO.NET Overview
diff --git a/xml/System.Data.Common/DataTableMappingCollection.xml b/xml/System.Data.Common/DataTableMappingCollection.xml
index d67d26d5a96..49463a298c8 100644
--- a/xml/System.Data.Common/DataTableMappingCollection.xml
+++ b/xml/System.Data.Common/DataTableMappingCollection.xml
@@ -85,14 +85,14 @@
A collection of objects. This class cannot be inherited.
- to objects to its collection, and then displays a list of those mapped source tables. This example assumes that an has already been created.
-
+ to objects to its collection, and then displays a list of those mapped source tables. This example assumes that an has already been created.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataTableMappingCollection Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMappingCollection/Overview/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMappingCollection/Overview/source.vb" id="Snippet1":::
+
]]>
@@ -133,14 +133,14 @@
Initializes a new instance of the class. This new instance is empty, that is, it does not yet contain any objects.
- , adds objects to the collection, and displays a list of the mapped source tables.
-
+ , adds objects to the collection, and displays a list of the mapped source tables.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataTableMappingCollection.DataTableMappingCollection Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMappingCollection/.ctor/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMappingCollection/.ctor/source.vb" id="Snippet1":::
+
]]>
@@ -203,14 +203,14 @@
Adds an that is a table mapping to the collection.
The index of the object added to the collection.
- within the collection. If the mapping exists in the collection, it is removed. If the mapping does not exist within the collection, it is added to the collection and its index is displayed. The example assumes that a collection and a object have been created.
-
+ within the collection. If the mapping exists in the collection, it is removed. If the mapping does not exist within the collection, it is added to the collection and its index is displayed. The example assumes that a collection and a object have been created.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataTableMappingCollection.Add Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMappingCollection/Add/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMappingCollection/Add/source.vb" id="Snippet1":::
+
]]>
The object passed in was not a object.
@@ -269,14 +269,14 @@
Adds a object to the collection when given a source table name and a table name.
The object that was added to the collection.
- , adds objects to the collection, and displays a list of the mapped source tables.
-
+ , adds objects to the collection, and displays a list of the mapped source tables.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataTableMappingCollection.DataTableMappingCollection Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMappingCollection/.ctor/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMappingCollection/.ctor/source.vb" id="Snippet1":::
+
]]>
@@ -423,14 +423,14 @@
Removes all objects from the collection.
- method to export the collection to an array of objects. It then clears the collection, and returns `true` if the parameters are no longer persisting. This example assumes that a has already been created.
-
+ method to export the collection to an array of objects. It then clears the collection, and returns `true` if the parameters are no longer persisting. This example assumes that a has already been created.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataTableMappingCollection.Clear Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMappingCollection/Clear/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMappingCollection/Clear/source.vb" id="Snippet1":::
+
]]>
@@ -494,14 +494,14 @@
if this collection contains the specified ; otherwise .
- within the collection. If the mapping exists in the collection, it is removed. If the mapping does not exist within the collection, it is added to the collection and its index is displayed. The example assumes that a collection and a object have been created.
-
+ within the collection. If the mapping exists in the collection, it is removed. If the mapping does not exist within the collection, it is added to the collection and its index is displayed. The example assumes that a collection and a object have been created.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataTableMappingCollection.Contains1 Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMappingCollection/Contains/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMappingCollection/Contains/source.vb" id="Snippet1":::
+
]]>
@@ -555,14 +555,14 @@
if the collection contains a object with this source table name; otherwise .
- object with the given source table name within a collection. If the exists, the example displays the name and the index of the mapping. If the mapping does not exist, the example displays an error. This example assumes that a collection has been created.
-
+ object with the given source table name within a collection. If the exists, the example displays the name and the index of the mapping. If the mapping does not exist, the example displays an error. This example assumes that a collection has been created.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataTableMappingCollection.this1 Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMappingCollection/Contains/source1.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMappingCollection/Contains/source1.vb" id="Snippet1":::
+
]]>
@@ -730,14 +730,14 @@
Gets the number of objects in the collection.
The number of objects in the collection.
- , adds objects to the collection, and displays a list of the mapped source tables.
-
+ , adds objects to the collection, and displays a list of the mapped source tables.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataTableMappingCollection.Count Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMappingCollection/Count/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMappingCollection/Count/source.vb" id="Snippet1":::
+
]]>
@@ -786,14 +786,14 @@
Gets the object with the specified table name.
The object with the specified table name.
- within the collection. If the object exists, it is returned. The example assumes that a collection and a object have been created.
-
+ within the collection. If the object exists, it is returned. The example assumes that a collection and a object have been created.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataTableMappingCollection.GetByDataSetTable Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMappingCollection/GetByDataSetTable/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMappingCollection/GetByDataSetTable/source.vb" id="Snippet1":::
+
]]>
@@ -914,27 +914,27 @@
Gets a object with the specified source table name and table name, using the given .
A object.
- exists in the collection, it is returned.
-
- If the does not exist in the collection for a given , the following happens:
-
-|MissingMappingAction|Action taken|
-|--------------------------|------------------|
-|`Passthrough`|Creates a object with the given `sourceTable` as the source table name and `dataSetTable` as the table name. The created object is not added to the collection.|
-|`Error`|An exception is generated. The `dataSetTable` parameter is ignored.|
-|`Ignore`|Gets `null`. The `dataSetTable` parameter is ignored.|
-
-
-
-## Examples
- The following example searches for a with the given source table name within the collection. If the object exists, it is returned. The example assumes that a collection and a object have been created.
-
+ exists in the collection, it is returned.
+
+ If the does not exist in the collection for a given , the following happens:
+
+|MissingMappingAction|Action taken|
+|--------------------------|------------------|
+|`Passthrough`|Creates a object with the given `sourceTable` as the source table name and `dataSetTable` as the table name. The created object is not added to the collection.|
+|`Error`|An exception is generated. The `dataSetTable` parameter is ignored.|
+|`Ignore`|Gets `null`. The `dataSetTable` parameter is ignored.|
+
+
+
+## Examples
+ The following example searches for a with the given source table name within the collection. If the object exists, it is returned. The example assumes that a collection and a object have been created.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataTableMappingCollection.GetTableMappingBySchemaAction Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMappingCollection/GetTableMappingBySchemaAction/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMappingCollection/GetTableMappingBySchemaAction/source.vb" id="Snippet1":::
+
]]>
The parameter was set to , and no mapping was specified.
@@ -998,14 +998,14 @@
Gets the location of the specified object within the collection.
The zero-based location of the specified object within the collection.
- within the collection. If the mapping exists in the collection, it is removed. If the mapping does not exist within the collection, it is added to the collection and its index is displayed. The example assumes that a collection and a object have been created.
-
+ within the collection. If the mapping exists in the collection, it is removed. If the mapping does not exist within the collection, it is added to the collection and its index is displayed. The example assumes that a collection and a object have been created.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataTableMappingCollection.Contains1 Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMappingCollection/Contains/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMappingCollection/Contains/source.vb" id="Snippet1":::
+
]]>
@@ -1058,14 +1058,14 @@
Gets the location of the object with the specified source table name.
The zero-based location of the object with the specified source table name.
- object with the given source table name within a collection. If the exists, the example displays the name and the index of the mapping. If the mapping does not exist, the example displays an error. This example assumes that a collection has been created.
-
+ object with the given source table name within a collection. If the exists, the example displays the name and the index of the mapping. If the mapping does not exist, the example displays an error. This example assumes that a collection has been created.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataTableMappingCollection.this1 Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMappingCollection/Contains/source1.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMappingCollection/Contains/source1.vb" id="Snippet1":::
+
]]>
@@ -1115,14 +1115,14 @@
Gets the location of the object with the specified table name.
The zero-based location of the object with the given table name, or -1 if the object does not exist in the collection.
- within the collection. If the object exists, it is returned. The example assumes that a collection and a object have been created.
-
+ within the collection. If the object exists, it is returned. The example assumes that a collection and a object have been created.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataTableMappingCollection.GetByDataSetTable Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMappingCollection/GetByDataSetTable/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMappingCollection/GetByDataSetTable/source.vb" id="Snippet1":::
+
]]>
@@ -1302,14 +1302,14 @@
Gets or sets the object at the specified index.
The object at the specified index.
- collection, adds objects to the collection, and displays a list of the mapped source tables.
-
+ collection, adds objects to the collection, and displays a list of the mapped source tables.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataTableMappingCollection.Count Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMappingCollection/Count/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMappingCollection/Count/source.vb" id="Snippet1":::
+
]]>
@@ -1372,14 +1372,14 @@
Gets or sets the object with the specified source table name.
The object with the specified source table name.
- object with the given source table name within a collection. If the exists, the example displays the name and the index of the mapping. If the mapping does not exist, the example displays an error. This example assumes that a collection has been created.
-
+ object with the given source table name within a collection. If the exists, the example displays the name and the index of the mapping. If the mapping does not exist, the example displays an error. This example assumes that a collection has been created.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataTableMappingCollection.this1 Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMappingCollection/Contains/source1.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMappingCollection/Contains/source1.vb" id="Snippet1":::
+
]]>
@@ -1485,14 +1485,14 @@
The object to remove.
Removes the specified object from the collection.
- within the collection. If the mapping exists in the collection, it is removed. If the mapping does not exist within the collection, it is added to the collection and its index is displayed. The example assumes that a collection and a object have been created.
-
+ within the collection. If the mapping exists in the collection, it is removed. If the mapping does not exist within the collection, it is added to the collection and its index is displayed. The example assumes that a collection and a object have been created.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataTableMappingCollection.Add Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMappingCollection/Add/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMappingCollection/Add/source.vb" id="Snippet1":::
+
]]>
The object specified was not a object.
@@ -1555,14 +1555,14 @@
The zero-based index of the object to remove.
Removes the object located at the specified index from the collection.
- object with the given source table name within a collection. If the exists, the mapping is removed. This example assumes that a collection has been created.
-
+ object with the given source table name within a collection. If the exists, the mapping is removed. This example assumes that a collection has been created.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataTableMappingCollection.RemoveAt Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMappingCollection/RemoveAt/source.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMappingCollection/RemoveAt/source.vb" id="Snippet1":::
+
]]>
A object does not exist with the specified index.
@@ -1614,14 +1614,14 @@
The case-sensitive source table name to find.
Removes the object with the specified source table name from the collection.
- object with the given source table name within a collection. If the exists, the mapping is removed. This example assumes that a collection has been created.
-
+ object with the given source table name within a collection. If the exists, the mapping is removed. This example assumes that a collection has been created.
+
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataTableMappingCollection.RemoveAt1 Example/CS/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMappingCollection/RemoveAt/source1.vb" id="Snippet1":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DataTableMappingCollection/RemoveAt/source1.vb" id="Snippet1":::
+
]]>
A object does not exist with the specified source table name.
@@ -1670,13 +1670,13 @@
if access to the is synchronized (thread safe); otherwise, .
- instance is cast to an interface.
-
- For more information, see .
-
+ instance is cast to an interface.
+
+ For more information, see .
+
]]>
@@ -1723,13 +1723,13 @@
Gets an object that can be used to synchronize access to the .
An object that can be used to synchronize access to the .
- instance is cast to an interface.
-
- For more information, see .
-
+ instance is cast to an interface.
+
+ For more information, see .
+
]]>
@@ -1777,13 +1777,13 @@
if the has a fixed size; otherwise, .
- instance is cast to an interface.
-
- For more information, see .
-
+ instance is cast to an interface.
+
+ For more information, see .
+
]]>
@@ -1831,13 +1831,13 @@
if the is read-only; otherwise, .
- instance is cast to an interface.
-
- For more information, see .
-
+ instance is cast to an interface.
+
+ For more information, see .
+
]]>
@@ -1895,13 +1895,13 @@
Gets or sets an item from the collection at a specified index.
The element at the specified index.
- instance is cast to an interface.
-
- For more information, see .
-
+ instance is cast to an interface.
+
+ For more information, see .
+
]]>
@@ -1955,13 +1955,13 @@
Adds a table mapping to the collection.
A reference to the newly-mapped object.
- instance is cast to an interface.
-
- For more information, see .
-
+ instance is cast to an interface.
+
+ For more information, see .
+
]]>
@@ -2013,13 +2013,13 @@
Gets the TableMapping object with the specified table name.
The TableMapping object with the specified table name.
- instance is cast to an interface.
-
- For more information, see .
-
+ instance is cast to an interface.
+
+ For more information, see .
+
]]>
@@ -2070,13 +2070,13 @@
Gets or sets the instance of with the specified name.
The instance of with the specified name.
- instance is cast to an interface.
-
- For more information, see .
-
+ instance is cast to an interface.
+
+ For more information, see .
+
]]>
diff --git a/xml/System.Data.Common/DbBatch.xml b/xml/System.Data.Common/DbBatch.xml
index 4e7ecdb3f26..982a04eb628 100644
--- a/xml/System.Data.Common/DbBatch.xml
+++ b/xml/System.Data.Common/DbBatch.xml
@@ -484,9 +484,9 @@ The precise semantics of batch execution vary across ADO.NET providers, especial
to perform catalog operations (for example, querying the structure of a database or creating database objects such as tables), or to change the data in a database by executing UPDATE, INSERT, or DELETE statements.
+ You can use to perform catalog operations (for example, querying the structure of a database or creating database objects such as tables), or to change the data in a database by executing UPDATE, INSERT, or DELETE statements.
- Although does not return any rows, any output parameters or return values mapped to parameters are populated with data.
+ Although does not return any rows, any output parameters or return values mapped to parameters are populated with data.
For UPDATE, INSERT, and DELETE statements, the return value is the total number of rows affected by the batch. If no UPDATE, INSERT, or DELETE statements are included in the batch, the return value is -1.
@@ -605,7 +605,7 @@ The precise semantics of batch execution vary across ADO.NET providers, especial
in . For more information about asynchronous programming, see [Asynchronous Programming](/dotnet/framework/data/adonet/asynchronous-programming).
+ Managed provider implementers must call in . For more information about asynchronous programming, see [Asynchronous Programming](/dotnet/framework/data/adonet/asynchronous-programming).
]]>
@@ -646,7 +646,7 @@ The precise semantics of batch execution vary across ADO.NET providers, especial
in . For more information about asynchronous programming, see [Asynchronous Programming](/dotnet/framework/data/adonet/asynchronous-programming).
+ Managed provider implementers must call in . For more information about asynchronous programming, see [Asynchronous Programming](/dotnet/framework/data/adonet/asynchronous-programming).
This method stores in the task it returns all non-usage exceptions that the method's synchronous counterpart can throw. If an exception is stored into the returned task, that exception will be thrown when the task is awaited. Usage exceptions, such as , are still thrown synchronously. For the stored exceptions, see the exceptions thrown by .
diff --git a/xml/System.Data.Common/DbCommand.xml b/xml/System.Data.Common/DbCommand.xml
index 7324026bd38..f62a96bf102 100644
--- a/xml/System.Data.Common/DbCommand.xml
+++ b/xml/System.Data.Common/DbCommand.xml
@@ -999,9 +999,9 @@
to perform catalog operations (for example, querying the structure of a database or creating database objects such as tables), or to change the data in a database by executing UPDATE, INSERT, or DELETE statements.
+ You can use to perform catalog operations (for example, querying the structure of a database or creating database objects such as tables), or to change the data in a database by executing UPDATE, INSERT, or DELETE statements.
- Although does not return any rows, any output parameters or return values mapped to parameters are populated with data.
+ Although does not return any rows, any output parameters or return values mapped to parameters are populated with data.
For UPDATE, INSERT, and DELETE statements, the return value is the number of rows affected by the command. For all other types of statements, the return value is -1.
@@ -1262,7 +1262,7 @@
in . For more information about asynchronous programming, see [Asynchronous Programming](/dotnet/framework/data/adonet/asynchronous-programming).
+ Managed provider implementers must call in . For more information about asynchronous programming, see [Asynchronous Programming](/dotnet/framework/data/adonet/asynchronous-programming).
]]>
@@ -1315,7 +1315,7 @@
in . For more information about asynchronous programming, see [Asynchronous Programming](/dotnet/framework/data/adonet/asynchronous-programming).
+ Managed provider implementers must call in . For more information about asynchronous programming, see [Asynchronous Programming](/dotnet/framework/data/adonet/asynchronous-programming).
This method stores in the task it returns all non-usage exceptions that the method's synchronous counterpart can throw. If an exception is stored into the returned task, that exception will be thrown when the task is awaited. Usage exceptions, such as , are still thrown synchronously. For the stored exceptions, see the exceptions thrown by .
@@ -1375,7 +1375,7 @@
in . For more information about asynchronous programming, see [Asynchronous Programming](/dotnet/framework/data/adonet/asynchronous-programming).
+ Managed provider implementers must call in . For more information about asynchronous programming, see [Asynchronous Programming](/dotnet/framework/data/adonet/asynchronous-programming).
This method stores in the task it returns all non-usage exceptions that the method's synchronous counterpart can throw. If an exception is stored into the returned task, that exception will be thrown when the task is awaited. Usage exceptions, such as , are still thrown synchronously. For the stored exceptions, see the exceptions thrown by .
@@ -1435,7 +1435,7 @@
in . For more information about asynchronous programming, see [Asynchronous Programming](/dotnet/framework/data/adonet/asynchronous-programming).
+ Managed provider implementers must call in . For more information about asynchronous programming, see [Asynchronous Programming](/dotnet/framework/data/adonet/asynchronous-programming).
This method stores in the task it returns all non-usage exceptions that the method's synchronous counterpart can throw. If an exception is stored into the returned task, that exception will be thrown when the task is awaited. Usage exceptions, such as , are still thrown synchronously. For the stored exceptions, see the exceptions thrown by .
@@ -1496,7 +1496,7 @@
in . For more information about asynchronous programming, see [Asynchronous Programming](/dotnet/framework/data/adonet/asynchronous-programming).
+ Managed provider implementers must call in . For more information about asynchronous programming, see [Asynchronous Programming](/dotnet/framework/data/adonet/asynchronous-programming).
This method stores in the task it returns all non-usage exceptions that the method's synchronous counterpart can throw. If an exception is stored into the returned task, that exception will be thrown when the task is awaited. Usage exceptions, such as , are still thrown synchronously. For the stored exceptions, see the exceptions thrown by .
@@ -1557,7 +1557,7 @@
method to retrieve a single value (for example, an aggregate value) from a database. This requires less code than using the method and performing the operations necessary to generate the single value using the data returned by a .
+ Use the method to retrieve a single value (for example, an aggregate value) from a database. This requires less code than using the method and performing the operations necessary to generate the single value using the data returned by a .
If the first column of the first row in the result set is not found, a null reference (`Nothing` in Visual Basic) is returned. If the value in the database is `null`, the query returns `DBNull.Value`.
@@ -1805,7 +1805,7 @@
property is set to `TableDirect`, `Prepare` does nothing. If is set to `StoredProcedure`, the call to `Prepare` should succeed, although it may result in a no-op.
+ If the property is set to `TableDirect`, `Prepare` does nothing. If is set to `StoredProcedure`, the call to `Prepare` should succeed, although it may result in a no-op.
]]>
@@ -1856,7 +1856,7 @@
Data providers that support [asynchronous programming](/dotnet/framework/data/adonet/asynchronous-programming) should override the default implementation using asynchronous I/O operations.
- If the property is set to `TableDirect`, `PrepareAsync` does nothing. If is set to `StoredProcedure`, the call to `PrepareAsync` should succeed, although it may result in a no-op.
+ If the property is set to `TableDirect`, `PrepareAsync` does nothing. If is set to `StoredProcedure`, the call to `PrepareAsync` should succeed, although it may result in a no-op.
This method stores in the task it returns all non-usage exceptions that the method's synchronous counterpart can throw. If an exception is stored into the returned task, that exception will be thrown when the task is awaited. Usage exceptions, such as , are still thrown synchronously. For the stored exceptions, see the exceptions thrown by .
@@ -1918,7 +1918,7 @@
.
+ For more information, see .
]]>
@@ -1974,7 +1974,7 @@
## Remarks
This member is an explicit interface member implementation. It can be used only when the instance is cast to an interface.
- For more information, see .
+ For more information, see .
]]>
@@ -2041,7 +2041,7 @@
## Remarks
This member is an explicit interface member implementation. It can be used only when the instance is cast to an interface.
- For more information, see .
+ For more information, see .
]]>
@@ -2100,7 +2100,7 @@
## Remarks
This member is an explicit interface member implementation. It can be used only when the instance is cast to an interface.
- For more information, see .
+ For more information, see .
]]>
@@ -2155,7 +2155,7 @@
## Remarks
This member is an explicit interface member implementation. It can be used only when the instance is cast to an interface.
- For more information, see .
+ For more information, see .
]]>
diff --git a/xml/System.Data.Common/DbCommandBuilder.xml b/xml/System.Data.Common/DbCommandBuilder.xml
index 10df25ac81b..d6cf0fffe1c 100644
--- a/xml/System.Data.Common/DbCommandBuilder.xml
+++ b/xml/System.Data.Common/DbCommandBuilder.xml
@@ -60,13 +60,13 @@
The registers itself as a listener for events whenever you set the property. You can only associate one or object with each other at one time.
- To generate INSERT, UPDATE, or DELETE statements, the uses the property to retrieve a required set of metadata automatically. If you change the after the metadata has been retrieved (for example, after the first update), you should call the method to update the metadata.
+ To generate INSERT, UPDATE, or DELETE statements, the uses the property to retrieve a required set of metadata automatically. If you change the after the metadata has been retrieved (for example, after the first update), you should call the method to update the metadata.
The `SelectCommand` must also return at least one primary key or unique column. If none exist, an exception is generated, and the commands are not generated.
- The also uses the , , and properties referenced by the . The user should call if any of these properties are modified, or if the itself is replaced. Otherwise the , , and properties retain their previous values.
+ The also uses the , , and properties referenced by the . The user should call if any of these properties are modified, or if the itself is replaced. Otherwise the , , and properties retain their previous values.
- If you call , the is disassociated from the , and the generated commands are no longer used.
+ If you call , the is disassociated from the , and the generated commands are no longer used.
]]>
@@ -433,9 +433,9 @@
method and the method, if it has been overridden. invokes the protected method with the disposing parameter set to `true`. `Finalize` specifies the `disposing` parameter as `false`.
+ This method is called by the public method and the method, if it has been overridden. invokes the protected method with the disposing parameter set to `true`. `Finalize` specifies the `disposing` parameter as `false`.
-When the `disposing` parameter is `true`, this method releases all resources held by any managed objects that this references. This method invokes the method of each referenced object.
+When the `disposing` parameter is `true`, this method releases all resources held by any managed objects that this references. This method invokes the method of each referenced object.
]]>
@@ -461,13 +461,13 @@ When the `disposing` parameter is `true`, this method releases all resources hel
method for informational or troubleshooting purposes because it returns the object to be executed.
+ An application can use the method for informational or troubleshooting purposes because it returns the object to be executed.
- You can also use as the basis of a modified command. For example, you might call and modify the associated command text, and then explicitly set that on the .
+ You can also use as the basis of a modified command. For example, you might call and modify the associated command text, and then explicitly set that on the .
- After the SQL statement is first generated, the application must explicitly call if it changes the statement in any way. Otherwise, the will still be using information from the previous statement, which might not be correct. The SQL statements are first generated either when the application calls or .
+ After the SQL statement is first generated, the application must explicitly call if it changes the statement in any way. Otherwise, the will still be using information from the previous statement, which might not be correct. The SQL statements are first generated either when the application calls or .
- The default behavior, when generating parameter names, is to use `@p1`, `@p2`, and so on for the various parameters. If the overloaded version of allows you to specify this behavior by supplying a Boolean value, you can cause the to generate parameters based on the column names instead by passing `True`.
+ The default behavior, when generating parameter names, is to use `@p1`, `@p2`, and so on for the various parameters. If the overloaded version of allows you to specify this behavior by supplying a Boolean value, you can cause the to generate parameters based on the column names instead by passing `True`.
]]>
@@ -518,11 +518,11 @@ When the `disposing` parameter is `true`, this method releases all resources hel
method for informational or troubleshooting purposes because it returns the object to be executed.
+ An application can use the method for informational or troubleshooting purposes because it returns the object to be executed.
- You can also use as the basis of a modified command. For example, you might call and modify the command text, and then explicitly set that on the .
+ You can also use as the basis of a modified command. For example, you might call and modify the command text, and then explicitly set that on the .
- After the SQL statement is first generated, the application must explicitly call if it changes the statement in any way. Otherwise, the will still be using information from the previous statement, which might not be correct. The SQL statements are first generated either when the application calls or .
+ After the SQL statement is first generated, the application must explicitly call if it changes the statement in any way. Otherwise, the will still be using information from the previous statement, which might not be correct. The SQL statements are first generated either when the application calls or .
]]>
@@ -576,11 +576,11 @@ When the `disposing` parameter is `true`, this method releases all resources hel
method for informational or troubleshooting purposes because it returns the object to be executed.
+ An application can use the method for informational or troubleshooting purposes because it returns the object to be executed.
- You can also use as the basis of a modified command. For example, you might call and modify the command text, and then explicitly set that on the .
+ You can also use as the basis of a modified command. For example, you might call and modify the command text, and then explicitly set that on the .
- After the SQL statement is first generated, the application must explicitly call if it changes the statement in any way. Otherwise, the will still be using information from the previous statement, which might not be correct. The SQL statements are first generated either when the application calls or .
+ After the SQL statement is first generated, the application must explicitly call if it changes the statement in any way. Otherwise, the will still be using information from the previous statement, which might not be correct. The SQL statements are first generated either when the application calls or .
The default behavior, when generating parameter names, is to use `@p1`, `@p2`, and so on for the various parameters. Passing `true` for the `useColumnsForParameterNames` parameter allows you to force the to generate parameters based on the column names instead. This succeeds only if the following conditions are met:
@@ -608,13 +608,13 @@ When the `disposing` parameter is `true`, this method releases all resources hel
method for informational or troubleshooting purposes because it returns the text of the object to be executed.
+ An application can use the method for informational or troubleshooting purposes because it returns the text of the object to be executed.
- You can also use as the basis of a modified command. For example, you might call and modify command text, and then explicitly set that on the .
+ You can also use as the basis of a modified command. For example, you might call and modify command text, and then explicitly set that on the .
- After the SQL statement is first generated, the application must explicitly call if it changes the statement in any way. Otherwise, the will still be using information from the previous statement, which might not be correct. The SQL statements are first generated either when the application calls or .
+ After the SQL statement is first generated, the application must explicitly call if it changes the statement in any way. Otherwise, the will still be using information from the previous statement, which might not be correct. The SQL statements are first generated either when the application calls or .
- The default behavior, when generating parameter names, is to use `@p1`, `@p2`, and so on for the various parameters. If the overloaded version of allows you to specify this behavior, you can cause the to generate parameters based on the column names instead.
+ The default behavior, when generating parameter names, is to use `@p1`, `@p2`, and so on for the various parameters. If the overloaded version of allows you to specify this behavior, you can cause the to generate parameters based on the column names instead.
]]>
@@ -665,11 +665,11 @@ When the `disposing` parameter is `true`, this method releases all resources hel
method for informational or troubleshooting purposes because it returns the text of the object to be executed.
+ An application can use the method for informational or troubleshooting purposes because it returns the text of the object to be executed.
- You can also use as the basis of a modified command. For example, you might call and modify the command text, and then explicitly set that on the .
+ You can also use as the basis of a modified command. For example, you might call and modify the command text, and then explicitly set that on the .
- After the SQL statement is first generated, the application must explicitly call if it changes the statement in any way. Otherwise, the will still be using information from the previous statement, which might not be correct. The SQL statements are first generated either when the application calls or .
+ After the SQL statement is first generated, the application must explicitly call if it changes the statement in any way. Otherwise, the will still be using information from the previous statement, which might not be correct. The SQL statements are first generated either when the application calls or .
]]>
@@ -723,11 +723,11 @@ When the `disposing` parameter is `true`, this method releases all resources hel
method for informational or troubleshooting purposes because it returns the text of the object to be executed.
+ An application can use the method for informational or troubleshooting purposes because it returns the text of the object to be executed.
- You can also use as the basis of a modified command. For example, you might call and modify the command text, and then explicitly set that on the .
+ You can also use as the basis of a modified command. For example, you might call and modify the command text, and then explicitly set that on the .
- After the SQL statement is first generated, the application must explicitly call if it changes the statement in any way. Otherwise, the will still be using information from the previous statement, which might not be correct. The SQL statements are first generated either when the application calls or .
+ After the SQL statement is first generated, the application must explicitly call if it changes the statement in any way. Otherwise, the will still be using information from the previous statement, which might not be correct. The SQL statements are first generated either when the application calls or .
The default behavior, when generating parameter names, is to use `@p1`, `@p2`, and so on for the various parameters. Passing `true` for the `useColumnsForParameterNames` parameter allows you to force the to generate parameters based on the column names instead. Generation of the parameters based on column names succeeds only if the following conditions are met:
@@ -975,13 +975,13 @@ When the `disposing` parameter is `true`, this method releases all resources hel
method for informational or troubleshooting purposes because it returns the object to be executed.
+ An application can use the method for informational or troubleshooting purposes because it returns the object to be executed.
- You can also use as the basis of a modified command. For example, you might call and modify the command text, and then explicitly set that on the .
+ You can also use as the basis of a modified command. For example, you might call and modify the command text, and then explicitly set that on the .
- After the SQL statement is first generated, the application must explicitly call if it changes the statement in any way. Otherwise, the will still be using information from the previous statement, which might not be correct. The SQL statements are first generated either when the application calls or .
+ After the SQL statement is first generated, the application must explicitly call if it changes the statement in any way. Otherwise, the will still be using information from the previous statement, which might not be correct. The SQL statements are first generated either when the application calls or .
- The default behavior, when generating parameter names, is to use `@p1`, `@p2`, and so on for the various parameters. If the overloaded version of allows you to specify this behavior, you can cause the to generate parameters based on the column names instead.
+ The default behavior, when generating parameter names, is to use `@p1`, `@p2`, and so on for the various parameters. If the overloaded version of allows you to specify this behavior, you can cause the to generate parameters based on the column names instead.
]]>
@@ -1032,11 +1032,11 @@ When the `disposing` parameter is `true`, this method releases all resources hel
method for informational or troubleshooting purposes because it returns the object to be executed.
+ An application can use the method for informational or troubleshooting purposes because it returns the object to be executed.
- You can also use as the basis of a modified command. For example, you might call and modify the command text, and then explicitly set that on the .
+ You can also use as the basis of a modified command. For example, you might call and modify the command text, and then explicitly set that on the .
- After the SQL statement is first generated, the application must explicitly call if it changes the statement in any way. Otherwise, the will still be using information from the previous statement, which might not be correct. The SQL statements are first generated either when the application calls or .
+ After the SQL statement is first generated, the application must explicitly call if it changes the statement in any way. Otherwise, the will still be using information from the previous statement, which might not be correct. The SQL statements are first generated either when the application calls or .
]]>
@@ -1090,11 +1090,11 @@ When the `disposing` parameter is `true`, this method releases all resources hel
method for informational or troubleshooting purposes because it returns the object to be executed.
+ An application can use the method for informational or troubleshooting purposes because it returns the object to be executed.
- You can also use as the basis of a modified command. For example, you might call and modify command text, and then explicitly set that on the .
+ You can also use as the basis of a modified command. For example, you might call and modify command text, and then explicitly set that on the .
- After the SQL statement is first generated, the application must explicitly call if it changes the statement in any way. Otherwise, the will still be using information from the previous statement, which might not be correct. The SQL statements are first generated either when the application calls or .
+ After the SQL statement is first generated, the application must explicitly call if it changes the statement in any way. Otherwise, the will still be using information from the previous statement, which might not be correct. The SQL statements are first generated either when the application calls or .
The default behavior, when generating parameter names, is to use `@p1`, `@p2`, and so on for the various parameters. Passing `true` for the `useColumnsForParameterNames` parameter allows you to force the to generate parameters based on the column names instead. Generation of the parameters based on column names succeeds only if the following conditions are met:
@@ -1267,10 +1267,10 @@ When the `disposing` parameter is `true`, this method releases all resources hel
and properties to specify delimiters such as a left bracket and a right bracket to encapsulate the object name.
+ Some data sources may have objects that can contain characters such as spaces, commas, and semicolons. To accommodate this capability, use the and properties to specify delimiters such as a left bracket and a right bracket to encapsulate the object name.
> [!NOTE]
-> Although you cannot change the or properties after an insert, update, or delete command has been generated, you can change their settings after calling the `Update` method of a .
+> Although you cannot change the or properties after an insert, update, or delete command has been generated, you can change their settings after calling the `Update` method of a .
]]>
@@ -1327,10 +1327,10 @@ When the `disposing` parameter is `true`, this method releases all resources hel
and properties to specify delimiters such as a left bracket and a right bracket to encapsulate the object name.
+ Some data sources may have objects that can contain characters such as spaces, commas, and semicolons. To accommodate this capability, use the and properties to specify delimiters such as a left bracket and a right bracket to encapsulate the object name.
> [!NOTE]
-> Although you cannot change the or properties after an insert, update, or delete command has been generated, you can change their settings after calling the `Update` method of a .
+> Although you cannot change the or properties after an insert, update, or delete command has been generated, you can change their settings after calling the `Update` method of a .
]]>
@@ -1380,13 +1380,13 @@ When the `disposing` parameter is `true`, this method releases all resources hel
method effectively removes all the objects referred to by the ,
+ Calling the method effectively removes all the objects referred to by the ,
- ,
+ ,
- , and
+ , and
- properties.
+ properties.
]]>
diff --git a/xml/System.Data.Common/DbConnection.xml b/xml/System.Data.Common/DbConnection.xml
index 3bce0de89ed..098140ed204 100644
--- a/xml/System.Data.Common/DbConnection.xml
+++ b/xml/System.Data.Common/DbConnection.xml
@@ -685,9 +685,9 @@ This property returns `false` by default; providers that implement and methods roll back any pending transactions. They then release the connection to the connection pool, or close the connection if connection pooling is disabled.
+ The and methods roll back any pending transactions. They then release the connection to the connection pool, or close the connection if connection pooling is disabled.
- An application can call or more than one time. No exception is generated.
+ An application can call or more than one time. No exception is generated.
If the goes out of scope, it is not closed. Therefore, you must explicitly close the connection by calling `Close` or `Dispose`, which are functionally equivalent. If the connection pooling value `Pooling` is set to `true` or `yes`, this also releases the physical connection.
@@ -743,9 +743,9 @@ This property returns `false` by default; providers that implement and methods roll back any pending transactions. They then release the connection to the connection pool, or close the connection if connection pooling is disabled.
+ The and methods roll back any pending transactions. They then release the connection to the connection pool, or close the connection if connection pooling is disabled.
- An application can call or more than one time. No exception is generated.
+ An application can call or more than one time. No exception is generated.
If the goes out of scope, it is not closed. Therefore, you must explicitly close the connection by calling `Close` or `Dispose`, which are functionally equivalent. If the connection pooling value `Pooling` is set to `true` or `yes`, this also releases the physical connection.
@@ -1135,7 +1135,7 @@ This property returns `false` by default; providers that implement returns whatever is contained in the for the `DataSource` keyword. If the connection is open and the data source keyword's value starts with "|`datadirectory`|", the property returns whatever is contained in the for the `DataSource` keyword only. If the connection to the database is open, the property returns what the native provider returns for the `DBPROP_INIT_DATASOURCE`, and if that is empty, the native provider's `DBPROP_DATASOURCENAME` is returned.
+ If the connection to the database is closed, the returns whatever is contained in the for the `DataSource` keyword. If the connection is open and the data source keyword's value starts with "|`datadirectory`|", the property returns whatever is contained in the for the `DataSource` keyword only. If the connection to the database is open, the property returns what the native provider returns for the `DBPROP_INIT_DATASOURCE`, and if that is empty, the native provider's `DBPROP_DATASOURCENAME` is returned.
]]>
@@ -1785,7 +1785,7 @@ This property returns `false` by default; providers that implement will throw an exception if called again without first being closed.
+ This method must be overridden with user-defined behavior. will throw an exception if called again without first being closed.
]]>
@@ -1855,9 +1855,9 @@ This property returns `false` by default; providers that implement , must return until the returned is completed. Then, if the connection was successful, must return . If the connection fails, must return .
+ After calling , must return until the returned is completed. Then, if the connection was successful, must return . If the connection fails, must return .
- A call to will attempt to cancel or close the corresponding call.
+ A call to will attempt to cancel or close the corresponding call.
For more information about asynchronous programming in the .NET Framework Data Provider for SQL Server, see [Asynchronous Programming](/dotnet/framework/data/adonet/asynchronous-programming).
@@ -1919,9 +1919,9 @@ This property returns `false` by default; providers that implement , must return until the returned is completed. Then, if the connection was successful, must return . If the connection fails, must return .
+ After calling , must return until the returned is completed. Then, if the connection was successful, must return . If the connection fails, must return .
- A call to will attempt to cancel or close the corresponding call.
+ A call to will attempt to cancel or close the corresponding call.
For more information about asynchronous programming in the .NET Framework Data Provider for SQL Server, see [Asynchronous Programming](/dotnet/framework/data/adonet/asynchronous-programming).
@@ -2155,7 +2155,7 @@ This property returns `false` by default; providers that implement instance is cast to an interface.
- For more information, see .
+ For more information, see .
]]>
@@ -2212,7 +2212,7 @@ This property returns `false` by default; providers that implement .
+ For more information, see .
]]>
@@ -2266,7 +2266,7 @@ This property returns `false` by default; providers that implement .
+ For more information, see [Commands and Parameters](/dotnet/framework/data/adonet/commands-and-parameters) and .
]]>
diff --git a/xml/System.Data.Common/DbConnectionStringBuilder.xml b/xml/System.Data.Common/DbConnectionStringBuilder.xml
index 0300d49fdaa..97b120732ff 100644
--- a/xml/System.Data.Common/DbConnectionStringBuilder.xml
+++ b/xml/System.Data.Common/DbConnectionStringBuilder.xml
@@ -95,7 +95,7 @@ If you need to create connection strings as part of applications, use the class. The performs no checks for valid key/value pairs. Therefore, it's possible to create invalid connection strings when using this class. The supports only key/value pairs that are supported by SQL Server; trying to add invalid pairs will throw an exception.
- Both the method and property handle cases where a bad actor tries to insert malicious entries. For example, the following code correctly escapes the nested key/value pair:
+ Both the method and property handle cases where a bad actor tries to insert malicious entries. For example, the following code correctly escapes the nested key/value pair:
```vb
Dim builder As New System.Data.Common.DbConnectionStringBuilder
@@ -285,7 +285,7 @@ initial catalog="AdventureWorks;NewValue=Bad"
## Remarks
The property can also be used to add new elements by setting the value of a key that does not exist in the dictionary. For example: `myCollection["myNonexistentKey"] = myValue`.
- Calling the method by passing a null (`Nothing` in Visual Basic) key throws an . However, calling the method by passing a null value removes the key/value pair.
+ Calling the method by passing a null (`Nothing` in Visual Basic) key throws an . However, calling the method by passing a null value removes the key/value pair.
]]>
@@ -581,7 +581,7 @@ initial catalog="AdventureWorks;NewValue=Bad"
method removes all key/value pairs from the and resets all corresponding properties. This includes setting the property to 0 and the property to an empty string.
+ The method removes all key/value pairs from the and resets all corresponding properties. This includes setting the property to 0 and the property to an empty string.
]]>
@@ -910,7 +910,7 @@ The collection contains the key "Data Source".
## Remarks
Comparisons on key names are case insensitive; value comparisons are case sensitive.
- The method returns `true` if the key/value pairs are equal, regardless of their order. The connection behavior of the two connection strings are equivalent, because order is never significant within connection strings. However, different order may affect connection pooling behavior of connections based on these connection strings.
+ The method returns `true` if the key/value pairs are equal, regardless of their order. The connection behavior of the two connection strings are equivalent, because order is never significant within connection strings. However, different order may affect connection pooling behavior of connections based on these connection strings.
@@ -1311,7 +1311,7 @@ builder2.EquivalentTo(builder3) = False
method returns a value that indicates its success, it is not required to look for the key before trying to remove the key/value pair from the instance.
+ Because the method returns a value that indicates its success, it is not required to look for the key before trying to remove the key/value pair from the instance.
@@ -1388,7 +1388,7 @@ jet oledb:system database=system.mdw
method.
+ This method behaves identically to the method.
]]>
@@ -1450,7 +1450,7 @@ jet oledb:system database=system.mdw
## Remarks
This member is an explicit interface member implementation. It can be used only when the instance is cast to an interface.
- For a description of this member, see .
+ For a description of this member, see .
]]>
@@ -1507,7 +1507,7 @@ jet oledb:system database=system.mdw
## Remarks
This member is an explicit interface member implementation. It can be used only when the instance is cast to an interface.
- For more information, see .
+ For more information, see .
]]>
@@ -1563,7 +1563,7 @@ jet oledb:system database=system.mdw
## Remarks
This member is an explicit interface member implementation. It can be used only when the instance is cast to an interface.
- For more information, see .
+ For more information, see .
]]>
@@ -1624,7 +1624,7 @@ jet oledb:system database=system.mdw
## Remarks
This member is an explicit interface member implementation. It can be used only when the instance is cast to an interface.
- For a description of this member, see .
+ For a description of this member, see .
]]>
@@ -1685,7 +1685,7 @@ jet oledb:system database=system.mdw
## Remarks
This member is an explicit interface member implementation. It can be used only when the instance is cast to an interface.
- For more information, see .
+ For more information, see .
]]>
@@ -1742,7 +1742,7 @@ jet oledb:system database=system.mdw
## Remarks
This member is an explicit interface member implementation. It can be used only when the instance is cast to an interface.
- For a description of this member, see .
+ For a description of this member, see .
]]>
@@ -1883,7 +1883,7 @@ This member is an explicit interface member implementation. It can be used only
## Remarks
This member is an explicit interface member implementation. It can be used only when the instance is cast to an interface.
- For more information, see .
+ For more information, see .
]]>
@@ -1942,7 +1942,7 @@ This member is an explicit interface member implementation. It can be used only
## Remarks
This member is an explicit interface member implementation. It can be used only when the instance is cast to an interface.
- For a description of this member, see .
+ For a description of this member, see .
]]>
@@ -1999,7 +1999,7 @@ This member is an explicit interface member implementation. It can be used only
## Remarks
This member is an explicit interface member implementation. It can be used only when the instance is cast to an interface.
- For a description of this member, see .
+ For a description of this member, see .
]]>
@@ -2054,7 +2054,7 @@ This member is an explicit interface member implementation. It can be used only
## Remarks
This member is an explicit interface member implementation. It can be used only when the instance is cast to an interface.
- For a description of this member, see .
+ For a description of this member, see .
]]>
@@ -2109,7 +2109,7 @@ This member is an explicit interface member implementation. It can be used only
## Remarks
This member is an explicit interface member implementation. It can be used only when the instance is cast to an interface.
- For a description of this member, see .
+ For a description of this member, see .
]]>
@@ -2164,7 +2164,7 @@ This member is an explicit interface member implementation. It can be used only
## Remarks
This member is an explicit interface member implementation. It can be used only when the instance is cast to an interface.
- For more information, see .
+ For more information, see .
]]>
@@ -2225,7 +2225,7 @@ This member is an explicit interface member implementation. It can be used only
## Remarks
This member is an explicit interface member implementation. It can be used only when the instance is cast to an interface.
- For a description of this member, see .
+ For a description of this member, see .
]]>
@@ -2286,7 +2286,7 @@ This member is an explicit interface member implementation. It can be used only
## Remarks
This member is an explicit interface member implementation. It can be used only when the instance is cast to an interface.
- For a description of this member, see .
+ For a description of this member, see .
]]>
@@ -2347,7 +2347,7 @@ This member is an explicit interface member implementation. It can be used only
## Remarks
This member is an explicit interface member implementation. It can be used only when the instance is cast to an interface.
- For a description of this member, see .
+ For a description of this member, see .
]]>
@@ -2415,7 +2415,7 @@ This member is an explicit interface member implementation. It can be used only
## Remarks
This member is an explicit interface member implementation. It can be used only when the instance is cast to an interface.
- For more information, see .
+ For more information, see .
]]>
@@ -2480,7 +2480,7 @@ This member is an explicit interface member implementation. It can be used only
## Remarks
This member is an explicit interface member implementation. It can be used only when the instance is cast to an interface.
- For more information, see .
+ For more information, see .
]]>
@@ -2544,7 +2544,7 @@ This member is an explicit interface member implementation. It can be used only
## Remarks
This member is an explicit interface member implementation. It can be used only when the instance is cast to an interface.
- For more information, see .
+ For more information, see .
]]>
@@ -2615,7 +2615,7 @@ This member is an explicit interface member implementation. It can be used only
## Remarks
This member is an explicit interface member implementation. It can be used only when the instance is cast to an interface.
- For more information, see .
+ For more information, see .
]]>
@@ -2679,7 +2679,7 @@ This member is an explicit interface member implementation. It can be used only
## Remarks
This member is an explicit interface member implementation. It can be used only when the instance is cast to an interface.
- For more information, see .
+ For more information, see .
]]>
@@ -2737,7 +2737,7 @@ This member is an explicit interface member implementation. It can be used only
## Remarks
This member is an explicit interface member implementation. It can be used only when the instance is cast to an interface.
- For more information, see .
+ For more information, see .
]]>
@@ -2853,12 +2853,12 @@ This member is an explicit interface member implementation. It can be used only
method lets developers safely retrieve a value from a without needing to first call the method. Because does not raise an exception when you call it, passing in a nonexistent key, you do not have to look for a key before retrieving its value. Calling with a nonexistent key will place the null value (`Nothing` in Visual Basic) in the `value` parameter.
+ The method lets developers safely retrieve a value from a without needing to first call the method. Because does not raise an exception when you call it, passing in a nonexistent key, you do not have to look for a key before retrieving its value. Calling with a nonexistent key will place the null value (`Nothing` in Visual Basic) in the `value` parameter.
## Examples
- The following example calls the method, demonstrating several possible outcomes.
+ The following example calls the method, demonstrating several possible outcomes.
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/DataWorks DbConnectionStringBuilder.TryGetValue/CS/source.cs" id="Snippet1":::
:::code language="vb" source="~/snippets/visualbasic/System.Data.Common/DbConnectionStringBuilder/TryGetValue/source.vb" id="Snippet1":::
@@ -2933,7 +2933,7 @@ Unable to retrieve value for null key.
is unspecified, but it is the same order as the associated keys in the returned by the method.
+ The order of the values in the is unspecified, but it is the same order as the associated keys in the returned by the method.
The returned is not a static copy; instead, the refers back to the values in the original . Therefore, changes to the are reflected in the .
diff --git a/xml/System.Data.Common/DbDataAdapter.xml b/xml/System.Data.Common/DbDataAdapter.xml
index f4418e56ad8..1422b4a59a5 100644
--- a/xml/System.Data.Common/DbDataAdapter.xml
+++ b/xml/System.Data.Common/DbDataAdapter.xml
@@ -75,7 +75,7 @@
An application does not create an instance of the class directly, but creates an instance of a class that inherits from it.
- Classes that inherit must implement the inherited members, and typically define additional members to add provider-specific functionality. For example, the class defines the property, and the class defines eight overloads of the method. In turn, the class inherits the method, and also defines two additional overloads of that take an ADO Recordset object as a parameter.
+ Classes that inherit must implement the inherited members, and typically define additional members to add provider-specific functionality. For example, the class defines the property, and the class defines eight overloads of the method. In turn, the class inherits the method, and also defines two additional overloads of that take an ADO Recordset object as a parameter.
]]>
@@ -164,12 +164,12 @@
|Properties|Initial value|
|----------------|-------------------|
-||A new .|
-||A new .|
-||A new .|
-||A new .|
-||`MissingMappingAction.Passthrough`|
-||`MissingSchemaAction.Add`|
+||A new .|
+||A new .|
+||A new .|
+||A new .|
+||`MissingMappingAction.Passthrough`|
+||`MissingSchemaAction.Add`|
You can change the value of any of these properties through a separate call to the property.
@@ -527,7 +527,7 @@
## Remarks
"Table" is the default name used by the object for table mappings.
- is when an application adds a table mapping to be used with , but does not specify a name.
+ is when an application adds a table mapping to be used with , but does not specify a name.
]]>
@@ -592,7 +592,7 @@
, if this property is not set and primary key information is present in the , the is automatically generated.
+ During , if this property is not set and primary key information is present in the , the is automatically generated.
@@ -775,7 +775,7 @@
method retrieves the data from the data source using a SELECT statement. The object associated with the select command must be valid, but it does not need to be open. If the is closed before is called, it is opened to retrieve data and then closed. If the connection is open before is called, it remains open.
+ The method retrieves the data from the data source using a SELECT statement. The object associated with the select command must be valid, but it does not need to be open. If the is closed before is called, it is opened to retrieve data and then closed. If the connection is open before is called, it remains open.
If an error or an exception is encountered while populating the data tables, rows added prior to the occurrence of the error remain in the data tables. The remainder of the operation is aborted.
@@ -787,18 +787,18 @@
When the SELECT statement used to populate the returns multiple results, such as batch SQL statements, if one of the results contains an error, all subsequent results are skipped and are not added to the .
- When using subsequent calls to refresh the contents of the , two conditions must be met:
+ When using subsequent calls to refresh the contents of the , two conditions must be met:
1. The SQL statement should match the one initially used to populate the .
2. The **Key** column information must be present.
- If primary key information is present, any duplicate rows are reconciled and only appear once in the that corresponds to the . Primary key information may be set either through , by specifying the property of the , or by setting the property to `AddWithKey`.
+ If primary key information is present, any duplicate rows are reconciled and only appear once in the that corresponds to the . Primary key information may be set either through , by specifying the property of the , or by setting the property to `AddWithKey`.
- If the `SelectCommand` returns the results of an OUTER JOIN, the `DataAdapter` does not set a value for the resulting . You must explicitly define the primary key to ensure that duplicate rows are resolved correctly. For more information, see [Defining Primary Keys](/dotnet/framework/data/adonet/dataset-datatable-dataview/defining-primary-keys).
+ If the `SelectCommand` returns the results of an OUTER JOIN, the `DataAdapter` does not set a value for the resulting . You must explicitly define the primary key to ensure that duplicate rows are resolved correctly. For more information, see [Defining Primary Keys](/dotnet/framework/data/adonet/dataset-datatable-dataview/defining-primary-keys).
> [!NOTE]
-> When handling batch SQL statements that return multiple results, the implementation of for the .NET Framework Data Provider for OLE DB retrieves schema information for only the first result. To retrieve schema information for multiple results, use with the set to `AddWithKey`.
+> When handling batch SQL statements that return multiple results, the implementation of for the .NET Framework Data Provider for OLE DB retrieves schema information for only the first result. To retrieve schema information for multiple results, use with the set to `AddWithKey`.
]]>
@@ -853,15 +853,15 @@
method retrieves rows from the data source using the SELECT statement specified by an associated property. The connection object associated with the SELECT statement must be valid, but it does not need to be open. If the connection is closed before is called, it is opened to retrieve data, then closed. If the connection is open before is called, it remains open.
+ The method retrieves rows from the data source using the SELECT statement specified by an associated property. The connection object associated with the SELECT statement must be valid, but it does not need to be open. If the connection is closed before is called, it is opened to retrieve data, then closed. If the connection is open before is called, it remains open.
- The operation then adds the rows to destination objects in the , creating the objects if they do not already exist. When creating objects, the operation normally creates only column name metadata. However, if the property is set to `AddWithKey`, appropriate primary keys and constraints are also created.
+ The operation then adds the rows to destination objects in the , creating the objects if they do not already exist. When creating objects, the operation normally creates only column name metadata. However, if the property is set to `AddWithKey`, appropriate primary keys and constraints are also created.
If the encounters duplicate columns while populating a , it generates names for the subsequent columns, using the pattern "*columnname*1", "*columnname*2", "*columnname*3", and so on. If the incoming data contains unnamed columns, they are placed in the according to the pattern "Column1", "Column2", and so on. When multiple result sets are added to the each result set is placed in a separate table.
- The overload of that takes `DataTable` as a parameter only obtains the first result. Use an overload of that takes `DataSet` as a parameter to obtain multiple results.
+ The overload of that takes `DataTable` as a parameter only obtains the first result. Use an overload of that takes `DataSet` as a parameter to obtain multiple results.
- The method supports scenarios where the contains multiple objects whose names differ only by case. In such situations, performs a case-sensitive comparison to find the corresponding table, and creates a new table if no exact match exists. The following C# code illustrates this behavior.
+ The method supports scenarios where the contains multiple objects whose names differ only by case. In such situations, performs a case-sensitive comparison to find the corresponding table, and creates a new table if no exact match exists. The following C# code illustrates this behavior.
```
DataSet dataset = new DataSet();
@@ -871,7 +871,7 @@ DataSet dataset = new DataSet();
adapter.Fill(dataset, "Aaa"); // Adds a new table called "Aaa".
```
- If is called and the contains only one whose name differs only by case, that is updated. In this scenario, the comparison is case insensitive. The following C# code illustrates this behavior.
+ If is called and the contains only one whose name differs only by case, that is updated. In this scenario, the comparison is case insensitive. The following C# code illustrates this behavior.
```
DataSet dataset = new DataSet();
@@ -879,12 +879,12 @@ DataSet dataset = new DataSet();
adapter.Fill(dataset, "AAA"); // Fills table "aaa" because only one similarly named table is in the DataSet.
```
- You can use the method multiple times on the same . If a primary key exists, incoming rows are merged with matching rows that already exist. If no primary key exists, incoming rows are appended to the .
+ You can use the method multiple times on the same . If a primary key exists, incoming rows are merged with matching rows that already exist. If no primary key exists, incoming rows are appended to the .
- If the `SelectCommand` returns the results of an OUTER JOIN, the `DataAdapter` does not set a value for the resulting . You must explicitly define the primary key to ensure that duplicate rows are resolved correctly. For more information, see [Defining Primary Keys](/dotnet/framework/data/adonet/dataset-datatable-dataview/defining-primary-keys).
+ If the `SelectCommand` returns the results of an OUTER JOIN, the `DataAdapter` does not set a value for the resulting . You must explicitly define the primary key to ensure that duplicate rows are resolved correctly. For more information, see [Defining Primary Keys](/dotnet/framework/data/adonet/dataset-datatable-dataview/defining-primary-keys).
> [!NOTE]
-> When handling batch SQL statements that return multiple results, the implementation of and for a .NET Framework data provider retrieves schema information for only the first result.
+> When handling batch SQL statements that return multiple results, the implementation of and for a .NET Framework data provider retrieves schema information for only the first result.
]]>
@@ -945,7 +945,7 @@ DataSet dataset = new DataSet();
method retrieves the data from the data source using a SELECT statement. The object associated with the select command must be valid, but it does not need to be open. If the is closed before is called, it is opened to retrieve data, then closed. If the connection is open before is called, it remains open.
+ The method retrieves the data from the data source using a SELECT statement. The object associated with the select command must be valid, but it does not need to be open. If the is closed before is called, it is opened to retrieve data, then closed. If the connection is open before is called, it remains open.
If a command does not return any rows, no tables are added to the , and no exception is raised.
@@ -953,7 +953,7 @@ DataSet dataset = new DataSet();
When the query specified returns multiple results, each result set is placed in a separate table. Additional result sets are named by appending integral values to the specified table name (for example, "Table", "Table1", "Table2", and so on). Since no table is created for a query that does not return rows, if you were to process an insert query followed by a select query, the table created for the select query would be named "Table", because it is the first table created. If your app uses column and table names, ensure there are no conflicts with these naming patterns.
- The method supports scenarios where the contains multiple objects whose names differ only by case. In such situations, performs a case-sensitive comparison to find the corresponding table, and creates a new table if no exact match exists. The following C# code illustrates this behavior.
+ The method supports scenarios where the contains multiple objects whose names differ only by case. In such situations, performs a case-sensitive comparison to find the corresponding table, and creates a new table if no exact match exists. The following C# code illustrates this behavior.
```
DataSet dataset = new DataSet();
@@ -963,7 +963,7 @@ adapter.Fill(dataset, "aaa"); // Fills "aaa", which already exists in the DataSe
adapter.Fill(dataset, "Aaa"); // Adds a new table called "Aaa".
```
- If is called and the contains only one whose name differs only by case, that is updated. In this scenario, the comparison is case insensitive. The following C# code illustrates this behavior.
+ If is called and the contains only one whose name differs only by case, that is updated. In this scenario, the comparison is case insensitive. The following C# code illustrates this behavior.
```
DataSet dataset = new DataSet();
@@ -977,16 +977,16 @@ adapter.Fill(dataset, "AAA"); // Fills table "aaa" because only one similarly na
- If one of the results contains an error, all subsequent results are skipped and not added to the .
- When using subsequent calls to refresh the contents of the , two conditions must be met:
+ When using subsequent calls to refresh the contents of the , two conditions must be met:
1. The SQL statement should match the one initially used to populate the .
-2. The **Key** column information must be present. If primary key information is present, any duplicate rows are reconciled and only appear once in the that corresponds to the . Primary key information may be set either through , by specifying the property of the , or by setting the property to `AddWithKey`.
+2. The **Key** column information must be present. If primary key information is present, any duplicate rows are reconciled and only appear once in the that corresponds to the . Primary key information may be set either through , by specifying the property of the , or by setting the property to `AddWithKey`.
- If the `SelectCommand` returns the results of an OUTER JOIN, the `DataAdapter` does not set a value for the resulting . You must explicitly define the primary key to ensure that duplicate rows are resolved correctly. For more information, see [Defining Primary Keys](/dotnet/framework/data/adonet/dataset-datatable-dataview/defining-primary-keys).
+ If the `SelectCommand` returns the results of an OUTER JOIN, the `DataAdapter` does not set a value for the resulting . You must explicitly define the primary key to ensure that duplicate rows are resolved correctly. For more information, see [Defining Primary Keys](/dotnet/framework/data/adonet/dataset-datatable-dataview/defining-primary-keys).
> [!NOTE]
-> When handling batch SQL statements that return multiple results, the implementation of for the .NET Framework Data Provider for OLE DB retrieves schema information for only the first result. To retrieve schema information for multiple results, use with the set to `AddWithKey`.
+> When handling batch SQL statements that return multiple results, the implementation of for the .NET Framework Data Provider for OLE DB retrieves schema information for only the first result. To retrieve schema information for multiple results, use with the set to `AddWithKey`.
## Examples
The following example uses the derived class, , to fill a with rows from the categories table. This example assumes that you have created an and a .
@@ -1088,20 +1088,20 @@ adapter.Fill(dataset, "AAA"); // Fills table "aaa" because only one similarly na
method retrieves rows from the data source using the SELECT statement specified by an associated property. The connection object associated with the SELECT statement must be valid, but it does not need to be open. If the connection is closed before is called, it is opened to retrieve data and then closed. If the connection is open before is called, it remains open.
+ The method retrieves rows from the data source using the SELECT statement specified by an associated property. The connection object associated with the SELECT statement must be valid, but it does not need to be open. If the connection is closed before is called, it is opened to retrieve data and then closed. If the connection is open before is called, it remains open.
- The operation then adds the rows to the specified destination object in the , creating the object if it does not already exist. When creating a object, the operation normally creates only column name metadata. However, if the property is set to `AddWithKey`, appropriate primary keys and constraints are also created.
+ The operation then adds the rows to the specified destination object in the , creating the object if it does not already exist. When creating a object, the operation normally creates only column name metadata. However, if the property is set to `AddWithKey`, appropriate primary keys and constraints are also created.
If the object encounters duplicate columns while populating a , it will generate names for the subsequent columns, using the pattern "*columnname*1", "*columnname*2", "*columnname*3", and so on. If the incoming data contains unnamed columns, they are placed in the according to the pattern "Column1", "Column2", and so on.
- The overload of that takes `DataTable` as a parameter only obtains the first result. Use an overload of that takes `DataSet` as a parameter to obtain multiple results.
+ The overload of that takes `DataTable` as a parameter only obtains the first result. Use an overload of that takes `DataSet` as a parameter to obtain multiple results.
- You can use the method multiple times on the same . If a primary key exists, incoming rows are merged with matching rows that already exist. If no primary key exists, incoming rows are appended to the .
+ You can use the method multiple times on the same . If a primary key exists, incoming rows are merged with matching rows that already exist. If no primary key exists, incoming rows are appended to the .
- If the `SelectCommand` returns the results of an OUTER JOIN, the `DataAdapter` does not set a value for the resulting . You must explicitly define the primary key to ensure that duplicate rows are resolved correctly. For more information, see [Defining Primary Keys](/dotnet/framework/data/adonet/dataset-datatable-dataview/defining-primary-keys).
+ If the `SelectCommand` returns the results of an OUTER JOIN, the `DataAdapter` does not set a value for the resulting . You must explicitly define the primary key to ensure that duplicate rows are resolved correctly. For more information, see [Defining Primary Keys](/dotnet/framework/data/adonet/dataset-datatable-dataview/defining-primary-keys).
> [!NOTE]
-> When handling batch SQL statements that return multiple results, the implementation of for the .NET Framework Data Provider for OLE DB retrieves schema information for only the first result. To retrieve schema information for multiple results, use with the set to `AddWithKey`.
+> When handling batch SQL statements that return multiple results, the implementation of for the .NET Framework Data Provider for OLE DB retrieves schema information for only the first result. To retrieve schema information for multiple results, use with the set to `AddWithKey`.
]]>
@@ -1172,20 +1172,20 @@ adapter.Fill(dataset, "AAA"); // Fills table "aaa" because only one similarly na
A `maxRecords` value of 0 gets all records found after the start record. If `maxRecords` is greater than the number of remaining rows, only the remaining rows are returned, and no error is issued.
- The method retrieves rows from the data source using the SELECT statement specified by an associated property. The connection object associated with the SELECT statement must be valid, but it does not need to be open. If the connection is closed before is called, it is opened to retrieve data, and then it is closed. If the connection is open before is called, it remains open.
+ The method retrieves rows from the data source using the SELECT statement specified by an associated property. The connection object associated with the SELECT statement must be valid, but it does not need to be open. If the connection is closed before is called, it is opened to retrieve data, and then it is closed. If the connection is open before is called, it remains open.
- The operation then adds the rows to destination objects in the , creating the objects if they do not already exist. When creating objects, the operation normally creates only column name metadata. However, if the property is set to `AddWithKey`, appropriate primary keys and constraints are also created.
+ The operation then adds the rows to destination objects in the , creating the objects if they do not already exist. When creating objects, the operation normally creates only column name metadata. However, if the property is set to `AddWithKey`, appropriate primary keys and constraints are also created.
- If the `SelectCommand` returns the results of an OUTER JOIN, the `DataAdapter` does not set a value for the resulting . You must explicitly define the primary key to ensure that duplicate rows are resolved correctly. For more information, see [Defining Primary Keys](/dotnet/framework/data/adonet/dataset-datatable-dataview/defining-primary-keys).
+ If the `SelectCommand` returns the results of an OUTER JOIN, the `DataAdapter` does not set a value for the resulting . You must explicitly define the primary key to ensure that duplicate rows are resolved correctly. For more information, see [Defining Primary Keys](/dotnet/framework/data/adonet/dataset-datatable-dataview/defining-primary-keys).
If the data adapter encounters duplicate columns while populating a , it generates names for the subsequent columns, using the pattern "columnname1", "columnname2", "columnname3", and so on. If the incoming data contains unnamed columns, they are placed in the according to the pattern "Column1", "Column2", and so on. When multiple result sets are added to the , each result set is placed in a separate table. Additional result sets are named by appending integral values to the specified table name (for example, "Table", "Table1", "Table2", and so on). If your app uses column and table names, ensure there are no conflicts with these naming patterns.
When the SELECT statement used to populate the returns multiple results, such as a batch SQL statements, if one of the results contains an error, all subsequent results are skipped and not added to the .
- You can use the method multiple times on the same . If a primary key exists, incoming rows are merged with matching rows that already exist. If no primary key exists, incoming rows are appended to the .
+ You can use the method multiple times on the same . If a primary key exists, incoming rows are merged with matching rows that already exist. If no primary key exists, incoming rows are appended to the .
> [!NOTE]
-> When handling batch SQL statements that return multiple results, the implementation of for the .NET Framework Data Provider for OLE DB retrieves schema information for only the first result. To retrieve schema information for multiple results, use with the set to `AddWithKey`.
+> When handling batch SQL statements that return multiple results, the implementation of for the .NET Framework Data Provider for OLE DB retrieves schema information for only the first result. To retrieve schema information for multiple results, use with the set to `AddWithKey`.
]]>
@@ -1257,9 +1257,9 @@ A `maxRecords` value of 0 gets all records found after the start record. If `max
A `maxRecords` value of 0 gets all records found after the start record. If `maxRecords` is greater than the number of remaining rows, only the remaining rows are returned, and no error is issued.
- If the corresponding select command is a statement returning multiple results, only applies `maxRecords` to the first result.
+ If the corresponding select command is a statement returning multiple results, only applies `maxRecords` to the first result.
- The method retrieves the data from the data source using a SELECT statement. The object associated with the SELECT statement must be valid, but it does not need to be open. If the is closed before is called, it is opened to retrieve data and then closed. If the connection is open before is called, it remains open.
+ The method retrieves the data from the data source using a SELECT statement. The object associated with the SELECT statement must be valid, but it does not need to be open. If the is closed before is called, it is opened to retrieve data and then closed. If the connection is open before is called, it remains open.
If a command does not return any rows, no tables are added to the , but no exception is raised.
@@ -1267,7 +1267,7 @@ A `maxRecords` value of 0 gets all records found after the start record. If `max
When the query specified returns multiple results, each result set is placed in a separate table. Additional result sets are named by appending integral values to the specified table name (for example, "Table", "Table1", "Table2", and so on). Because no table is created for a query that does not return rows, if you process an insert query followed by a select query, the table created for the select query is named "Table", because it is the first table created. If your app uses column and table names, ensure there are no conflicts with these naming patterns.
- The method supports scenarios where the contains multiple objects whose names differ only by case. In such situations, performs a case-sensitive comparison to find the corresponding table, and creates a new table if no exact match exists. The following C# code illustrates this behavior.
+ The method supports scenarios where the contains multiple objects whose names differ only by case. In such situations, performs a case-sensitive comparison to find the corresponding table, and creates a new table if no exact match exists. The following C# code illustrates this behavior.
```
DataSet dataset = new DataSet();
@@ -1277,7 +1277,7 @@ adapter.Fill(dataset, "aaa"); // Fills "aaa", which already exists in the DataSe
adapter.Fill(dataset, "Aaa"); // Adds a new table called "Aaa".
```
- If is called and the contains only one whose name differs only by case, that is updated. In this scenario, the comparison is case insensitive. The following C# code illustrates this behavior.
+ If is called and the contains only one whose name differs only by case, that is updated. In this scenario, the comparison is case insensitive. The following C# code illustrates this behavior.
```
DataSet dataset = new DataSet();
@@ -1293,18 +1293,18 @@ adapter.Fill(dataset, "AAA"); // Fills table "aaa" because only one similarly na
- If one of the results contains an error, all subsequent results are skipped and not added to the .
- When using subsequent calls to refresh the contents of the , two conditions must be met:
+ When using subsequent calls to refresh the contents of the , two conditions must be met:
1. The SQL statement should match the one initially used to populate the .
2. The **Key** column information must be present.
- If primary key information is present, any duplicate rows will be reconciled and only appear once in the that corresponds to the . Primary key information may be set either through , by specifying the property of the , or by setting the property to `AddWithKey`.
+ If primary key information is present, any duplicate rows will be reconciled and only appear once in the that corresponds to the . Primary key information may be set either through , by specifying the property of the , or by setting the property to `AddWithKey`.
- If the `SelectCommand` returns the results of an OUTER JOIN, the `DataAdapter` does not set a value for the resulting . You must explicitly define the primary key to ensure that duplicate rows are resolved correctly. For more information, see [Defining Primary Keys](/dotnet/framework/data/adonet/dataset-datatable-dataview/defining-primary-keys).
+ If the `SelectCommand` returns the results of an OUTER JOIN, the `DataAdapter` does not set a value for the resulting . You must explicitly define the primary key to ensure that duplicate rows are resolved correctly. For more information, see [Defining Primary Keys](/dotnet/framework/data/adonet/dataset-datatable-dataview/defining-primary-keys).
> [!NOTE]
-> When handling batch SQL statements that return multiple results, the implementation of for the .NET Framework Data Provider for OLE DB retrieves schema information for only the first result. To retrieve schema information for multiple results, use with the set to `AddWithKey`.
+> When handling batch SQL statements that return multiple results, the implementation of for the .NET Framework Data Provider for OLE DB retrieves schema information for only the first result. To retrieve schema information for multiple results, use with the set to `AddWithKey`.
> [!NOTE]
> The `DataSet` will not contain more than the number of records indicated by `maxRecords`. However, the entire result set generated by the query is still returned from the server.
@@ -1438,7 +1438,7 @@ adapter.Fill(dataset, "AAA"); // Fills table "aaa" because only one similarly na
A `maxRecords` value of 0 gets all records found after the start record. If `maxRecords` is greater than the number of remaining rows, only the remaining rows are returned and no error is issued.
- The method retrieves the data from the data source using a SELECT statement. The object associated with the SELECT statement must be valid, but it does not need to be open. If the is closed before is called, it is opened to retrieve data, then closed. If the connection is open before is called, it remains open.
+ The method retrieves the data from the data source using a SELECT statement. The object associated with the SELECT statement must be valid, but it does not need to be open. If the is closed before is called, it is opened to retrieve data, then closed. If the connection is open before is called, it remains open.
If a command does not return any rows, no tables are added to the , but no exception is raised.
@@ -1446,7 +1446,7 @@ A `maxRecords` value of 0 gets all records found after the start record. If `max
When the query specified returns multiple results, each result set is placed in a separate table. Additional result sets are named by appending integral values to the specified table name (for example, "Table", "Table1", "Table2", and so on). Since no table is created for a query that does not return rows, if you were to process an insert query followed by a select query, the table created for the select query would be named "Table", because it is the first table created. If your app uses column and table names, ensure there are no conflicts with these naming patterns.
- The method supports scenarios where the contains multiple objects whose names differ only by case. In such situations, performs a case-sensitive comparison to find the corresponding table, and creates a new table if no exact match exists. The following C# code illustrates this behavior.
+ The method supports scenarios where the contains multiple objects whose names differ only by case. In such situations, performs a case-sensitive comparison to find the corresponding table, and creates a new table if no exact match exists. The following C# code illustrates this behavior.
```
DataSet dataset = new DataSet();
@@ -1456,7 +1456,7 @@ adapter.Fill(dataset, "aaa"); // Fills "aaa", which already exists in the DataSe
adapter.Fill(dataset, "Aaa"); // Adds a new table called "Aaa".
```
- If is called and the contains only one whose name differs only by case, that is updated. In this scenario, the comparison is case insensitive. The following C# code illustrates this behavior.
+ If is called and the contains only one whose name differs only by case, that is updated. In this scenario, the comparison is case insensitive. The following C# code illustrates this behavior.
```
DataSet dataset = new DataSet();
@@ -1556,13 +1556,13 @@ adapter.Fill(dataset, "AAA"); // Fills table "aaa" because only one similarly na
A `maxRecords` value of 0 gets all records found after the start record. If `maxRecords` is greater than the number of remaining rows, only the remaining rows are returned and no error is issued.
- The method retrieves rows from the data source using the SELECT statement specified by an associated property. The connection object associated with the SELECT statement must be valid, but it does not need to be open. If the connection is closed before is called, it is opened to retrieve data, then closed. If the connection is open before is called, it remains open.
+ The method retrieves rows from the data source using the SELECT statement specified by an associated property. The connection object associated with the SELECT statement must be valid, but it does not need to be open. If the connection is closed before is called, it is opened to retrieve data, then closed. If the connection is open before is called, it remains open.
- The operation then adds the rows to destination objects in the , creating the objects if they do not already exist. When creating objects, the operation normally creates only column name metadata. However, if the property is set to `AddWithKey`, appropriate primary keys and constraints are also created.
+ The operation then adds the rows to destination objects in the , creating the objects if they do not already exist. When creating objects, the operation normally creates only column name metadata. However, if the property is set to `AddWithKey`, appropriate primary keys and constraints are also created.
If the encounters duplicate columns while populating a , it generates names for the subsequent columns, using the pattern "*columnname*1", "*columnname*2", "*columnname*3", and so on. If the incoming data contains unnamed columns, they are placed in the according to the pattern "Column1", "Column2", and so on. When multiple result sets are added to the each result set is placed in a separate table. Additional result sets are named by appending integral values to the specified table name (for example, "Table", "Table1", "Table2", and so on). If your app uses column and table names, ensure there are no conflicts with these naming patterns.
- The method supports scenarios where the contains multiple objects whose names differ only by case. In such situations, performs a case-sensitive comparison to find the corresponding table, and creates a new table if no exact match exists. The following C# code illustrates this behavior.
+ The method supports scenarios where the contains multiple objects whose names differ only by case. In such situations, performs a case-sensitive comparison to find the corresponding table, and creates a new table if no exact match exists. The following C# code illustrates this behavior.
```
DataSet dataset = new DataSet();
@@ -1572,7 +1572,7 @@ adapter.Fill(dataset, "aaa"); // Fills "aaa", which already exists in the DataSe
adapter.Fill(dataset, "Aaa"); // Adds a new table called "Aaa".
```
- If is called and the contains only one whose name differs only by case, that is updated. In this scenario, the comparison is case insensitive. The following C# code illustrates this behavior.
+ If is called and the contains only one whose name differs only by case, that is updated. In this scenario, the comparison is case insensitive. The following C# code illustrates this behavior.
```
DataSet dataset = new DataSet();
@@ -1580,12 +1580,12 @@ dataset.Tables.Add("aaa");
adapter.Fill(dataset, "AAA"); // Fills table "aaa" because only one similarly named table is in the DataSet.
```
- You can use the method multiple times on the same . If a primary key exists, incoming rows are merged with matching rows that already exist. If no primary key exists, incoming rows are appended to the .
+ You can use the method multiple times on the same . If a primary key exists, incoming rows are merged with matching rows that already exist. If no primary key exists, incoming rows are appended to the .
- If the `SelectCommand` returns the results of an OUTER JOIN, the `DataAdapter` does not set a value for the resulting . You must explicitly define the primary key to ensure that duplicate rows are resolved correctly. For more information, see [Defining Primary Keys](/dotnet/framework/data/adonet/dataset-datatable-dataview/defining-primary-keys).
+ If the `SelectCommand` returns the results of an OUTER JOIN, the `DataAdapter` does not set a value for the resulting . You must explicitly define the primary key to ensure that duplicate rows are resolved correctly. For more information, see [Defining Primary Keys](/dotnet/framework/data/adonet/dataset-datatable-dataview/defining-primary-keys).
> [!NOTE]
-> When handling batch SQL statements that return multiple results, the implementation of and for a .NET Framework data provider retrieves schema information for only the first result.
+> When handling batch SQL statements that return multiple results, the implementation of and for a .NET Framework data provider retrieves schema information for only the first result.
]]>
@@ -1746,23 +1746,23 @@ adapter.Fill(dataset, "AAA"); // Fills table "aaa" because only one similarly na
.
+ This method retrieves the schema information from the data source using the .
- A operation adds a to the destination . It then adds columns to the of the , and configures the following properties if they exist at the data source:
+ A operation adds a to the destination . It then adds columns to the of the , and configures the following properties if they exist at the data source:
--
+-
-- . You must set and separately.
+- . You must set and separately.
--
+-
--
+-
--
+-
- also configures the and properties according to the following rules:
+ also configures the and properties according to the following rules:
-- If one or more primary key columns are returned by the , they are used as the primary key columns for the .
+- If one or more primary key columns are returned by the , they are used as the primary key columns for the .
- If no primary key columns are returned but unique columns are, the unique columns are used as the primary key if, and only if, all the unique columns are nonnullable. If any of the columns are nullable, a is added to the , but the property is not set.
@@ -1772,16 +1772,16 @@ adapter.Fill(dataset, "AAA"); // Fills table "aaa" because only one similarly na
If a unique clustered index is defined on a column or columns in a SQL Server table and the primary key constraint is defined on a separate set of columns, then the names of the columns in the clustered index will be returned. To return the name or names of the primary key columns, use a query hint with the SELECT statement that specifies the name of the primary key index. For more information about specifying query hints, see [Hints (Transact-SQL) - Query](/sql/t-sql/queries/hints-transact-sql-query).
- Primary key information is used during to find and replace any rows whose key columns match. If this is not the desired behavior, use without requesting schema information.
+ Primary key information is used during to find and replace any rows whose key columns match. If this is not the desired behavior, use without requesting schema information.
If the encounters duplicate columns while populating a , it generates names for the subsequent columns, using the pattern "*columnname*1", "*columnname*2", "*columnname*3", and so on. If the incoming data contains unnamed columns, they are placed in the according to the pattern "Column1", "Column2", and so on. When multiple result sets are added to the each result set is placed in a separate table. Additional result sets are named by appending integral values to the specified table name (for example, "Table", "Table1", "Table2", and so on.). If your app uses column and table names, ensure there are no conflicts with these naming patterns.
- The object associated with the select command must be valid, but it does not need to open. If the is closed before is called, it is opened to retrieve data, then closed. If the connection is open before is called, it is left open.
+ The object associated with the select command must be valid, but it does not need to open. If the is closed before is called, it is opened to retrieve data, then closed. If the connection is open before is called, it is left open.
> [!NOTE]
-> When handling batch SQL statements that return multiple results, the implementation of for the .NET Framework Data Provider for OLE DB retrieves schema information for only the first result. To retrieve schema information for multiple results, use with the set to `AddWithKey`.
+> When handling batch SQL statements that return multiple results, the implementation of for the .NET Framework Data Provider for OLE DB retrieves schema information for only the first result. To retrieve schema information for multiple results, use with the set to `AddWithKey`.
- When using , the .NET Framework Data Provider for SQL Server appends a FOR BROWSE clause to the statement being executed. The user should be aware of potential side effects, such as interference with the use of SET FMTONLY ON statements. For more information, see [SET FMTONLY (Transact-SQL)](/sql/t-sql/statements/set-fmtonly-transact-sql).
+ When using , the .NET Framework Data Provider for SQL Server appends a FOR BROWSE clause to the statement being executed. The user should be aware of potential side effects, such as interference with the use of SET FMTONLY ON statements. For more information, see [SET FMTONLY (Transact-SQL)](/sql/t-sql/statements/set-fmtonly-transact-sql).
@@ -1859,25 +1859,25 @@ adapter.Fill(dataset, "AAA"); // Fills table "aaa" because only one similarly na
method retrieves the schema from the data source using the . The connection object associated with the must be valid, but it does not need to be open. If the connection is closed before is called, it is opened to retrieve data, then closed. If the connection is open before is called, it remains open.
+ The method retrieves the schema from the data source using the . The connection object associated with the must be valid, but it does not need to be open. If the connection is closed before is called, it is opened to retrieve data, then closed. If the connection is open before is called, it remains open.
- A operation returns a . It then adds columns to the of the , and configures the following properties if they exist at the data source:
+ A operation returns a . It then adds columns to the of the , and configures the following properties if they exist at the data source:
--
+-
-- . You must set and separately.
+- . You must set and separately.
--
+-
--
+-
--
+-
- also configures the and properties according to the following rules:
+ also configures the and properties according to the following rules:
-- If a has already been defined for the `DataTable`, or the `DataTable` contains data, the `PrimaryKey` property will not be set.
+- If a has already been defined for the `DataTable`, or the `DataTable` contains data, the `PrimaryKey` property will not be set.
-- If one or more primary key columns are returned by the , they are used as the primary key columns for the `DataTable`.
+- If one or more primary key columns are returned by the , they are used as the primary key columns for the `DataTable`.
- If no primary key columns are returned but unique columns are, the unique columns are used as the primary key if, and only if, all the unique columns are nonnullable. If any of the columns are nullable, a is added to the , but the `PrimaryKey` property is not set.
@@ -1889,12 +1889,12 @@ adapter.Fill(dataset, "AAA"); // Fills table "aaa" because only one similarly na
If the encounters duplicate columns while populating a , it generates names for the subsequent columns, using the pattern "*columnname*1", "*columnname*2", "*columnname*3", and so on. If the incoming data contains unnamed columns, they are placed in the according to the pattern "Column1", "Column2", and so on. When multiple result sets are added to the each result set is placed in a separate table. Additional result sets are named by appending integral values to the specified table name (for example, "Table", "Table1", "Table2", and so on.). If your app uses column and table names, ensure there are no conflicts with these naming patterns.
- does not return any rows. Use the method to add rows to a .
+ does not return any rows. Use the method to add rows to a .
> [!NOTE]
-> When handling batch SQL statements that return multiple results, the implementation of for the .NET Framework Data Provider for OLE DB retrieves schema information for only the first result. To retrieve schema information for multiple results, use with the set to `AddWithKey`.
+> When handling batch SQL statements that return multiple results, the implementation of for the .NET Framework Data Provider for OLE DB retrieves schema information for only the first result. To retrieve schema information for multiple results, use with the set to `AddWithKey`.
- When using , the .NET Framework Data Provider for SQL Server appends a FOR BROWSE clause to the statement being executed. The user should be aware of potential side effects, such as interference with the use of SET FMTONLY ON statements. For more information, see [SET FMTONLY (Transact-SQL)](/sql/t-sql/statements/set-fmtonly-transact-sql).
+ When using , the .NET Framework Data Provider for SQL Server appends a FOR BROWSE clause to the statement being executed. The user should be aware of potential side effects, such as interference with the use of SET FMTONLY ON statements. For more information, see [SET FMTONLY (Transact-SQL)](/sql/t-sql/statements/set-fmtonly-transact-sql).
@@ -1967,23 +1967,23 @@ adapter.Fill(dataset, "AAA"); // Fills table "aaa" because only one similarly na
.
+ This method retrieves the schema information from the data source using the .
- A operation adds a to the destination . It then adds columns to the of the , and configures the following properties if they exist at the data source:
+ A operation adds a to the destination . It then adds columns to the of the , and configures the following properties if they exist at the data source:
--
+-
-- . You must set and separately.
+- . You must set and separately.
--
+-
--
+-
--
+-
- also configures the and properties according to the following rules:
+ also configures the and properties according to the following rules:
-- If one or more primary key columns are returned by the , they are used as the primary key columns for the .
+- If one or more primary key columns are returned by the , they are used as the primary key columns for the .
- If no primary key columns are returned but unique columns are, the unique columns are used as the primary key if, and only if, all the unique columns are nonnullable. If any of the columns are nullable, a is added to the , but the property is not set.
@@ -1993,11 +1993,11 @@ adapter.Fill(dataset, "AAA"); // Fills table "aaa" because only one similarly na
If a unique clustered index is defined on a column or columns in a SQL Server table and the primary key constraint is defined on a separate set of columns, then the names of the columns in the clustered index will be returned. To return the name or names of the primary key columns, use a query hint with the SELECT statement that specifies the name of the primary key index. For more information about specifying query hints, see [Hints (Transact-SQL) - Query](/sql/t-sql/queries/hints-transact-sql-query).
- Primary key information is used during to find and replace any rows whose key columns match. If this is not the desired behavior, use without requesting schema information.
+ Primary key information is used during to find and replace any rows whose key columns match. If this is not the desired behavior, use without requesting schema information.
If the encounters duplicate columns while populating a , it generates names for the subsequent columns, using the pattern "*columnname*1", "*columnname*2", "*columnname*3", and so on. If the incoming data contains unnamed columns, they are placed in the according to the pattern "Column1", "Column2", and so on. When multiple result sets are added to the each result set is placed in a separate table. Additional result sets are named by appending integral values to the specified table name (for example, "Table", "Table1", "Table2", and so on.). If your app uses column and table names, ensure there are no conflicts with these naming patterns.
- The method supports scenarios where the contains multiple objects whose names differ only by case. In such situations, performs a case-sensitive comparison to find the corresponding table, and creates a new table if no exact match exists. The following C# code illustrates this behavior.
+ The