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
- LogReserveAndAppendState.cs
- FormsAuthenticationUser.cs
- KnownTypes.cs
- MethodImplAttribute.cs
- SqlCaseSimplifier.cs
- HtmlInputPassword.cs
- FontNameConverter.cs
- NamedPipeAppDomainProtocolHandler.cs
- WorkerProcess.cs
- CapabilitiesPattern.cs
- XmlEntityReference.cs
- Site.cs
- ObjectDataSourceMethodEventArgs.cs
- RootContext.cs
- ProcessHostConfigUtils.cs
- CellRelation.cs
- x509utils.cs
- SingleAnimationBase.cs
- NameValueSectionHandler.cs
- IImplicitResourceProvider.cs
- ViewStateException.cs
- DropDownList.cs
- DirectoryObjectSecurity.cs
- MatrixAnimationUsingPath.cs
- ValidatorCollection.cs
- ToolStripDesignerAvailabilityAttribute.cs
- Char.cs
- TransformerInfo.cs
- BamlBinaryWriter.cs
- NavigationExpr.cs
- SiteMapHierarchicalDataSourceView.cs
- Material.cs
- AppDomainShutdownMonitor.cs
- CustomErrorsSection.cs
- WpfPayload.cs
- AbsoluteQuery.cs
- JavaScriptSerializer.cs
- NavigationService.cs
- xml.cs
- XmlAnyAttributeAttribute.cs
- While.cs
- PolyLineSegment.cs
- DocumentSchemaValidator.cs
- InheritanceContextChangedEventManager.cs
- HtmlElementEventArgs.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- SingleObjectCollection.cs
- WebPartCatalogAddVerb.cs
- DownloadProgressEventArgs.cs
- CallContext.cs
- DefaultAsyncDataDispatcher.cs
- DataGridViewAutoSizeModeEventArgs.cs
- CodePropertyReferenceExpression.cs
- BindingsCollection.cs
- BitVec.cs
- GifBitmapEncoder.cs
- SchemaMerger.cs
- GeneralTransform3D.cs
- BitmapEffectvisualstate.cs
- TdsParserSafeHandles.cs
- XNameConverter.cs
- ObjectSpanRewriter.cs
- ParserContext.cs
- SEHException.cs
- SID.cs
- ITextView.cs
- FilteredReadOnlyMetadataCollection.cs
- RegexMatch.cs
- ResourceContainerWrapper.cs
- TextContainer.cs
- X509Certificate2.cs
- ErrorFormatter.cs
- FontStretchConverter.cs
- ToolStripStatusLabel.cs
- Stream.cs
- Events.cs
- TabControlCancelEvent.cs
- EventSourceCreationData.cs
- GC.cs
- ConstraintStruct.cs
- References.cs
- ApplicationSettingsBase.cs
- GiveFeedbackEventArgs.cs
- TemplateNameScope.cs
- SqlXml.cs
- HealthMonitoringSectionHelper.cs
- EmissiveMaterial.cs
- NotifyIcon.cs
- DuplicateWaitObjectException.cs
- SelectionItemPattern.cs
- WebPartCancelEventArgs.cs
- XmlWellformedWriter.cs
- LinkedResourceCollection.cs
- CompilerScopeManager.cs
- Funcletizer.cs
- TablePatternIdentifiers.cs
- FlowNode.cs
- TextServicesProperty.cs
- TypeDescriptionProviderAttribute.cs
- LogicalExpressionEditor.cs