Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataWebControls / System / Data / WebControls / EntityDataSourceChangedEventArgs.cs / 1305376 / 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
- TextDocumentView.cs
- DataBindingHandlerAttribute.cs
- PriorityItem.cs
- QuotedPrintableStream.cs
- IERequestCache.cs
- WebPartTransformerAttribute.cs
- DoubleLinkList.cs
- FacetValueContainer.cs
- QueryStack.cs
- ConsoleKeyInfo.cs
- ProfileSettingsCollection.cs
- FtpWebRequest.cs
- ConfigurationSection.cs
- SessionSwitchEventArgs.cs
- SortKey.cs
- EditorAttribute.cs
- UseLicense.cs
- BindMarkupExtensionSerializer.cs
- StorageMappingItemCollection.cs
- ElementProxy.cs
- ModelFunctionTypeElement.cs
- SqlVersion.cs
- ParameterReplacerVisitor.cs
- ErrorFormatter.cs
- XsltException.cs
- DataGridViewCellStyleConverter.cs
- TreeViewEvent.cs
- DATA_BLOB.cs
- XmlCharType.cs
- DataControlFieldCell.cs
- StylusPointPropertyInfoDefaults.cs
- GuidelineSet.cs
- Attribute.cs
- XmlCodeExporter.cs
- GiveFeedbackEvent.cs
- CodeChecksumPragma.cs
- MetadataStore.cs
- PropertyPath.cs
- WebPartDescriptionCollection.cs
- ConfigXmlDocument.cs
- TimeoutTimer.cs
- Guid.cs
- Rotation3DAnimationBase.cs
- SelectionEditor.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- CustomValidator.cs
- _AuthenticationState.cs
- SinglePageViewer.cs
- DbConnectionHelper.cs
- InternalsVisibleToAttribute.cs
- InstanceCompleteException.cs
- DbBuffer.cs
- DocumentGrid.cs
- SqlUdtInfo.cs
- LookupBindingPropertiesAttribute.cs
- XXXOnTypeBuilderInstantiation.cs
- RuntimeCompatibilityAttribute.cs
- AttributeCollection.cs
- CompModSwitches.cs
- HtmlImage.cs
- AssemblyFilter.cs
- ReflectionPermission.cs
- ServiceNameElement.cs
- TypeDescriptionProvider.cs
- ListItemsCollectionEditor.cs
- SqlDataSourceConfigureFilterForm.cs
- BrowsableAttribute.cs
- DataAdapter.cs
- login.cs
- HtmlTextViewAdapter.cs
- TextBlockAutomationPeer.cs
- ArgumentOutOfRangeException.cs
- BindingMemberInfo.cs
- ProfileParameter.cs
- NumericExpr.cs
- DictionaryEditChange.cs
- DispatcherProcessingDisabled.cs
- CodeNamespace.cs
- ClientProxyGenerator.cs
- BatchParser.cs
- GetFileNameResult.cs
- ConfigXmlSignificantWhitespace.cs
- HwndMouseInputProvider.cs
- ChangePasswordAutoFormat.cs
- CodeCommentStatement.cs
- BitmapData.cs
- PostBackOptions.cs
- PointIndependentAnimationStorage.cs
- StructuralCache.cs
- OpCopier.cs
- CustomValidator.cs
- FilterQueryOptionExpression.cs
- InputDevice.cs
- ElementProxy.cs
- ExpressionVisitor.cs
- ScriptControl.cs
- SiteIdentityPermission.cs
- CodeArgumentReferenceExpression.cs
- PrintPreviewGraphics.cs
- GeneratedCodeAttribute.cs