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
- FileSecurity.cs
- WeakHashtable.cs
- XPathDocumentBuilder.cs
- TreePrinter.cs
- Context.cs
- QilNode.cs
- ISAPIWorkerRequest.cs
- LinkLabel.cs
- XmlTextReaderImplHelpers.cs
- ObjectListTitleAttribute.cs
- Soap12ProtocolImporter.cs
- Stroke.cs
- SystemDropShadowChrome.cs
- CodeVariableReferenceExpression.cs
- ChildChangedEventArgs.cs
- CopyAction.cs
- DataGridViewImageCell.cs
- DataControlPagerLinkButton.cs
- VirtualDirectoryMapping.cs
- Queue.cs
- XmlReaderSettings.cs
- GenericNameHandler.cs
- WebPartTransformer.cs
- KnownColorTable.cs
- DataColumnPropertyDescriptor.cs
- AppDomainShutdownMonitor.cs
- XmlAttributeOverrides.cs
- SystemColors.cs
- ListMarkerLine.cs
- CodeTypeParameterCollection.cs
- TreeNodeBindingDepthConverter.cs
- SecureStringHasher.cs
- HtmlTableRow.cs
- TypographyProperties.cs
- Assert.cs
- DateTimeFormatInfoScanner.cs
- ListItemCollection.cs
- ShaderEffect.cs
- GenericTextProperties.cs
- ProfileSettings.cs
- QuaternionAnimationBase.cs
- DesignColumn.cs
- InternalCompensate.cs
- DisplayMemberTemplateSelector.cs
- ControlPropertyNameConverter.cs
- RightNameExpirationInfoPair.cs
- BooleanToVisibilityConverter.cs
- WCFModelStrings.Designer.cs
- SRGSCompiler.cs
- SystemException.cs
- SplitterPanel.cs
- XmlNullResolver.cs
- FixedPageStructure.cs
- DesignerTransaction.cs
- FormsAuthenticationConfiguration.cs
- CalendarDay.cs
- FilteredDataSetHelper.cs
- OleDbFactory.cs
- WebPartManagerInternals.cs
- MarkupCompilePass2.cs
- Sql8ExpressionRewriter.cs
- CheckBoxList.cs
- PermissionToken.cs
- HtmlElementEventArgs.cs
- FormatterServices.cs
- SimpleTypeResolver.cs
- SpeechSynthesizer.cs
- EntityDataSourceWrapper.cs
- QilStrConcatenator.cs
- FileUtil.cs
- KeyConverter.cs
- StrongNameMembershipCondition.cs
- Duration.cs
- EllipseGeometry.cs
- FixedPageAutomationPeer.cs
- ByteAnimationUsingKeyFrames.cs
- ChannelTokenTypeConverter.cs
- EditorPartChrome.cs
- GlobalizationAssembly.cs
- ChangeConflicts.cs
- ServiceBuildProvider.cs
- NameValueFileSectionHandler.cs
- versioninfo.cs
- RegexWorker.cs
- FileDialog_Vista.cs
- BatchServiceHost.cs
- IDictionary.cs
- SafeMemoryMappedViewHandle.cs
- DescendantBaseQuery.cs
- DesignerHost.cs
- ReservationCollection.cs
- PrintingPermission.cs
- SimpleWebHandlerParser.cs
- AudienceUriMode.cs
- BezierSegment.cs
- RadioButtonStandardAdapter.cs
- CertificateElement.cs
- TableParaClient.cs
- FixedSOMLineRanges.cs
- PhysicalOps.cs