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
- AnyAllSearchOperator.cs
- SpoolingTask.cs
- BaseParagraph.cs
- ObjectHelper.cs
- DbProviderSpecificTypePropertyAttribute.cs
- HttpModuleCollection.cs
- SqlMultiplexer.cs
- MailAddressCollection.cs
- ClipboardProcessor.cs
- EventLogQuery.cs
- RepeatButton.cs
- QuaternionAnimation.cs
- ListBase.cs
- Container.cs
- SBCSCodePageEncoding.cs
- Events.cs
- AccessKeyManager.cs
- DrawingContextDrawingContextWalker.cs
- SectionVisual.cs
- SqlCharStream.cs
- FileDataSourceCache.cs
- XhtmlMobileTextWriter.cs
- DataSourceControl.cs
- CqlLexerHelpers.cs
- Task.cs
- TypeDelegator.cs
- DataControlLinkButton.cs
- SQLBytes.cs
- TemplateInstanceAttribute.cs
- UnauthorizedAccessException.cs
- TagPrefixInfo.cs
- TextDecorationCollection.cs
- PeerNameRecord.cs
- Utils.cs
- MissingManifestResourceException.cs
- EngineSite.cs
- PublisherMembershipCondition.cs
- ChangesetResponse.cs
- ToolStripHighContrastRenderer.cs
- ObjectSecurityT.cs
- SetterBase.cs
- ProgressiveCrcCalculatingStream.cs
- documentation.cs
- securitycriticaldataClass.cs
- DefaultTextStoreTextComposition.cs
- EntityDataSourceContainerNameConverter.cs
- ScriptingSectionGroup.cs
- InputBuffer.cs
- Misc.cs
- HierarchicalDataBoundControl.cs
- EventWaitHandle.cs
- SafeCryptContextHandle.cs
- ProviderIncompatibleException.cs
- CustomCredentialPolicy.cs
- SplashScreen.cs
- login.cs
- PartBasedPackageProperties.cs
- IndexedEnumerable.cs
- SharedStatics.cs
- XmlnsDefinitionAttribute.cs
- GuidelineCollection.cs
- future.cs
- FileLoadException.cs
- WorkflowViewElement.cs
- ProxyWebPart.cs
- ModuleConfigurationInfo.cs
- ScriptingWebServicesSectionGroup.cs
- GenericPrincipal.cs
- InProcStateClientManager.cs
- CachedPathData.cs
- Preprocessor.cs
- AnimationClock.cs
- SpecialNameAttribute.cs
- ComponentGuaranteesAttribute.cs
- BitmapEffectDrawing.cs
- GenericEnumerator.cs
- Int32CollectionValueSerializer.cs
- WebPartZoneAutoFormat.cs
- DoubleLinkListEnumerator.cs
- TextHidden.cs
- VirtualizingPanel.cs
- Variant.cs
- TableCell.cs
- EditorZone.cs
- AudioException.cs
- ProgressiveCrcCalculatingStream.cs
- Pipe.cs
- LinearGradientBrush.cs
- SoapClientProtocol.cs
- SchemaInfo.cs
- XmlNamedNodeMap.cs
- PresentationAppDomainManager.cs
- UTF8Encoding.cs
- XmlUtilWriter.cs
- DecimalStorage.cs
- PrintPreviewDialog.cs
- SqlCommandSet.cs
- TaskFormBase.cs
- ProfileBuildProvider.cs