Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / ndp / fx / src / DataWebControls / System / Data / WebControls / EntityDataSourceChangedEventArgs.cs / 1 / EntityDataSourceChangedEventArgs.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner objsdev //--------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.Objects; namespace System.Web.UI.WebControls { public class EntityDataSourceChangedEventArgs : EventArgs { private readonly ObjectContext _context; private readonly Exception _exception = null; private bool _exceptionHandled = false; private readonly object _entity = null; internal EntityDataSourceChangedEventArgs(ObjectContext context, object entity) { _context = context; _entity = entity; } internal EntityDataSourceChangedEventArgs(Exception exception) { _exception = exception; } public Exception Exception { get { return _exception; } } public bool ExceptionHandled { get { return _exceptionHandled; } set { _exceptionHandled = value; } } public object Entity { get { return _entity; } } public ObjectContext Context { get { return _context; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner objsdev //--------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.Objects; namespace System.Web.UI.WebControls { public class EntityDataSourceChangedEventArgs : EventArgs { private readonly ObjectContext _context; private readonly Exception _exception = null; private bool _exceptionHandled = false; private readonly object _entity = null; internal EntityDataSourceChangedEventArgs(ObjectContext context, object entity) { _context = context; _entity = entity; } internal EntityDataSourceChangedEventArgs(Exception exception) { _exception = exception; } public Exception Exception { get { return _exception; } } public bool ExceptionHandled { get { return _exceptionHandled; } set { _exceptionHandled = value; } } public object Entity { get { return _entity; } } public ObjectContext Context { get { return _context; } } } } // 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
- RoleService.cs
- Encoder.cs
- AttachedAnnotationChangedEventArgs.cs
- DebugTracing.cs
- XPathNavigator.cs
- TransactionScope.cs
- DbConnectionPoolIdentity.cs
- ThemeDictionaryExtension.cs
- VisualStyleElement.cs
- HttpHandlerAction.cs
- XhtmlBasicSelectionListAdapter.cs
- SmiRecordBuffer.cs
- TextParagraphCache.cs
- InvalidEnumArgumentException.cs
- EditorPartCollection.cs
- WasHttpModulesInstallComponent.cs
- DataListItem.cs
- TextCompositionManager.cs
- HeaderElement.cs
- GeneralTransform3D.cs
- SpellerStatusTable.cs
- WebPartMenu.cs
- RuntimeArgument.cs
- InputElement.cs
- CryptoConfig.cs
- Vector3DAnimation.cs
- ProviderSettings.cs
- VisualTransition.cs
- QilLiteral.cs
- _TransmitFileOverlappedAsyncResult.cs
- TextStore.cs
- DataGridViewRowCancelEventArgs.cs
- SymbolMethod.cs
- CustomErrorsSectionWrapper.cs
- ToolStripDesignerAvailabilityAttribute.cs
- TextBoxBase.cs
- SocketException.cs
- sortedlist.cs
- SEHException.cs
- SoapHeaderException.cs
- GenericIdentity.cs
- TimelineGroup.cs
- ToolStripSeparator.cs
- HtmlValidatorAdapter.cs
- IndexedSelectQueryOperator.cs
- SortKey.cs
- SecurityTokenException.cs
- AsyncInvokeOperation.cs
- XmlReader.cs
- ObjectStateEntryDbDataRecord.cs
- IApplicationTrustManager.cs
- HighContrastHelper.cs
- FixedHighlight.cs
- EntityCodeGenerator.cs
- SubclassTypeValidatorAttribute.cs
- cryptoapiTransform.cs
- DataTemplateSelector.cs
- TextParentUndoUnit.cs
- ViewgenContext.cs
- ReferenceService.cs
- FontStyle.cs
- ServiceOperationHelpers.cs
- QueryInterceptorAttribute.cs
- LeaseManager.cs
- ZipIOCentralDirectoryFileHeader.cs
- MeasureItemEvent.cs
- ellipse.cs
- PropertyEntry.cs
- RelOps.cs
- DaylightTime.cs
- QilLiteral.cs
- ConstNode.cs
- Point3DConverter.cs
- MsmqIntegrationReceiveParameters.cs
- MessageQueuePermissionAttribute.cs
- SessionPageStatePersister.cs
- DocumentXmlWriter.cs
- TextBox.cs
- SqlConnectionStringBuilder.cs
- Perspective.cs
- KnownIds.cs
- HyperLinkStyle.cs
- CodeChecksumPragma.cs
- ReferenceConverter.cs
- AnnotationHelper.cs
- TopClause.cs
- WindowsSysHeader.cs
- HyperLinkColumn.cs
- DecoratedNameAttribute.cs
- FileCodeGroup.cs
- ThreadInterruptedException.cs
- ActivityDesignerLayoutSerializers.cs
- WebPartZoneBase.cs
- MSAAWinEventWrap.cs
- RunInstallerAttribute.cs
- XPathMultyIterator.cs
- SQLBytes.cs
- NamespaceListProperty.cs
- RC2CryptoServiceProvider.cs
- MappingModelBuildProvider.cs