Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- DataSetFieldSchema.cs
- DBSchemaRow.cs
- DataControlPagerLinkButton.cs
- StaticDataManager.cs
- DataRowCollection.cs
- CodeMethodInvokeExpression.cs
- EncodingTable.cs
- PolyLineSegment.cs
- Interlocked.cs
- AccessText.cs
- XmlSerializerFormatAttribute.cs
- RayMeshGeometry3DHitTestResult.cs
- Padding.cs
- StateBag.cs
- cookiecollection.cs
- TextPointer.cs
- CodeExporter.cs
- TextTreeInsertUndoUnit.cs
- PrintDialogException.cs
- URL.cs
- BitmapEffect.cs
- OleDbSchemaGuid.cs
- AssertUtility.cs
- SoapExtensionTypeElementCollection.cs
- SoapAttributeAttribute.cs
- InputScope.cs
- TypeExtension.cs
- TrackBar.cs
- XmlSchemaSimpleTypeList.cs
- HelpProvider.cs
- FontStretchConverter.cs
- CheckBox.cs
- ResourceContainer.cs
- BackStopAuthenticationModule.cs
- MonitorWrapper.cs
- Double.cs
- CompositeCollectionView.cs
- ColumnTypeConverter.cs
- ResumeStoryboard.cs
- Panel.cs
- StyleTypedPropertyAttribute.cs
- CodeNamespace.cs
- MeasurementDCInfo.cs
- RightNameExpirationInfoPair.cs
- ContentPosition.cs
- UIElement.cs
- StoreContentChangedEventArgs.cs
- BuildProviderUtils.cs
- CodeDOMProvider.cs
- NotImplementedException.cs
- SrgsSemanticInterpretationTag.cs
- DrawingDrawingContext.cs
- CompilerErrorCollection.cs
- SecurityContextTokenValidationException.cs
- DrawingBrush.cs
- NavigationPropertyEmitter.cs
- TextRangeEdit.cs
- sqlstateclientmanager.cs
- AssociationSetMetadata.cs
- AlternateView.cs
- StaticContext.cs
- Int16.cs
- GridViewColumnCollection.cs
- TypeTypeConverter.cs
- MexNamedPipeBindingCollectionElement.cs
- ListMarkerLine.cs
- StaticFileHandler.cs
- XPathPatternBuilder.cs
- StorageConditionPropertyMapping.cs
- QuaternionAnimationUsingKeyFrames.cs
- XamlTypeMapper.cs
- TraceFilter.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- M3DUtil.cs
- Html32TextWriter.cs
- SqlInternalConnectionTds.cs
- PathFigureCollectionValueSerializer.cs
- RelationshipNavigation.cs
- SqlConnectionHelper.cs
- ScaleTransform3D.cs
- BinaryFormatterSinks.cs
- TimeSpanValidator.cs
- DisplayNameAttribute.cs
- ConnectionInterfaceCollection.cs
- SchemaReference.cs
- OperationCanceledException.cs
- HitTestParameters3D.cs
- EDesignUtil.cs
- UInt32Storage.cs
- CornerRadius.cs
- SqlCommandBuilder.cs
- QilReference.cs
- DebugManager.cs
- dsa.cs
- CollectionViewGroupInternal.cs
- XmlIncludeAttribute.cs
- NullableConverter.cs
- CompositeTypefaceMetrics.cs
- AbstractExpressions.cs
- XamlToRtfWriter.cs