Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Data / System / Data / Odbc / OdbcRowUpdatingEvent.cs / 1305376 / 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 // ///////////////////////////////////////////////////////////////////////// public delegate void OdbcRowUpdatingEventHandler(object sender, OdbcRowUpdatingEventArgs e); public delegate void OdbcRowUpdatedEventHandler(object sender, OdbcRowUpdatedEventArgs e); ///////////////////////////////////////////////////////////////////////// // OdbcRowUpdatingEventArgs // ///////////////////////////////////////////////////////////////////////// public 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 // ///////////////////////////////////////////////////////////////////////// public 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 // ///////////////////////////////////////////////////////////////////////// public delegate void OdbcRowUpdatingEventHandler(object sender, OdbcRowUpdatingEventArgs e); public delegate void OdbcRowUpdatedEventHandler(object sender, OdbcRowUpdatedEventArgs e); ///////////////////////////////////////////////////////////////////////// // OdbcRowUpdatingEventArgs // ///////////////////////////////////////////////////////////////////////// public 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 // ///////////////////////////////////////////////////////////////////////// public 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
- ProgressBar.cs
- PropertyTabChangedEvent.cs
- SQLDoubleStorage.cs
- EmbeddedMailObject.cs
- SchemaImporter.cs
- RegexCompilationInfo.cs
- PropVariant.cs
- XmlSchemaCollection.cs
- PageThemeParser.cs
- VirtualPathData.cs
- EmissiveMaterial.cs
- HwndTarget.cs
- HttpProfileGroupBase.cs
- XamlBrushSerializer.cs
- Size.cs
- EntityTemplateFactory.cs
- InputMethod.cs
- ResourcesChangeInfo.cs
- XmlSchemaAnyAttribute.cs
- DbConnectionPoolOptions.cs
- DataSet.cs
- PathParser.cs
- CheckBoxField.cs
- DocComment.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- SubclassTypeValidatorAttribute.cs
- Int32AnimationBase.cs
- SqlInfoMessageEvent.cs
- DataGridViewCheckBoxColumn.cs
- OleDbErrorCollection.cs
- __Filters.cs
- SiteMapNodeCollection.cs
- IsolatedStorage.cs
- ToolboxDataAttribute.cs
- TreeBuilderBamlTranslator.cs
- WindowsFormsSynchronizationContext.cs
- SelectionUIService.cs
- DatatypeImplementation.cs
- BinaryParser.cs
- IgnoreFileBuildProvider.cs
- URLBuilder.cs
- FormViewRow.cs
- HttpCacheVaryByContentEncodings.cs
- BrushValueSerializer.cs
- Matrix3DConverter.cs
- AtomEntry.cs
- Geometry3D.cs
- SplineKeyFrames.cs
- OutputScope.cs
- DynamicMetaObjectBinder.cs
- LazyTextWriterCreator.cs
- PriorityItem.cs
- ServiceNameElementCollection.cs
- TypeGeneratedEventArgs.cs
- OptimizerPatterns.cs
- Model3D.cs
- XmlUrlResolver.cs
- SafeRightsManagementHandle.cs
- SoapObjectReader.cs
- WebPartEditorApplyVerb.cs
- ContextStack.cs
- Int64.cs
- CursorConverter.cs
- TextElementEditingBehaviorAttribute.cs
- Relationship.cs
- ProvidersHelper.cs
- ResXResourceReader.cs
- SqlDataSourceView.cs
- httpserverutility.cs
- ToggleButton.cs
- DurationConverter.cs
- Delay.cs
- ErrorFormatterPage.cs
- SqlDataSourceEnumerator.cs
- RegexBoyerMoore.cs
- IPEndPoint.cs
- LocationChangedEventArgs.cs
- FormsAuthenticationConfiguration.cs
- RootDesignerSerializerAttribute.cs
- ActivationArguments.cs
- TypeBinaryExpression.cs
- SpellCheck.cs
- StylusPointProperties.cs
- APCustomTypeDescriptor.cs
- StrokeNode.cs
- ElementUtil.cs
- ModelPropertyCollectionImpl.cs
- ActivitySurrogateSelector.cs
- ConcurrencyMode.cs
- QilDataSource.cs
- ObjectDataSourceEventArgs.cs
- ThousandthOfEmRealDoubles.cs
- XmlDataSource.cs
- HostedTransportConfigurationBase.cs
- CompilerErrorCollection.cs
- PeerNode.cs
- ArrayTypeMismatchException.cs
- HtmlElementErrorEventArgs.cs
- WinEventWrap.cs
- StrongName.cs