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
- FileReservationCollection.cs
- XhtmlCssHandler.cs
- HwndMouseInputProvider.cs
- TraceRecords.cs
- TypeConvertions.cs
- ApplicationSecurityInfo.cs
- TailCallAnalyzer.cs
- Transform.cs
- MarshalDirectiveException.cs
- PingOptions.cs
- PinProtectionHelper.cs
- ReliabilityContractAttribute.cs
- WSSecurityOneDotOneSendSecurityHeader.cs
- ParameterBuilder.cs
- Crc32.cs
- DomNameTable.cs
- ImageSource.cs
- DataGridViewRowsAddedEventArgs.cs
- TextWriterTraceListener.cs
- SplashScreenNativeMethods.cs
- EarlyBoundInfo.cs
- SchemaElementLookUpTable.cs
- StrokeSerializer.cs
- ExtractorMetadata.cs
- CardSpaceShim.cs
- DataGridViewCellStyle.cs
- ImageConverter.cs
- WebPartActionVerb.cs
- QueryOutputWriter.cs
- OraclePermissionAttribute.cs
- WindowsBrush.cs
- AliasedExpr.cs
- CookieProtection.cs
- CommonRemoteMemoryBlock.cs
- HttpConfigurationContext.cs
- FolderLevelBuildProviderAppliesToAttribute.cs
- CacheOutputQuery.cs
- WithStatement.cs
- PhysicalAddress.cs
- Rfc2898DeriveBytes.cs
- ChannelCredentials.cs
- ServiceReference.cs
- MenuEventArgs.cs
- Facet.cs
- LocalizabilityAttribute.cs
- _LocalDataStore.cs
- EmptyControlCollection.cs
- Row.cs
- FileDialogPermission.cs
- FileDialog_Vista_Interop.cs
- InstanceNotFoundException.cs
- DebuggerAttributes.cs
- DecoderBestFitFallback.cs
- Matrix3DStack.cs
- TreeViewAutomationPeer.cs
- PixelFormat.cs
- TableDetailsCollection.cs
- CqlQuery.cs
- PipeSecurity.cs
- FilterableAttribute.cs
- LoginName.cs
- AttributeAction.cs
- UnsafeNativeMethodsCLR.cs
- XmlSchemaDocumentation.cs
- OptimalTextSource.cs
- BindUriHelper.cs
- FontCollection.cs
- StructuredTypeInfo.cs
- SubclassTypeValidatorAttribute.cs
- CriticalFileToken.cs
- SqlDataSourceView.cs
- NativeMethods.cs
- CodeMemberEvent.cs
- dataSvcMapFileLoader.cs
- ReferentialConstraint.cs
- Point.cs
- DataTableExtensions.cs
- ListViewItem.cs
- CommandPlan.cs
- ToolStripSplitStackLayout.cs
- ProfileSettings.cs
- CopyNodeSetAction.cs
- RecognitionResult.cs
- TraceLog.cs
- Debugger.cs
- GridViewCommandEventArgs.cs
- AsymmetricSignatureDeformatter.cs
- BindingSource.cs
- ScriptManager.cs
- DATA_BLOB.cs
- ObjectTypeMapping.cs
- SafeHGlobalHandleCritical.cs
- TextBoxBase.cs
- MergeFilterQuery.cs
- FixedLineResult.cs
- TwoPhaseCommit.cs
- ServiceModelEnhancedConfigurationElementCollection.cs
- ResourceDescriptionAttribute.cs
- QueryIntervalOp.cs
- TextBox.cs