Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataWebControls / System / Data / WebControls / EntityDataSourceChangingEventArgs.cs / 1305376 / EntityDataSourceChangingEventArgs.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 EntityDataSourceChangingEventArgs : System.ComponentModel.CancelEventArgs { private readonly ObjectContext _context; private readonly Exception _exception = null; private bool _exceptionHandled = false; private readonly object _entity = null; internal EntityDataSourceChangingEventArgs(ObjectContext context, object entity) { _context = context; _entity = entity; } internal EntityDataSourceChangingEventArgs(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
- TrustSection.cs
- Formatter.cs
- SortDescription.cs
- PropertyTab.cs
- Triangle.cs
- DispatcherProcessingDisabled.cs
- HtmlMeta.cs
- XmlSchemaProviderAttribute.cs
- MemberCollection.cs
- DataGridViewCheckBoxColumn.cs
- ResourceDescriptionAttribute.cs
- DependencyObject.cs
- ScriptModule.cs
- CommunicationObject.cs
- CompiledRegexRunner.cs
- SafeHandles.cs
- ThemeDirectoryCompiler.cs
- MissingMethodException.cs
- SplashScreenNativeMethods.cs
- SafeThreadHandle.cs
- ContentPresenter.cs
- Rfc2898DeriveBytes.cs
- EntityCommandExecutionException.cs
- Int32AnimationUsingKeyFrames.cs
- X509ChainElement.cs
- ResourceReader.cs
- HtmlSelect.cs
- JpegBitmapDecoder.cs
- XComponentModel.cs
- GridViewRow.cs
- KnownBoxes.cs
- ReachDocumentPageSerializer.cs
- LongTypeConverter.cs
- Translator.cs
- AttachedPropertyMethodSelector.cs
- Group.cs
- CapabilitiesAssignment.cs
- NativeMethods.cs
- DependencyObject.cs
- FormViewRow.cs
- CatalogPartDesigner.cs
- PathGradientBrush.cs
- UseLicense.cs
- NullableConverter.cs
- TraceFilter.cs
- DataGridTable.cs
- IFlowDocumentViewer.cs
- SizeF.cs
- DataMisalignedException.cs
- TemplateKey.cs
- DeferredElementTreeState.cs
- AliasExpr.cs
- StreamingContext.cs
- StrokeNodeData.cs
- _ConnectOverlappedAsyncResult.cs
- XmlSerializableReader.cs
- BitStream.cs
- DCSafeHandle.cs
- HealthMonitoringSection.cs
- EditorZoneBase.cs
- ItemsControl.cs
- IOException.cs
- HttpListenerRequestUriBuilder.cs
- ProtectedConfigurationProviderCollection.cs
- WebBrowserContainer.cs
- MessagePartDescription.cs
- GeneralTransformCollection.cs
- ModelTypeConverter.cs
- TraceLog.cs
- UserControlBuildProvider.cs
- GenericPrincipal.cs
- QueryOpcode.cs
- AuthenticatedStream.cs
- Int32Rect.cs
- EnumUnknown.cs
- MenuAutomationPeer.cs
- ComEventsMethod.cs
- TemplateBindingExpression.cs
- SafeRightsManagementSessionHandle.cs
- ExpressionBuilder.cs
- ProgressBarHighlightConverter.cs
- CommandLineParser.cs
- _SingleItemRequestCache.cs
- MessageContractExporter.cs
- TextElementAutomationPeer.cs
- ObjectDataSourceStatusEventArgs.cs
- TablePatternIdentifiers.cs
- FontWeights.cs
- ProfileSettings.cs
- XmlFormatExtensionAttribute.cs
- CompositeActivityTypeDescriptorProvider.cs
- storepermission.cs
- Missing.cs
- OdbcParameterCollection.cs
- BoolExpression.cs
- SerializableAttribute.cs
- DBSchemaTable.cs
- SmiContext.cs
- GenericAuthenticationEventArgs.cs
- CDSCollectionETWBCLProvider.cs