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
- Roles.cs
- AuthenticationSection.cs
- Resources.Designer.cs
- TreeViewImageKeyConverter.cs
- EventBuilder.cs
- DocumentCollection.cs
- HtmlMeta.cs
- LeafCellTreeNode.cs
- DoubleConverter.cs
- SerializerDescriptor.cs
- newinstructionaction.cs
- GridItemPatternIdentifiers.cs
- SecurityToken.cs
- SystemMulticastIPAddressInformation.cs
- CommonGetThemePartSize.cs
- DomNameTable.cs
- OdbcInfoMessageEvent.cs
- ImplicitInputBrush.cs
- HandlerBase.cs
- DbBuffer.cs
- OdbcErrorCollection.cs
- ScriptingProfileServiceSection.cs
- Shape.cs
- XmlSchemaComplexContent.cs
- CharAnimationUsingKeyFrames.cs
- ProviderBase.cs
- Padding.cs
- MSG.cs
- HttpBrowserCapabilitiesWrapper.cs
- ServiceCredentials.cs
- SiteMapDesignerDataSourceView.cs
- PageCatalogPart.cs
- ExecutionEngineException.cs
- LogLogRecord.cs
- ButtonFieldBase.cs
- WindowsFormsSynchronizationContext.cs
- DocumentSignatureManager.cs
- ThreadStateException.cs
- DataColumnChangeEvent.cs
- FileNotFoundException.cs
- BulletChrome.cs
- ListChangedEventArgs.cs
- IntranetCredentialPolicy.cs
- DaylightTime.cs
- SubstitutionList.cs
- DefaultConfirmation.cs
- GenericAuthenticationEventArgs.cs
- KeyPressEvent.cs
- CatalogZone.cs
- EncodingInfo.cs
- TransformConverter.cs
- OraclePermission.cs
- TreeWalker.cs
- PenCursorManager.cs
- MimeTypeMapper.cs
- ListBox.cs
- TargetException.cs
- EventLevel.cs
- CompiledAction.cs
- DataGridViewRowEventArgs.cs
- SecureEnvironment.cs
- MetadataCache.cs
- CheckableControlBaseAdapter.cs
- CommandLibraryHelper.cs
- AppSettingsReader.cs
- ZipFileInfoCollection.cs
- SqlTriggerAttribute.cs
- SyncOperationState.cs
- XsdDateTime.cs
- ReferenceConverter.cs
- TextServicesCompartment.cs
- StreamWithDictionary.cs
- PropertySourceInfo.cs
- TextDecorationCollection.cs
- FileLoadException.cs
- LedgerEntry.cs
- DecimalAnimation.cs
- CellParagraph.cs
- ComponentChangingEvent.cs
- FormsIdentity.cs
- BigInt.cs
- ValidationErrorCollection.cs
- PropertyCollection.cs
- AppDomainProtocolHandler.cs
- DefaultMemberAttribute.cs
- TimeSpanConverter.cs
- oledbconnectionstring.cs
- GradientStop.cs
- TypeSystem.cs
- RSAPKCS1SignatureFormatter.cs
- DetailsViewUpdateEventArgs.cs
- HttpWebResponse.cs
- DataControlField.cs
- StoreItemCollection.cs
- DiscreteKeyFrames.cs
- SqlAliasesReferenced.cs
- DbConnectionStringCommon.cs
- EventProviderBase.cs
- ComboBoxItem.cs
- PreviewPageInfo.cs