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
- MailMessageEventArgs.cs
- GiveFeedbackEventArgs.cs
- ProcessHostFactoryHelper.cs
- RemoteAsymmetricSignatureFormatter.cs
- StylusShape.cs
- RecordConverter.cs
- BindingGroup.cs
- GeneralTransform3DGroup.cs
- UriTemplateDispatchFormatter.cs
- MouseEvent.cs
- EntityDataSourceContextDisposingEventArgs.cs
- ContentFilePart.cs
- ObjectItemCollection.cs
- AggregateNode.cs
- ReadOnlyActivityGlyph.cs
- TextElementEnumerator.cs
- FontStyles.cs
- MarshalDirectiveException.cs
- GradientBrush.cs
- GenericXmlSecurityToken.cs
- CollectionType.cs
- CookielessHelper.cs
- MarshalDirectiveException.cs
- ToolStripItemEventArgs.cs
- DataGridViewColumnHeaderCell.cs
- OuterProxyWrapper.cs
- DataObjectEventArgs.cs
- DataRow.cs
- Baml2006Reader.cs
- CodeIdentifiers.cs
- DataSourceView.cs
- ModuleBuilder.cs
- BamlStream.cs
- CodeNamespaceImport.cs
- Zone.cs
- _LoggingObject.cs
- XslTransform.cs
- ButtonChrome.cs
- ChildrenQuery.cs
- PageAction.cs
- BamlResourceDeserializer.cs
- DataRecordObjectView.cs
- OdbcConnectionPoolProviderInfo.cs
- ScalarConstant.cs
- ButtonPopupAdapter.cs
- EntityDataSourceState.cs
- unsafenativemethodsother.cs
- RootProfilePropertySettingsCollection.cs
- Section.cs
- DataFormats.cs
- StrokeNodeData.cs
- RequestCachePolicy.cs
- Facet.cs
- ArrayWithOffset.cs
- WebConfigurationFileMap.cs
- Quad.cs
- IPAddress.cs
- StyleModeStack.cs
- ViewStateChangedEventArgs.cs
- PipelineModuleStepContainer.cs
- XmlTextReaderImpl.cs
- TextMetrics.cs
- ResourceContainer.cs
- ReflectionPermission.cs
- ControlBindingsCollection.cs
- DisplayNameAttribute.cs
- TypeNameParser.cs
- GenericIdentity.cs
- SingleBodyParameterMessageFormatter.cs
- OdbcConnection.cs
- ExecutionContext.cs
- SqlClientFactory.cs
- FormsAuthentication.cs
- IconConverter.cs
- QueueProcessor.cs
- RootContext.cs
- Exceptions.cs
- UnsafeNativeMethodsMilCoreApi.cs
- QueryAsyncResult.cs
- HTMLTextWriter.cs
- ScriptingProfileServiceSection.cs
- QueryStringHandler.cs
- WindowsGraphics2.cs
- FrameworkObject.cs
- exports.cs
- DocumentGridContextMenu.cs
- VideoDrawing.cs
- MemberPath.cs
- Transform.cs
- SystemIPv4InterfaceProperties.cs
- WindowsClaimSet.cs
- QueryContinueDragEventArgs.cs
- Exceptions.cs
- SqlUDTStorage.cs
- PropertyEntry.cs
- OleDbParameter.cs
- HandlerFactoryCache.cs
- FormatException.cs
- DomainUpDown.cs
- InvalidOleVariantTypeException.cs