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
- NamedPipeConnectionPool.cs
- StyleXamlParser.cs
- SqlConnectionHelper.cs
- TextEffect.cs
- XmlMtomWriter.cs
- WebPartConnection.cs
- StateMachineWorkflow.cs
- TransformConverter.cs
- ObjectMemberMapping.cs
- SpeechUI.cs
- DiscoveryClientReferences.cs
- WindowsFormsSectionHandler.cs
- ApplicationActivator.cs
- SoundPlayer.cs
- WorkflowRuntime.cs
- SortKey.cs
- WebPartConnectionsCloseVerb.cs
- PopupControlService.cs
- OleDbStruct.cs
- TaskScheduler.cs
- InstanceDataCollection.cs
- TextTreeInsertUndoUnit.cs
- WmlPageAdapter.cs
- DesignerVerb.cs
- ParallelTimeline.cs
- ObjectDataSourceFilteringEventArgs.cs
- BlurBitmapEffect.cs
- PaperSource.cs
- AncillaryOps.cs
- TreeNodeCollection.cs
- StateBag.cs
- PersonalizationProvider.cs
- Membership.cs
- HttpHandlersInstallComponent.cs
- EtwTrace.cs
- ObfuscateAssemblyAttribute.cs
- LocalBuilder.cs
- PreloadedPackages.cs
- CodeDOMUtility.cs
- TouchesOverProperty.cs
- WebHttpSecurityElement.cs
- InputManager.cs
- EncodingNLS.cs
- DNS.cs
- NetStream.cs
- itemelement.cs
- FreezableCollection.cs
- PropertyDescriptorCollection.cs
- RectangleHotSpot.cs
- TypePresenter.xaml.cs
- PageBorderless.cs
- XmlSerializationWriter.cs
- UnSafeCharBuffer.cs
- MetadataFile.cs
- BamlLocalizableResourceKey.cs
- DependencyPropertyDescriptor.cs
- AdCreatedEventArgs.cs
- TraceUtils.cs
- NavigationProperty.cs
- BitmapEffectState.cs
- RtfToXamlLexer.cs
- XmlCompatibilityReader.cs
- DataRecordInfo.cs
- querybuilder.cs
- ELinqQueryState.cs
- XDRSchema.cs
- HttpRawResponse.cs
- FocusWithinProperty.cs
- SizeF.cs
- RootProfilePropertySettingsCollection.cs
- NameValueFileSectionHandler.cs
- MetadataItemSerializer.cs
- TaiwanLunisolarCalendar.cs
- GenericQueueSurrogate.cs
- ValueHandle.cs
- CodePageEncoding.cs
- FixedSOMTableCell.cs
- NonBatchDirectoryCompiler.cs
- CacheMode.cs
- Vector3DIndependentAnimationStorage.cs
- ComponentRenameEvent.cs
- XmlAnyElementAttribute.cs
- DeriveBytes.cs
- BinaryFormatterWriter.cs
- XsdBuildProvider.cs
- ApplicationException.cs
- EventSinkHelperWriter.cs
- AutomationEventArgs.cs
- SpecularMaterial.cs
- SapiInterop.cs
- MaskedTextBoxTextEditor.cs
- ProfilePropertySettings.cs
- AvTraceFormat.cs
- EntityUtil.cs
- MaskedTextBox.cs
- KeyFrames.cs
- FocusWithinProperty.cs
- NativeCppClassAttribute.cs
- ClientTargetSection.cs
- EnterpriseServicesHelper.cs