Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- SafeRegistryKey.cs
- QfeChecker.cs
- OracleRowUpdatingEventArgs.cs
- WebPartMenu.cs
- SqlDataRecord.cs
- CodeCatchClauseCollection.cs
- ObjectTag.cs
- InvalidDataContractException.cs
- FrameworkContentElementAutomationPeer.cs
- ConsumerConnectionPoint.cs
- CacheOutputQuery.cs
- Script.cs
- HttpStreams.cs
- BitmapImage.cs
- CallSiteHelpers.cs
- WebPartTracker.cs
- NamespaceCollection.cs
- UnsafeNativeMethods.cs
- UnsafeNativeMethodsMilCoreApi.cs
- SoapFaultCodes.cs
- X509CertificateStore.cs
- RegionInfo.cs
- WebPartZone.cs
- NextPreviousPagerField.cs
- ProfileSettingsCollection.cs
- FormViewInsertedEventArgs.cs
- XamlGridLengthSerializer.cs
- ProcessModuleCollection.cs
- XmlDataSourceDesigner.cs
- PackagePartCollection.cs
- QilValidationVisitor.cs
- SafeNativeMethods.cs
- SafeNativeMethods.cs
- BindableAttribute.cs
- ClientUIRequest.cs
- AssemblyNameProxy.cs
- Misc.cs
- System.Data_BID.cs
- StringConcat.cs
- ConnectionOrientedTransportChannelListener.cs
- UnsafeNativeMethodsCLR.cs
- FontFamilyIdentifier.cs
- DataError.cs
- UpdateRecord.cs
- BamlVersionHeader.cs
- WmpBitmapEncoder.cs
- BasicHttpMessageSecurity.cs
- ClientOptions.cs
- SecurityTokenReferenceStyle.cs
- IsolatedStorageFilePermission.cs
- ApplicationDirectory.cs
- WinEventTracker.cs
- MatrixTransform3D.cs
- BinaryUtilClasses.cs
- URLAttribute.cs
- PointLight.cs
- SocketInformation.cs
- Win32.cs
- TrackingProfileManager.cs
- SqlTypesSchemaImporter.cs
- DataBindingExpressionBuilder.cs
- basecomparevalidator.cs
- SchemaNames.cs
- _TimerThread.cs
- RequestNavigateEventArgs.cs
- RoutingSection.cs
- InkPresenter.cs
- TextParagraphView.cs
- ByteKeyFrameCollection.cs
- DecoderNLS.cs
- ValidatingReaderNodeData.cs
- StringAnimationUsingKeyFrames.cs
- CallbackValidatorAttribute.cs
- ResourceManagerWrapper.cs
- ContextMenu.cs
- TextFormatter.cs
- SoapSchemaMember.cs
- WorkflowInstanceExtensionCollection.cs
- HtmlTable.cs
- QilFunction.cs
- BeginEvent.cs
- XmlSchemaRedefine.cs
- RequiredAttributeAttribute.cs
- DirectoryNotFoundException.cs
- HttpProfileBase.cs
- ViewGenResults.cs
- SchemaObjectWriter.cs
- StrokeNodeEnumerator.cs
- XPathAxisIterator.cs
- TypefaceCollection.cs
- SqlInternalConnectionSmi.cs
- IdleTimeoutMonitor.cs
- FileLevelControlBuilderAttribute.cs
- TemplateControl.cs
- ConsoleKeyInfo.cs
- BatchServiceHost.cs
- OLEDB_Util.cs
- HttpGetProtocolImporter.cs
- PassportPrincipal.cs
- Nodes.cs