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
- AuthenticationModulesSection.cs
- Item.cs
- Vector3dCollection.cs
- CodeSubDirectoriesCollection.cs
- XXXOnTypeBuilderInstantiation.cs
- TypeDefinition.cs
- PersonalizationStateInfo.cs
- FlowDocumentPage.cs
- SuppressMessageAttribute.cs
- MulticastDelegate.cs
- SafeNativeMethods.cs
- WinFormsSecurity.cs
- DSASignatureFormatter.cs
- LabelLiteral.cs
- LayoutEngine.cs
- MiniConstructorInfo.cs
- QueryableDataSourceEditData.cs
- DataPagerFieldItem.cs
- DetailsViewRow.cs
- SettingsProviderCollection.cs
- Utils.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- Stacktrace.cs
- MouseBinding.cs
- Attributes.cs
- ObjectContextServiceProvider.cs
- XamlDebuggerXmlReader.cs
- SiteMapDesignerDataSourceView.cs
- ParameterEditorUserControl.cs
- HttpCacheVary.cs
- DateTimeOffsetStorage.cs
- DataGridHelper.cs
- SmtpNegotiateAuthenticationModule.cs
- FilterException.cs
- ConfigDefinitionUpdates.cs
- EndpointDispatcherTable.cs
- DataGridViewAddColumnDialog.cs
- DataGridViewSortCompareEventArgs.cs
- InteropBitmapSource.cs
- UniqueEventHelper.cs
- InvalidWorkflowException.cs
- DesignerView.Commands.cs
- GenericPrincipal.cs
- DockPattern.cs
- FixedSOMElement.cs
- DocumentPageHost.cs
- RTLAwareMessageBox.cs
- UIHelper.cs
- BitmapEffectInputData.cs
- CreateUserWizardStep.cs
- Queue.cs
- FileVersionInfo.cs
- BaseValidator.cs
- FormatVersion.cs
- TypeDelegator.cs
- VisualStyleInformation.cs
- _IPv6Address.cs
- HtmlTextArea.cs
- XmlSchemaSimpleType.cs
- SingleStorage.cs
- TypeReference.cs
- RegexCaptureCollection.cs
- UriWriter.cs
- XmlSchemaAttributeGroupRef.cs
- QueryInterceptorAttribute.cs
- ScriptResourceHandler.cs
- CustomBindingElement.cs
- dtdvalidator.cs
- GridViewColumnCollectionChangedEventArgs.cs
- BooleanConverter.cs
- EntityContainerEmitter.cs
- CompositeFontParser.cs
- rsa.cs
- Activator.cs
- RtType.cs
- versioninfo.cs
- UnitySerializationHolder.cs
- PrintPageEvent.cs
- FormView.cs
- HijriCalendar.cs
- Size3DConverter.cs
- ApplyTemplatesAction.cs
- Control.cs
- Ticks.cs
- CodeTypeMemberCollection.cs
- IISUnsafeMethods.cs
- MatrixAnimationUsingKeyFrames.cs
- HttpDictionary.cs
- InternalCache.cs
- PageSettings.cs
- DataGridViewComboBoxEditingControl.cs
- ValidatorUtils.cs
- GridView.cs
- WebBrowserSiteBase.cs
- BitmapMetadataBlob.cs
- ResourceAttributes.cs
- MinimizableAttributeTypeConverter.cs
- SmtpAuthenticationManager.cs
- PrinterSettings.cs
- SchemaNamespaceManager.cs