Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- FunctionMappingTranslator.cs
- ToolStripArrowRenderEventArgs.cs
- ISFClipboardData.cs
- ColumnResult.cs
- DeclaredTypeValidatorAttribute.cs
- shaperfactoryquerycacheentry.cs
- GridItemPattern.cs
- LayoutUtils.cs
- Point4DValueSerializer.cs
- Link.cs
- PointAnimationUsingKeyFrames.cs
- Stroke.cs
- BookmarkOptionsHelper.cs
- DataBindingExpressionBuilder.cs
- RawMouseInputReport.cs
- DbParameterCollectionHelper.cs
- ObjectListCommand.cs
- TiffBitmapEncoder.cs
- WebColorConverter.cs
- EncryptedData.cs
- AvTrace.cs
- WebPartVerbCollection.cs
- StateMachine.cs
- EndpointInstanceProvider.cs
- SingletonInstanceContextProvider.cs
- ToolStripPanel.cs
- TabletDevice.cs
- FileLevelControlBuilderAttribute.cs
- XmlEncoding.cs
- CqlLexerHelpers.cs
- AvTrace.cs
- IERequestCache.cs
- ActivityMarkupSerializer.cs
- OleDbEnumerator.cs
- GPPOINT.cs
- TimeSpanSecondsConverter.cs
- APCustomTypeDescriptor.cs
- MailMessageEventArgs.cs
- SemaphoreFullException.cs
- XmlNamespaceMappingCollection.cs
- SAPIEngineTypes.cs
- NavigatorInvalidBodyAccessException.cs
- HyperLink.cs
- XmlSchemaException.cs
- DrawingCollection.cs
- Errors.cs
- DataProviderNameConverter.cs
- HostingEnvironmentSection.cs
- SQLBinary.cs
- SqlBuilder.cs
- UserControlBuildProvider.cs
- CatalogZoneBase.cs
- SqlTypeSystemProvider.cs
- ListArgumentProvider.cs
- MetadataItemEmitter.cs
- InteropEnvironment.cs
- PasswordDeriveBytes.cs
- Vector3DAnimation.cs
- MultipleViewPattern.cs
- GroupedContextMenuStrip.cs
- DebugTracing.cs
- OdbcPermission.cs
- ClientApiGenerator.cs
- infer.cs
- LinqDataSourceContextData.cs
- ControlOperationInvoker.cs
- RegexNode.cs
- CallContext.cs
- FontSource.cs
- TypeDescriptionProvider.cs
- TableHeaderCell.cs
- StreamInfo.cs
- MulticastIPAddressInformationCollection.cs
- SettingsBindableAttribute.cs
- Solver.cs
- RepeaterItemCollection.cs
- TextFormatterHost.cs
- FirewallWrapper.cs
- StylusPointProperties.cs
- UmAlQuraCalendar.cs
- TransportElement.cs
- precedingsibling.cs
- LineUtil.cs
- UndoUnit.cs
- FlowLayoutSettings.cs
- HandledMouseEvent.cs
- DefaultValueAttribute.cs
- CreateUserWizardStep.cs
- ForceCopyBuildProvider.cs
- ListViewSelectEventArgs.cs
- EntityDataSourceUtil.cs
- WebConfigurationHost.cs
- JoinTreeNode.cs
- BuildDependencySet.cs
- Accessors.cs
- AnimationTimeline.cs
- HttpClientCertificate.cs
- ExitEventArgs.cs
- StorageInfo.cs
- CodeBlockBuilder.cs