Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataWebControls / System / Data / WebControls / EntityDataSourceChangedEventArgs.cs / 1 / EntityDataSourceChangedEventArgs.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 EntityDataSourceChangedEventArgs : EventArgs { private readonly ObjectContext _context; private readonly Exception _exception = null; private bool _exceptionHandled = false; private readonly object _entity = null; internal EntityDataSourceChangedEventArgs(ObjectContext context, object entity) { _context = context; _entity = entity; } internal EntityDataSourceChangedEventArgs(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. //---------------------------------------------------------------------- //// 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 EntityDataSourceChangedEventArgs : EventArgs { private readonly ObjectContext _context; private readonly Exception _exception = null; private bool _exceptionHandled = false; private readonly object _entity = null; internal EntityDataSourceChangedEventArgs(ObjectContext context, object entity) { _context = context; _entity = entity; } internal EntityDataSourceChangedEventArgs(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
- RangeValuePattern.cs
- FloaterBaseParaClient.cs
- SqlConnectionHelper.cs
- AppSettingsReader.cs
- EDesignUtil.cs
- _NestedSingleAsyncResult.cs
- TypeGenericEnumerableViewSchema.cs
- LambdaCompiler.Unary.cs
- Interlocked.cs
- MD5.cs
- PersistenceException.cs
- AllMembershipCondition.cs
- LayoutTable.cs
- DragDropHelper.cs
- InitializationEventAttribute.cs
- ViewRendering.cs
- AsymmetricSignatureDeformatter.cs
- TraversalRequest.cs
- CompilationLock.cs
- MSAAWinEventWrap.cs
- BuilderElements.cs
- TypedRowGenerator.cs
- activationcontext.cs
- RadioButton.cs
- CroppedBitmap.cs
- DispatcherObject.cs
- ChooseAction.cs
- XmlParser.cs
- VariableQuery.cs
- CurrencyWrapper.cs
- SectionUpdates.cs
- StateMachine.cs
- RequestUriProcessor.cs
- BaseCollection.cs
- StringKeyFrameCollection.cs
- DecimalSumAggregationOperator.cs
- errorpatternmatcher.cs
- DispatchChannelSink.cs
- XmlILOptimizerVisitor.cs
- Line.cs
- MsmqIntegrationChannelListener.cs
- DataGridViewCellStyleConverter.cs
- DataPager.cs
- CodeMemberField.cs
- DbUpdateCommandTree.cs
- pingexception.cs
- DataGridComboBoxColumn.cs
- StoreAnnotationsMap.cs
- AsyncResult.cs
- PrePostDescendentsWalker.cs
- TabControlDesigner.cs
- Freezable.cs
- Util.cs
- EventListener.cs
- EventProperty.cs
- DataGridViewColumnCollectionDialog.cs
- TextEvent.cs
- Page.cs
- InstanceDataCollection.cs
- Debugger.cs
- AsnEncodedData.cs
- DesignerToolStripControlHost.cs
- KeyPullup.cs
- sapiproxy.cs
- HttpCachePolicyWrapper.cs
- XmlSerializerNamespaces.cs
- ConsoleKeyInfo.cs
- SecurityProtocolCorrelationState.cs
- KeyFrames.cs
- GridViewRowCollection.cs
- safelinkcollection.cs
- ToolStripEditorManager.cs
- InvalidFilterCriteriaException.cs
- TreeIterator.cs
- RelatedPropertyManager.cs
- FrameworkReadOnlyPropertyMetadata.cs
- XsltConvert.cs
- InternalTypeHelper.cs
- Application.cs
- SystemEvents.cs
- DataControlLinkButton.cs
- Int64Storage.cs
- dsa.cs
- DefaultParameterValueAttribute.cs
- OdbcDataReader.cs
- CorePropertiesFilter.cs
- FormViewInsertedEventArgs.cs
- XmlSchemaAny.cs
- SqlGatherProducedAliases.cs
- MissingFieldException.cs
- mediapermission.cs
- OleDbRowUpdatedEvent.cs
- Positioning.cs
- ColorInterpolationModeValidation.cs
- OverflowException.cs
- Internal.cs
- ThaiBuddhistCalendar.cs
- PageBuildProvider.cs
- ParseHttpDate.cs
- WindowsTitleBar.cs