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
- ElementHostAutomationPeer.cs
- ActionItem.cs
- DbProviderFactories.cs
- SqlDependencyListener.cs
- Shape.cs
- SoapProtocolImporter.cs
- Translator.cs
- RoleService.cs
- XmlElementAttributes.cs
- Color.cs
- ConfigurationStrings.cs
- ObjectQueryProvider.cs
- WindowsSlider.cs
- ExpressionEditorAttribute.cs
- Rijndael.cs
- MatrixConverter.cs
- DiffuseMaterial.cs
- SchemaMerger.cs
- TraceRecord.cs
- ConnectionsZone.cs
- SettingsProviderCollection.cs
- DeclarativeCatalogPartDesigner.cs
- FixedBufferAttribute.cs
- DataBoundControl.cs
- DataColumnMapping.cs
- isolationinterop.cs
- UnsafeNativeMethodsTablet.cs
- TypeUnloadedException.cs
- EntityDataSourceColumn.cs
- ReadOnlyDataSource.cs
- BitmapVisualManager.cs
- PageCodeDomTreeGenerator.cs
- CachedPathData.cs
- listitem.cs
- XmlSignatureManifest.cs
- GridViewDesigner.cs
- NameValueFileSectionHandler.cs
- WebScriptMetadataMessage.cs
- CustomCredentialPolicy.cs
- SignatureDescription.cs
- KnownTypes.cs
- SiteMapDataSourceView.cs
- DataObjectSettingDataEventArgs.cs
- BitmapDownload.cs
- HMACMD5.cs
- ColorConverter.cs
- XamlStream.cs
- ACL.cs
- DesignTimeTemplateParser.cs
- HtmlImage.cs
- While.cs
- ArraySegment.cs
- VectorKeyFrameCollection.cs
- LineServicesRun.cs
- RowVisual.cs
- SqlTriggerContext.cs
- smtppermission.cs
- ImageList.cs
- RestrictedTransactionalPackage.cs
- WebPart.cs
- DeflateEmulationStream.cs
- CodeStatementCollection.cs
- StringCollectionMarkupSerializer.cs
- RemotingException.cs
- cache.cs
- DocumentGrid.cs
- Span.cs
- SocketAddress.cs
- CodeArrayIndexerExpression.cs
- TypeInitializationException.cs
- PageParser.cs
- Constraint.cs
- BaseCAMarshaler.cs
- SelectedGridItemChangedEvent.cs
- NativeMethods.cs
- ComponentEditorPage.cs
- PersistenceTypeAttribute.cs
- BaseTemplateParser.cs
- MeshGeometry3D.cs
- TemplateBaseAction.cs
- TextSegment.cs
- OracleConnectionString.cs
- SemanticTag.cs
- SelectionBorderGlyph.cs
- Rect3D.cs
- TreeNodeMouseHoverEvent.cs
- ArgIterator.cs
- ITreeGenerator.cs
- PageWrapper.cs
- SettingsPropertyValueCollection.cs
- PageParserFilter.cs
- ContextMenuService.cs
- CodeObject.cs
- PartialArray.cs
- SiteMapNodeItem.cs
- WinFormsComponentEditor.cs
- IApplicationTrustManager.cs
- DesignerValidatorAdapter.cs
- ValidationManager.cs
- ScalarConstant.cs