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
- SchemaTableColumn.cs
- ThemeableAttribute.cs
- RegionIterator.cs
- StateChangeEvent.cs
- StrokeDescriptor.cs
- GeneratedView.cs
- IndependentlyAnimatedPropertyMetadata.cs
- DataGridItemEventArgs.cs
- KerberosSecurityTokenAuthenticator.cs
- ComplusTypeValidator.cs
- Lasso.cs
- TextBoxAutomationPeer.cs
- NameValueFileSectionHandler.cs
- WindowPattern.cs
- CopyEncoder.cs
- MainMenu.cs
- GradientSpreadMethodValidation.cs
- DynamicResourceExtensionConverter.cs
- SQLCharsStorage.cs
- MSG.cs
- Array.cs
- OneToOneMappingSerializer.cs
- TagMapInfo.cs
- DBSqlParserColumnCollection.cs
- OletxDependentTransaction.cs
- RuleRef.cs
- CodeAccessPermission.cs
- NotificationContext.cs
- CodeRemoveEventStatement.cs
- PropertyRecord.cs
- TableParaClient.cs
- ContainerVisual.cs
- DBCommand.cs
- DriveInfo.cs
- _ChunkParse.cs
- ResumeStoryboard.cs
- Interlocked.cs
- InternalSafeNativeMethods.cs
- XPathPatternParser.cs
- VariableAction.cs
- FixedSOMElement.cs
- EntityDataSourceContainerNameItem.cs
- RowParagraph.cs
- _ProxyRegBlob.cs
- ImageField.cs
- HtmlInputText.cs
- StartUpEventArgs.cs
- AssemblyBuilderData.cs
- WebColorConverter.cs
- AssemblyNameProxy.cs
- AxisAngleRotation3D.cs
- BlurBitmapEffect.cs
- Mapping.cs
- ImportStoreException.cs
- ValueType.cs
- CodeParameterDeclarationExpression.cs
- CheckBox.cs
- GridLength.cs
- TemplateColumn.cs
- InternalsVisibleToAttribute.cs
- EventItfInfo.cs
- XmlSchemaSimpleTypeRestriction.cs
- input.cs
- CompilerGeneratedAttribute.cs
- NotificationContext.cs
- CacheEntry.cs
- MenuItemBinding.cs
- XamlToRtfWriter.cs
- ValueOfAction.cs
- FormViewUpdatedEventArgs.cs
- ToolboxControl.cs
- FormatterServices.cs
- XmlSchemas.cs
- FloatAverageAggregationOperator.cs
- HWStack.cs
- BaseServiceProvider.cs
- DefaultParameterValueAttribute.cs
- DoubleAnimationUsingKeyFrames.cs
- recordstate.cs
- DesignBindingPicker.cs
- DataControlCommands.cs
- SamlAuthorizationDecisionClaimResource.cs
- DisplayNameAttribute.cs
- ByteAnimation.cs
- ValueSerializerAttribute.cs
- HttpModule.cs
- EndpointBehaviorElement.cs
- OrderedDictionary.cs
- KeyboardInputProviderAcquireFocusEventArgs.cs
- PropertyDescriptorComparer.cs
- FileDialog_Vista_Interop.cs
- MessageDescriptionCollection.cs
- UpdatePanelControlTrigger.cs
- Point3DIndependentAnimationStorage.cs
- Automation.cs
- TargetException.cs
- ByteStack.cs
- Table.cs
- SelectionPatternIdentifiers.cs
- SHA512.cs