Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HostingEnvironment.cs
- Visual3D.cs
- XPathArrayIterator.cs
- HttpServerUtilityBase.cs
- CompressionTransform.cs
- AnnotationMap.cs
- LinearGradientBrush.cs
- TypeNameConverter.cs
- QuerySafeNavigator.cs
- HttpContextWrapper.cs
- CategoryEditor.cs
- DelegatingStream.cs
- SocketInformation.cs
- SupportingTokenBindingElement.cs
- IEnumerable.cs
- SerializationStore.cs
- DispatcherTimer.cs
- ComponentGuaranteesAttribute.cs
- ProviderUtil.cs
- SubtreeProcessor.cs
- TypeUsageBuilder.cs
- ResourceDictionaryCollection.cs
- HideDisabledControlAdapter.cs
- RotateTransform3D.cs
- DateRangeEvent.cs
- Matrix3D.cs
- PrintDialog.cs
- ProgressChangedEventArgs.cs
- CmsUtils.cs
- FixedPageProcessor.cs
- SqlDataRecord.cs
- TypeInitializationException.cs
- NativeMethodsCLR.cs
- ToolStripPanelRenderEventArgs.cs
- XmlWhitespace.cs
- QuestionEventArgs.cs
- TimeSpanSecondsConverter.cs
- DataSourceGeneratorException.cs
- WebPartZoneBase.cs
- DataPagerFieldItem.cs
- RequestCache.cs
- ListViewInsertionMark.cs
- shaperfactoryquerycacheentry.cs
- AutomationProperty.cs
- PropertyDescriptorComparer.cs
- FaultContext.cs
- ToolStripItemClickedEventArgs.cs
- EffectiveValueEntry.cs
- CqlGenerator.cs
- Attachment.cs
- TextServicesDisplayAttributePropertyRanges.cs
- FlowDocumentScrollViewer.cs
- AspCompat.cs
- MDIClient.cs
- StateMachineWorkflowInstance.cs
- filewebresponse.cs
- XmlChildEnumerator.cs
- XsltQilFactory.cs
- QuarticEase.cs
- ConfigurationStrings.cs
- AssemblyBuilder.cs
- ValueQuery.cs
- TrackPoint.cs
- BitmapPalettes.cs
- XmlSerializerVersionAttribute.cs
- DesignBinding.cs
- CellPartitioner.cs
- ProfileInfo.cs
- RawStylusInputReport.cs
- CodeArgumentReferenceExpression.cs
- ValidationRule.cs
- UnsafeNativeMethods.cs
- NameGenerator.cs
- Constraint.cs
- MarkupObject.cs
- ConfigXmlText.cs
- XhtmlBasicPageAdapter.cs
- ISFClipboardData.cs
- ILGen.cs
- MD5.cs
- MemberInfoSerializationHolder.cs
- AdjustableArrowCap.cs
- TypeContext.cs
- ListViewDesigner.cs
- PointCollectionValueSerializer.cs
- BufferAllocator.cs
- SqlClientWrapperSmiStream.cs
- DesignerAttribute.cs
- ScrollChangedEventArgs.cs
- WebPartZoneBase.cs
- DocumentReference.cs
- EnumerableWrapperWeakToStrong.cs
- QilPatternFactory.cs
- BuildProvidersCompiler.cs
- ThreadPool.cs
- Mutex.cs
- RC2.cs
- XmlSecureResolver.cs
- UInt32Converter.cs
- ScrollEventArgs.cs