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
- TableLayoutStyle.cs
- BatchParser.cs
- ListSortDescription.cs
- DeclaredTypeValidatorAttribute.cs
- ServicePointManagerElement.cs
- ActiveXContainer.cs
- WindowsToolbarAsMenu.cs
- TextWriterEngine.cs
- ActivityCodeGenerator.cs
- DataSourceCacheDurationConverter.cs
- SqlMethodCallConverter.cs
- DataServiceSaveChangesEventArgs.cs
- IntSecurity.cs
- ValuePattern.cs
- RIPEMD160.cs
- DataGridViewControlCollection.cs
- FromReply.cs
- StorageConditionPropertyMapping.cs
- OleDbCommandBuilder.cs
- WebBrowsableAttribute.cs
- OraclePermission.cs
- TemplateManager.cs
- PriorityChain.cs
- DateRangeEvent.cs
- DrawListViewColumnHeaderEventArgs.cs
- OptimalTextSource.cs
- SecurityDescriptor.cs
- CryptoConfig.cs
- CacheChildrenQuery.cs
- InvokeMethodActivityDesigner.cs
- JavascriptCallbackMessageInspector.cs
- OpenTypeMethods.cs
- ImageInfo.cs
- HttpListenerContext.cs
- InternalResources.cs
- SafeRightsManagementSessionHandle.cs
- AssemblyBuilderData.cs
- EventManager.cs
- EditorServiceContext.cs
- NavigatingCancelEventArgs.cs
- ToolStripControlHost.cs
- UserControlAutomationPeer.cs
- EmbeddedMailObjectsCollection.cs
- PriorityQueue.cs
- ExpandCollapseProviderWrapper.cs
- PackageDigitalSignature.cs
- DataConnectionHelper.cs
- ConfigurationSectionGroupCollection.cs
- OptimalBreakSession.cs
- OnOperation.cs
- CodeCatchClause.cs
- ListItemConverter.cs
- ToolStripDropDownItem.cs
- ResourceSetExpression.cs
- WindowsSecurityTokenAuthenticator.cs
- ProcessModelInfo.cs
- PresentationTraceSources.cs
- CodeGenerationManager.cs
- PerformanceCounterNameAttribute.cs
- EndOfStreamException.cs
- StatusBar.cs
- DynamicRenderer.cs
- XmlCDATASection.cs
- EditingCoordinator.cs
- RectangleGeometry.cs
- XsdDateTime.cs
- PaginationProgressEventArgs.cs
- CultureInfoConverter.cs
- MenuItemStyleCollection.cs
- SignatureGenerator.cs
- ObjectDataSourceEventArgs.cs
- ScrollItemPatternIdentifiers.cs
- FileDialog_Vista.cs
- ApplicationServicesHostFactory.cs
- StringReader.cs
- AttributeConverter.cs
- BuildDependencySet.cs
- BuildProvider.cs
- EmptyElement.cs
- DataSourceHelper.cs
- HttpHandlerActionCollection.cs
- HostingEnvironmentException.cs
- TypeSystem.cs
- StrokeCollection2.cs
- SortExpressionBuilder.cs
- TextTabProperties.cs
- Transform3DGroup.cs
- KoreanLunisolarCalendar.cs
- ImageListImageEditor.cs
- XmlSchemaException.cs
- MenuItemBindingCollection.cs
- OleDbDataReader.cs
- PriorityBindingExpression.cs
- RtfFormatStack.cs
- FileLogRecord.cs
- CreatingCookieEventArgs.cs
- InsufficientExecutionStackException.cs
- BrowserCapabilitiesCompiler.cs
- PixelFormats.cs
- CaseInsensitiveHashCodeProvider.cs