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
- XPathAncestorQuery.cs
- DataPagerFieldCommandEventArgs.cs
- PropertyInfoSet.cs
- TextBreakpoint.cs
- GlyphElement.cs
- TabPanel.cs
- FlowDocumentView.cs
- MissingMemberException.cs
- PenLineCapValidation.cs
- DataSetSchema.cs
- DataGridColumnHeaderCollection.cs
- DrawingBrush.cs
- SqlXml.cs
- SecurityState.cs
- DuplexChannelBinder.cs
- DiscoveryDocumentLinksPattern.cs
- IntellisenseTextBox.designer.cs
- Encoder.cs
- DetailsViewDeleteEventArgs.cs
- HyperLinkColumn.cs
- CodeIdentifier.cs
- IndexOutOfRangeException.cs
- mongolianshape.cs
- SHA384Managed.cs
- MergeEnumerator.cs
- HMACMD5.cs
- GenericRootAutomationPeer.cs
- TransactedBatchingBehavior.cs
- Substitution.cs
- TextServicesPropertyRanges.cs
- EndEvent.cs
- RbTree.cs
- ResourceIDHelper.cs
- NonSerializedAttribute.cs
- GestureRecognizer.cs
- Serializer.cs
- UndirectedGraph.cs
- IndicCharClassifier.cs
- Size.cs
- ACL.cs
- DataKeyArray.cs
- SqlMethodTransformer.cs
- DeclarativeCatalogPartDesigner.cs
- BehaviorEditorPart.cs
- ChangeProcessor.cs
- LinkAreaEditor.cs
- MapPathBasedVirtualPathProvider.cs
- GridViewRow.cs
- TextFormatter.cs
- recordstate.cs
- BinaryFormatterWriter.cs
- DateTimeOffsetStorage.cs
- UnauthorizedAccessException.cs
- WindowsMenu.cs
- SchemaName.cs
- NativeMethods.cs
- TemplateParser.cs
- DesignerEditorPartChrome.cs
- TextParaClient.cs
- DependencyProperty.cs
- X509RecipientCertificateServiceElement.cs
- TrackingMemoryStream.cs
- HelpFileFileNameEditor.cs
- GeometryModel3D.cs
- EntityType.cs
- MetadataCache.cs
- SynchronizationContext.cs
- NonClientArea.cs
- DataPagerFieldCommandEventArgs.cs
- GradientStop.cs
- DocumentApplicationJournalEntry.cs
- httpstaticobjectscollection.cs
- storepermission.cs
- CaseKeyBox.xaml.cs
- ValidationRuleCollection.cs
- URLString.cs
- regiisutil.cs
- SafeNativeMemoryHandle.cs
- NetworkAddressChange.cs
- versioninfo.cs
- UnitySerializationHolder.cs
- TypeUsageBuilder.cs
- MILUtilities.cs
- PkcsUtils.cs
- LabelEditEvent.cs
- DelegateSerializationHolder.cs
- MessagePartDescription.cs
- DefinitionBase.cs
- KeyValueSerializer.cs
- HandlerWithFactory.cs
- GroupItem.cs
- ByeMessage11.cs
- QilNode.cs
- TableParaClient.cs
- DocumentViewer.cs
- AuthorizationRuleCollection.cs
- DurationConverter.cs
- _SslStream.cs
- XmlRawWriter.cs
- WebFormsRootDesigner.cs