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
- RemoveStoryboard.cs
- ModelPerspective.cs
- FileSystemEventArgs.cs
- PDBReader.cs
- ProcessHostFactoryHelper.cs
- MarkupExtensionReturnTypeAttribute.cs
- Stylesheet.cs
- Buffer.cs
- ToolStripContentPanelRenderEventArgs.cs
- CalendarDateRangeChangingEventArgs.cs
- ColorKeyFrameCollection.cs
- BuildProviderCollection.cs
- ProviderCollection.cs
- NonVisualControlAttribute.cs
- SendActivityEventArgs.cs
- DeclarativeExpressionConditionDeclaration.cs
- XmlUtilWriter.cs
- XmlNamespaceManager.cs
- ReadOnlyCollection.cs
- PointAnimationBase.cs
- NativeMsmqMessage.cs
- EntityTypeBase.cs
- RepeaterItemEventArgs.cs
- CompModSwitches.cs
- RNGCryptoServiceProvider.cs
- SQLBoolean.cs
- FileSecurity.cs
- TransformedBitmap.cs
- Unit.cs
- TableSectionStyle.cs
- DBSqlParserTableCollection.cs
- ObjectTypeMapping.cs
- CFGGrammar.cs
- recordstate.cs
- TextParentUndoUnit.cs
- UInt16.cs
- CompositeCollectionView.cs
- IFlowDocumentViewer.cs
- JsonClassDataContract.cs
- ThumbAutomationPeer.cs
- ConfigurationManagerHelper.cs
- JpegBitmapEncoder.cs
- ZoneIdentityPermission.cs
- TextParentUndoUnit.cs
- DataGridViewImageColumn.cs
- ValidationPropertyAttribute.cs
- SrgsRule.cs
- BitmapEffectState.cs
- HitTestWithGeometryDrawingContextWalker.cs
- BounceEase.cs
- CommonXSendMessage.cs
- CustomValidator.cs
- HierarchicalDataSourceControl.cs
- DesignerHost.cs
- Rotation3DAnimationBase.cs
- RequestQueryParser.cs
- SchemaElement.cs
- TransactionFlowBindingElement.cs
- MULTI_QI.cs
- SqlPersistenceProviderFactory.cs
- FontFaceLayoutInfo.cs
- Exceptions.cs
- ManifestResourceInfo.cs
- SchemaAttDef.cs
- sqlnorm.cs
- RegexReplacement.cs
- UIElementParaClient.cs
- SecurityCriticalDataForSet.cs
- SpellerHighlightLayer.cs
- DLinqAssociationProvider.cs
- SafeHandle.cs
- SqlLiftIndependentRowExpressions.cs
- ModelFunctionTypeElement.cs
- AsyncStreamReader.cs
- ColorAnimationBase.cs
- TextFormatter.cs
- AdCreatedEventArgs.cs
- IndicShape.cs
- EndOfStreamException.cs
- XpsSerializerFactory.cs
- AnimationLayer.cs
- BitmapCodecInfo.cs
- TextRangeBase.cs
- ShapingWorkspace.cs
- Point.cs
- TableCellAutomationPeer.cs
- SqlGatherProducedAliases.cs
- ParameterModifier.cs
- GroupItemAutomationPeer.cs
- MissingMemberException.cs
- SystemTcpStatistics.cs
- DeobfuscatingStream.cs
- CharacterBuffer.cs
- WS2007FederationHttpBindingElement.cs
- MSG.cs
- WebServiceMethodData.cs
- LayoutUtils.cs
- OleDbReferenceCollection.cs
- EntityDesignerDataSourceView.cs
- BitStack.cs