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
- ButtonRenderer.cs
- ThreadStartException.cs
- CodeCompileUnit.cs
- XmlSerializerFactory.cs
- AnnotationAdorner.cs
- UrlParameterWriter.cs
- SafeUserTokenHandle.cs
- GenericRootAutomationPeer.cs
- IBuiltInEvidence.cs
- PageVisual.cs
- XsdBuilder.cs
- EnvironmentPermission.cs
- PreviewPageInfo.cs
- SafeHandles.cs
- NativeMethods.cs
- WindowsEditBox.cs
- XmlSchemaFacet.cs
- Aggregates.cs
- TextDecorations.cs
- Expression.DebuggerProxy.cs
- TextDecorationCollection.cs
- LazyTextWriterCreator.cs
- StackOverflowException.cs
- LoadGrammarCompletedEventArgs.cs
- DataShape.cs
- MetadataCacheItem.cs
- AuthenticationConfig.cs
- BitmapScalingModeValidation.cs
- TransactionFormatter.cs
- HtmlTableCell.cs
- GlyphingCache.cs
- DoubleIndependentAnimationStorage.cs
- MatrixConverter.cs
- RegionIterator.cs
- TextElementEditingBehaviorAttribute.cs
- RepeaterItem.cs
- MemberMaps.cs
- Accessible.cs
- BinaryReader.cs
- JsonQNameDataContract.cs
- FloaterParaClient.cs
- XmlReflectionMember.cs
- SchemaSetCompiler.cs
- ClientSideProviderDescription.cs
- RequestCacheEntry.cs
- RemoteWebConfigurationHostServer.cs
- DataGridRowsPresenter.cs
- TabControlEvent.cs
- TraceContextRecord.cs
- CalendarDateRange.cs
- CreateDataSourceDialog.cs
- HitTestResult.cs
- TableLayoutStyleCollection.cs
- RoleGroupCollectionEditor.cs
- DependencyObjectProvider.cs
- LayoutTableCell.cs
- RichTextBoxContextMenu.cs
- ZipFileInfoCollection.cs
- DebuggerService.cs
- TypeDependencyAttribute.cs
- LinkClickEvent.cs
- CompoundFileReference.cs
- XPathCompileException.cs
- DataGridViewColumnHeaderCell.cs
- WebScriptEnablingElement.cs
- XmlSchemaAnnotation.cs
- ListItemConverter.cs
- TemplateBamlTreeBuilder.cs
- Serialization.cs
- OpenFileDialog.cs
- MgmtConfigurationRecord.cs
- InfoCardTrace.cs
- PageAsyncTask.cs
- QueryContinueDragEventArgs.cs
- NetworkInterface.cs
- Function.cs
- ProviderSettingsCollection.cs
- UnsafeNativeMethodsCLR.cs
- SocketAddress.cs
- UserControlCodeDomTreeGenerator.cs
- XmlSchemaComplexContent.cs
- DocumentApplicationDocumentViewer.cs
- X509Certificate.cs
- BitmapEncoder.cs
- FixedPosition.cs
- WindowsListViewSubItem.cs
- WebConfigurationHost.cs
- XamlPointCollectionSerializer.cs
- StrongName.cs
- Rect3DValueSerializer.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- CodeSubDirectoriesCollection.cs
- AutomationPatternInfo.cs
- SpellerInterop.cs
- HMACSHA1.cs
- GorillaCodec.cs
- FixedFlowMap.cs
- WindowInteropHelper.cs
- MouseOverProperty.cs
- XsltQilFactory.cs