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
- ProfileServiceManager.cs
- WebPartConnectionsConfigureVerb.cs
- FacetDescription.cs
- XmlnsPrefixAttribute.cs
- ToolboxComponentsCreatedEventArgs.cs
- XmlNamespaceMapping.cs
- ListControlConvertEventArgs.cs
- NGCUIElementCollectionSerializerAsync.cs
- GCHandleCookieTable.cs
- DurableRuntimeValidator.cs
- AdornerDecorator.cs
- TagNameToTypeMapper.cs
- DeclarativeCatalogPartDesigner.cs
- InputScopeNameConverter.cs
- NativeMethodsOther.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- ButtonBaseAdapter.cs
- loginstatus.cs
- ColumnResizeUndoUnit.cs
- PtsPage.cs
- IssuanceLicense.cs
- RemoteEndpointMessageProperty.cs
- IssuanceLicense.cs
- Pointer.cs
- ConfigurationElementCollection.cs
- RijndaelManaged.cs
- MDIClient.cs
- WorkflowDataContext.cs
- ViewBox.cs
- XmlCompatibilityReader.cs
- XmlQueryTypeFactory.cs
- BuildDependencySet.cs
- DbParameterCollection.cs
- PointIndependentAnimationStorage.cs
- Token.cs
- BindStream.cs
- IdentityManager.cs
- IncrementalHitTester.cs
- UnsafeNativeMethodsMilCoreApi.cs
- PriorityBindingExpression.cs
- Roles.cs
- SqlParameterizer.cs
- CodeSnippetStatement.cs
- EventRoute.cs
- XPathAxisIterator.cs
- HttpResponse.cs
- ConfigUtil.cs
- WindowsListViewGroupHelper.cs
- StandardOleMarshalObject.cs
- FormatterConverter.cs
- MetabaseSettingsIis7.cs
- WebRequestModuleElement.cs
- ImageFormatConverter.cs
- DrawingCollection.cs
- SymmetricSecurityBindingElement.cs
- ArrayElementGridEntry.cs
- SaveFileDialog.cs
- RenderTargetBitmap.cs
- __Filters.cs
- CorruptStoreException.cs
- IdentityHolder.cs
- FileLogRecordHeader.cs
- LogPolicy.cs
- ErrorHandler.cs
- SecurityTokenSerializer.cs
- HttpProfileGroupBase.cs
- SiteMapSection.cs
- BaseCodePageEncoding.cs
- OracleTimeSpan.cs
- Msmq4SubqueuePoisonHandler.cs
- SQlBooleanStorage.cs
- DataTableReaderListener.cs
- ProviderConnectionPoint.cs
- DefaultExpressionVisitor.cs
- DetailsViewInsertEventArgs.cs
- documentation.cs
- Encoder.cs
- DataControlField.cs
- _DisconnectOverlappedAsyncResult.cs
- CqlParser.cs
- DataSourceView.cs
- SessionParameter.cs
- SubclassTypeValidatorAttribute.cs
- ExclusiveTcpListener.cs
- XmlProcessingInstruction.cs
- MessageHeaderDescription.cs
- DataAccessor.cs
- RuleSetCollection.cs
- SiteMapDataSourceView.cs
- recordstate.cs
- WindowsGraphicsWrapper.cs
- Bits.cs
- EncryptedPackage.cs
- DoubleCollectionValueSerializer.cs
- ResourceReferenceExpressionConverter.cs
- SqlLiftWhereClauses.cs
- StorageMappingItemCollection.cs
- _LocalDataStoreMgr.cs
- _LocalDataStore.cs
- HorizontalAlignConverter.cs