Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Data / System / Data / Odbc / OdbcRowUpdatingEvent.cs / 1 / OdbcRowUpdatingEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //[....] //----------------------------------------------------------------------------- using System; using System.Data; using System.Data.Common; //DbDataAdapter using System.ComponentModel; //Component namespace System.Data.Odbc { ///////////////////////////////////////////////////////////////////////// // Event Handlers // ///////////////////////////////////////////////////////////////////////// #if WINFSInternalOnly internal #else public #endif delegate void OdbcRowUpdatingEventHandler(object sender, OdbcRowUpdatingEventArgs e); #if WINFSInternalOnly internal #else public #endif delegate void OdbcRowUpdatedEventHandler(object sender, OdbcRowUpdatedEventArgs e); ///////////////////////////////////////////////////////////////////////// // OdbcRowUpdatingEventArgs // ///////////////////////////////////////////////////////////////////////// #if WINFSInternalOnly internal #else public #endif sealed class OdbcRowUpdatingEventArgs : RowUpdatingEventArgs { public OdbcRowUpdatingEventArgs(DataRow row, IDbCommand command, StatementType statementType, DataTableMapping tableMapping) : base(row, command, statementType, tableMapping) { } new public OdbcCommand Command { get { return (base.Command as OdbcCommand); } set { base.Command = value; } } override protected IDbCommand BaseCommand { get { return base.BaseCommand; } set { base.BaseCommand = (value as OdbcCommand); } } } ///////////////////////////////////////////////////////////////////////// // OdbcRowUpdatedEventArgs // ///////////////////////////////////////////////////////////////////////// #if WINFSInternalOnly internal #else public #endif sealed class OdbcRowUpdatedEventArgs : RowUpdatedEventArgs { public OdbcRowUpdatedEventArgs(DataRow row, IDbCommand command, StatementType statementType, DataTableMapping tableMapping) : base(row, command, statementType, tableMapping) { } new public OdbcCommand Command { get { return(OdbcCommand) base.Command; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //[....] //----------------------------------------------------------------------------- using System; using System.Data; using System.Data.Common; //DbDataAdapter using System.ComponentModel; //Component namespace System.Data.Odbc { ///////////////////////////////////////////////////////////////////////// // Event Handlers // ///////////////////////////////////////////////////////////////////////// #if WINFSInternalOnly internal #else public #endif delegate void OdbcRowUpdatingEventHandler(object sender, OdbcRowUpdatingEventArgs e); #if WINFSInternalOnly internal #else public #endif delegate void OdbcRowUpdatedEventHandler(object sender, OdbcRowUpdatedEventArgs e); ///////////////////////////////////////////////////////////////////////// // OdbcRowUpdatingEventArgs // ///////////////////////////////////////////////////////////////////////// #if WINFSInternalOnly internal #else public #endif sealed class OdbcRowUpdatingEventArgs : RowUpdatingEventArgs { public OdbcRowUpdatingEventArgs(DataRow row, IDbCommand command, StatementType statementType, DataTableMapping tableMapping) : base(row, command, statementType, tableMapping) { } new public OdbcCommand Command { get { return (base.Command as OdbcCommand); } set { base.Command = value; } } override protected IDbCommand BaseCommand { get { return base.BaseCommand; } set { base.BaseCommand = (value as OdbcCommand); } } } ///////////////////////////////////////////////////////////////////////// // OdbcRowUpdatedEventArgs // ///////////////////////////////////////////////////////////////////////// #if WINFSInternalOnly internal #else public #endif sealed class OdbcRowUpdatedEventArgs : RowUpdatedEventArgs { public OdbcRowUpdatedEventArgs(DataRow row, IDbCommand command, StatementType statementType, DataTableMapping tableMapping) : base(row, command, statementType, tableMapping) { } new public OdbcCommand Command { get { return(OdbcCommand) base.Command; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ThemeDirectoryCompiler.cs
- CommandID.cs
- HttpCapabilitiesEvaluator.cs
- SqlNodeTypeOperators.cs
- SqlVisitor.cs
- Pens.cs
- MorphHelper.cs
- Matrix3DValueSerializer.cs
- SmiXetterAccessMap.cs
- StringUtil.cs
- ChainedAsyncResult.cs
- ObjectQueryExecutionPlan.cs
- TypeHelper.cs
- IdentityNotMappedException.cs
- StylusPlugin.cs
- SplitterEvent.cs
- RuleSetDialog.Designer.cs
- MruCache.cs
- NavigationProperty.cs
- TableFieldsEditor.cs
- ValidationErrorEventArgs.cs
- XmlComplianceUtil.cs
- ToolStripDropDownDesigner.cs
- RequestNavigateEventArgs.cs
- InvokeHandlers.cs
- ObjectStateEntryDbDataRecord.cs
- StrongNameSignatureInformation.cs
- PriorityItem.cs
- BuildProviderCollection.cs
- TdsValueSetter.cs
- DataGridViewIntLinkedList.cs
- ApplicationServiceHelper.cs
- SqlTriggerAttribute.cs
- Span.cs
- TemplatedMailWebEventProvider.cs
- ToolTip.cs
- Transform.cs
- OracleParameter.cs
- PropertyNames.cs
- PropertyRecord.cs
- TaskForm.cs
- ListDictionary.cs
- EndpointDiscoveryMetadataCD1.cs
- ProfilePropertyNameValidator.cs
- CookieProtection.cs
- DataGridViewComboBoxEditingControl.cs
- RoutedEventHandlerInfo.cs
- ScriptManager.cs
- SafeFindHandle.cs
- DataGridViewColumnEventArgs.cs
- BuildProvidersCompiler.cs
- SiteOfOriginContainer.cs
- SessionSymmetricTransportSecurityProtocolFactory.cs
- TextPointer.cs
- FtpWebResponse.cs
- DependencyProperty.cs
- AccessKeyManager.cs
- SymDocumentType.cs
- SingleAnimationUsingKeyFrames.cs
- XXXOnTypeBuilderInstantiation.cs
- RTLAwareMessageBox.cs
- Calendar.cs
- CFGGrammar.cs
- XmlWriter.cs
- RectConverter.cs
- SuppressIldasmAttribute.cs
- TextOutput.cs
- ClientSideQueueItem.cs
- AuthorizationRule.cs
- Hash.cs
- HasCopySemanticsAttribute.cs
- SqlBulkCopyColumnMappingCollection.cs
- TreeNodeSelectionProcessor.cs
- ThreadExceptionEvent.cs
- MemoryResponseElement.cs
- InstanceLockQueryResult.cs
- TypeInitializationException.cs
- AccessViolationException.cs
- EdmItemCollection.OcAssemblyCache.cs
- LongValidatorAttribute.cs
- CodeTypeReferenceExpression.cs
- TripleDES.cs
- ListControlBuilder.cs
- SHA512Cng.cs
- ColorConverter.cs
- SQLChars.cs
- smtppermission.cs
- DataViewSetting.cs
- TrailingSpaceComparer.cs
- InkCanvasAutomationPeer.cs
- MetadataPropertyvalue.cs
- _IPv4Address.cs
- FileLoadException.cs
- ToolBar.cs
- TimeoutException.cs
- UpDownBase.cs
- ClickablePoint.cs
- RowBinding.cs
- DiscoveryMessageSequenceGenerator.cs
- JavaScriptString.cs