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
- infer.cs
- Timeline.cs
- AuthenticationSection.cs
- SecurityPermission.cs
- ToolStripLabel.cs
- BaseAppDomainProtocolHandler.cs
- FontWeights.cs
- ConfigurationException.cs
- UserValidatedEventArgs.cs
- DataGridViewCellPaintingEventArgs.cs
- NavigationWindow.cs
- AnyReturnReader.cs
- SQLInt32Storage.cs
- MemoryStream.cs
- XmlLanguageConverter.cs
- RecommendedAsConfigurableAttribute.cs
- CopyOfAction.cs
- DataGridViewAddColumnDialog.cs
- Odbc32.cs
- OutputCacheSettings.cs
- EventProxy.cs
- StylusButtonEventArgs.cs
- ListItemParagraph.cs
- AppSettingsExpressionBuilder.cs
- CheckBox.cs
- ItemCollection.cs
- Rotation3D.cs
- IdentityReference.cs
- Speller.cs
- HttpConfigurationSystem.cs
- BuilderPropertyEntry.cs
- DataGridViewControlCollection.cs
- NestedContainer.cs
- ClassData.cs
- ConfigurationManagerInternalFactory.cs
- RadioButtonAutomationPeer.cs
- NCryptSafeHandles.cs
- DataListItemEventArgs.cs
- XamlSerializer.cs
- HttpClientCredentialType.cs
- SqlClientFactory.cs
- BinHexDecoder.cs
- Transform.cs
- ApplicationException.cs
- PageCatalogPart.cs
- recordstate.cs
- CommandHelpers.cs
- InvokeGenerator.cs
- IdentityManager.cs
- TransformerInfo.cs
- MissingSatelliteAssemblyException.cs
- LiteralControl.cs
- ValidationRuleCollection.cs
- MenuRendererClassic.cs
- Number.cs
- Int32CollectionValueSerializer.cs
- TimeManager.cs
- DbConnectionPoolGroup.cs
- Typeface.cs
- XmlDocument.cs
- TextInfo.cs
- XPathNodeList.cs
- GAC.cs
- ObjectHelper.cs
- ECDiffieHellmanPublicKey.cs
- DataGridViewCellFormattingEventArgs.cs
- DataObjectEventArgs.cs
- Interfaces.cs
- DnsPermission.cs
- SingleObjectCollection.cs
- dsa.cs
- ValueUtilsSmi.cs
- TrackingProfileSerializer.cs
- WindowsAltTab.cs
- FileInfo.cs
- IIS7WorkerRequest.cs
- IISUnsafeMethods.cs
- CodeFieldReferenceExpression.cs
- NamespaceInfo.cs
- DeclaredTypeValidator.cs
- ParameterBuilder.cs
- EndOfStreamException.cs
- CredentialCache.cs
- XsltOutput.cs
- NullableBoolConverter.cs
- ModuleElement.cs
- SchemaMerger.cs
- RegexMatch.cs
- DataGridViewEditingControlShowingEventArgs.cs
- XPathPatternBuilder.cs
- CategoryAttribute.cs
- SetStoryboardSpeedRatio.cs
- StringAnimationUsingKeyFrames.cs
- IERequestCache.cs
- ZipPackage.cs
- CompoundFileDeflateTransform.cs
- FileUtil.cs
- StrongName.cs
- CellParaClient.cs
- WorkerRequest.cs