Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Data / System / Data / Odbc / OdbcRowUpdatingEvent.cs / 1305376 / 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 // ///////////////////////////////////////////////////////////////////////// public delegate void OdbcRowUpdatingEventHandler(object sender, OdbcRowUpdatingEventArgs e); public delegate void OdbcRowUpdatedEventHandler(object sender, OdbcRowUpdatedEventArgs e); ///////////////////////////////////////////////////////////////////////// // OdbcRowUpdatingEventArgs // ///////////////////////////////////////////////////////////////////////// public 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 // ///////////////////////////////////////////////////////////////////////// public 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 // ///////////////////////////////////////////////////////////////////////// public delegate void OdbcRowUpdatingEventHandler(object sender, OdbcRowUpdatingEventArgs e); public delegate void OdbcRowUpdatedEventHandler(object sender, OdbcRowUpdatedEventArgs e); ///////////////////////////////////////////////////////////////////////// // OdbcRowUpdatingEventArgs // ///////////////////////////////////////////////////////////////////////// public 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 // ///////////////////////////////////////////////////////////////////////// public 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
- RemoteWebConfigurationHostStream.cs
- MessageDroppedTraceRecord.cs
- FigureParagraph.cs
- LinqDataSource.cs
- CodeTypeDeclarationCollection.cs
- SQLString.cs
- HttpCookiesSection.cs
- X500Name.cs
- DataStreamFromComStream.cs
- EventMetadata.cs
- PixelShader.cs
- NetworkCredential.cs
- RegistryConfigurationProvider.cs
- Point4D.cs
- XPathNavigatorReader.cs
- IdleTimeoutMonitor.cs
- TraceHandler.cs
- HttpHandlersSection.cs
- InheritedPropertyChangedEventArgs.cs
- ResourceSetExpression.cs
- streamingZipPartStream.cs
- ManifestSignatureInformation.cs
- BaseCAMarshaler.cs
- GlyphsSerializer.cs
- GlyphRunDrawing.cs
- UriTemplateClientFormatter.cs
- MultiView.cs
- StatusBar.cs
- HttpProfileGroupBase.cs
- PackageProperties.cs
- ISFClipboardData.cs
- DependencyPropertyAttribute.cs
- Point3DAnimationUsingKeyFrames.cs
- XpsTokenContext.cs
- TemplateControlParser.cs
- ImageList.cs
- FreezableCollection.cs
- OdbcConnectionString.cs
- XmlSchemaSearchPattern.cs
- XamlGridLengthSerializer.cs
- UInt32.cs
- WebPartTracker.cs
- cryptoapiTransform.cs
- ColumnHeader.cs
- JsonDataContract.cs
- TiffBitmapDecoder.cs
- StrongNamePublicKeyBlob.cs
- UriParserTemplates.cs
- CodeGotoStatement.cs
- BasicHttpMessageSecurity.cs
- EnumMember.cs
- EncodingInfo.cs
- CqlIdentifiers.cs
- DataObjectAttribute.cs
- Closure.cs
- SelectionProcessor.cs
- EventLogPermission.cs
- HttpWriter.cs
- TextModifier.cs
- DataBoundControl.cs
- WebPartManagerInternals.cs
- EncoderFallback.cs
- DocumentReference.cs
- configsystem.cs
- SqlBuffer.cs
- MsmqInputChannelListenerBase.cs
- OptimalTextSource.cs
- InplaceBitmapMetadataWriter.cs
- XmlDictionaryReaderQuotas.cs
- AdornerLayer.cs
- assemblycache.cs
- Ops.cs
- RegionInfo.cs
- BufferedWebEventProvider.cs
- AddInIpcChannel.cs
- TraceSource.cs
- SqlBooleanizer.cs
- ListViewGroupItemCollection.cs
- TextRangeEdit.cs
- XmlSchemaComplexContent.cs
- ContractMapping.cs
- BaseValidator.cs
- DataGridViewAccessibleObject.cs
- XmlSchemaComplexContentExtension.cs
- PeerSecurityHelpers.cs
- JournalNavigationScope.cs
- PeerEndPoint.cs
- ExpressionNormalizer.cs
- MissingFieldException.cs
- Helpers.cs
- DrawingGroupDrawingContext.cs
- PkcsMisc.cs
- NonPrimarySelectionGlyph.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- DashStyle.cs
- XmlTextWriter.cs
- Item.cs
- FrameworkTextComposition.cs
- ResponseStream.cs
- XmlDsigSep2000.cs