Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- SimpleBitVector32.cs
- StyleConverter.cs
- SqlUDTStorage.cs
- Int64Animation.cs
- DataGridViewElement.cs
- ConfigViewGenerator.cs
- GifBitmapDecoder.cs
- ToolStripDropDownMenu.cs
- UriTemplateDispatchFormatter.cs
- Unit.cs
- GridViewCellAutomationPeer.cs
- PreviewKeyDownEventArgs.cs
- ContextConfiguration.cs
- ImagingCache.cs
- AnnotationService.cs
- AuthenticationManager.cs
- _OverlappedAsyncResult.cs
- ConfigXmlAttribute.cs
- XdrBuilder.cs
- DllNotFoundException.cs
- WebPartActionVerb.cs
- EndpointPerformanceCounters.cs
- ErrorStyle.cs
- BrowserDefinition.cs
- ReflectPropertyDescriptor.cs
- SectionUpdates.cs
- PrivilegedConfigurationManager.cs
- InputBindingCollection.cs
- Query.cs
- FastEncoder.cs
- FuncCompletionCallbackWrapper.cs
- ByteAnimation.cs
- FlowDocumentScrollViewer.cs
- Int32AnimationUsingKeyFrames.cs
- StrongNameUtility.cs
- DataGridHelper.cs
- TreeNodeStyle.cs
- ListBoxItem.cs
- GlobalizationSection.cs
- DBSchemaRow.cs
- CommonObjectSecurity.cs
- FragmentNavigationEventArgs.cs
- WindowsTreeView.cs
- AdornerDecorator.cs
- ILGenerator.cs
- NullableBoolConverter.cs
- PartialCachingAttribute.cs
- MediaTimeline.cs
- ChangeDirector.cs
- DesigntimeLicenseContext.cs
- MarkupCompiler.cs
- PriorityItem.cs
- DataRowView.cs
- DataComponentGenerator.cs
- EncoderExceptionFallback.cs
- dtdvalidator.cs
- ListControlStringCollectionEditor.cs
- RepeatBehavior.cs
- BrowserTree.cs
- TextServicesCompartment.cs
- SqlInternalConnection.cs
- TraceSource.cs
- Annotation.cs
- DataColumnChangeEvent.cs
- SimpleMailWebEventProvider.cs
- PeerToPeerException.cs
- SettingsPropertyValue.cs
- AffineTransform3D.cs
- KeyGestureConverter.cs
- SQLMembershipProvider.cs
- ZeroOpNode.cs
- RawStylusInputCustomDataList.cs
- CodeIdentifiers.cs
- WizardSideBarListControlItemEventArgs.cs
- PeerName.cs
- MasterPageBuildProvider.cs
- HebrewNumber.cs
- XsltCompileContext.cs
- WaitHandle.cs
- NativeMethods.cs
- DataRecordInfo.cs
- MonthCalendar.cs
- MsmqBindingMonitor.cs
- Asn1IntegerConverter.cs
- RewritingPass.cs
- Compilation.cs
- OperatingSystem.cs
- TypeUtils.cs
- IERequestCache.cs
- XmlBinaryReaderSession.cs
- RefreshPropertiesAttribute.cs
- FloaterBaseParaClient.cs
- SharedPerformanceCounter.cs
- CompilerGlobalScopeAttribute.cs
- mediaeventshelper.cs
- WebContext.cs
- PKCS1MaskGenerationMethod.cs
- CharEnumerator.cs
- DefaultBinder.cs
- MenuEventArgs.cs