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
- Random.cs
- RecognizedWordUnit.cs
- EntityDataSourceStatementEditorForm.cs
- DataGridHeaderBorder.cs
- CollectionsUtil.cs
- MulticastDelegate.cs
- LastQueryOperator.cs
- FunctionQuery.cs
- ModuleBuilder.cs
- InstancePersistenceContext.cs
- URLIdentityPermission.cs
- TableTextElementCollectionInternal.cs
- MimeMapping.cs
- safex509handles.cs
- Tag.cs
- QueryStringParameter.cs
- SqlHelper.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- TrustLevelCollection.cs
- ValueUnavailableException.cs
- Stroke.cs
- PrinterResolution.cs
- BitmapEffectDrawing.cs
- LiteralTextParser.cs
- NetNamedPipeBinding.cs
- HtmlFormWrapper.cs
- SoapEnumAttribute.cs
- IxmlLineInfo.cs
- IERequestCache.cs
- RightsManagementProvider.cs
- ToolStripLocationCancelEventArgs.cs
- QualificationDataItem.cs
- ToolStripDropDown.cs
- CheckBox.cs
- FormatException.cs
- EntityDataSourceWizardForm.cs
- RegexTree.cs
- DuplicateWaitObjectException.cs
- OleDbConnectionInternal.cs
- SmtpDigestAuthenticationModule.cs
- ClientSettingsStore.cs
- MemberAssignmentAnalysis.cs
- PartitionResolver.cs
- DbConnectionInternal.cs
- SrgsSubset.cs
- _LocalDataStoreMgr.cs
- SQLBinaryStorage.cs
- InstanceDescriptor.cs
- RichTextBox.cs
- LabelAutomationPeer.cs
- UrlPath.cs
- ClientSession.cs
- RectangleGeometry.cs
- DBParameter.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- RequestCachePolicyConverter.cs
- EdmToObjectNamespaceMap.cs
- FormView.cs
- ImplicitInputBrush.cs
- NotCondition.cs
- HtmlInputText.cs
- WebPartDescriptionCollection.cs
- XPathChildIterator.cs
- SqlNamer.cs
- WinEventHandler.cs
- DesignerForm.cs
- Debug.cs
- ErrorInfoXmlDocument.cs
- ItemCheckEvent.cs
- _ConnectOverlappedAsyncResult.cs
- CornerRadiusConverter.cs
- TreeNodeSelectionProcessor.cs
- ServiceModelPerformanceCounters.cs
- EntityContainerEntitySetDefiningQuery.cs
- OneOfTypeConst.cs
- TextAdaptor.cs
- HandoffBehavior.cs
- ReadOnlyCollectionBase.cs
- AnnotationAdorner.cs
- TdsParserHelperClasses.cs
- MetadataHelper.cs
- ServiceChannelManager.cs
- SQLInt64.cs
- LongTypeConverter.cs
- SqlConnectionString.cs
- MetadataSource.cs
- SmiMetaData.cs
- HostedImpersonationContext.cs
- FontDriver.cs
- ItemCheckedEvent.cs
- VisualCollection.cs
- DomainUpDown.cs
- MenuScrollingVisibilityConverter.cs
- ParameterToken.cs
- FolderBrowserDialog.cs
- FormClosedEvent.cs
- WebPartActionVerb.cs
- XmlAutoDetectWriter.cs
- SemaphoreSecurity.cs
- File.cs