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
- AsyncPostBackTrigger.cs
- OleDbEnumerator.cs
- SecurityTraceRecordHelper.cs
- ImageMap.cs
- FolderBrowserDialog.cs
- EditorZone.cs
- StyleCollection.cs
- CheckBox.cs
- _FtpControlStream.cs
- Compiler.cs
- DoubleAnimationBase.cs
- SafeCryptoHandles.cs
- Expression.cs
- WsiProfilesElementCollection.cs
- PerspectiveCamera.cs
- TypeConverter.cs
- CollectionViewGroupRoot.cs
- DataBindingCollection.cs
- SatelliteContractVersionAttribute.cs
- XPathDescendantIterator.cs
- ColumnCollection.cs
- IERequestCache.cs
- WorkflowTraceTransfer.cs
- Attributes.cs
- LongTypeConverter.cs
- Int16AnimationUsingKeyFrames.cs
- UidManager.cs
- TagPrefixInfo.cs
- SQLDecimal.cs
- _UncName.cs
- IssuedTokenParametersEndpointAddressElement.cs
- ObfuscateAssemblyAttribute.cs
- DateTimeOffset.cs
- FixedSOMImage.cs
- InputBuffer.cs
- HttpRawResponse.cs
- ISFTagAndGuidCache.cs
- DataGridDesigner.cs
- UserPersonalizationStateInfo.cs
- RequestBringIntoViewEventArgs.cs
- BulletedList.cs
- QueryOptionExpression.cs
- coordinatorfactory.cs
- MobileFormsAuthentication.cs
- PasswordPropertyTextAttribute.cs
- MaskPropertyEditor.cs
- Animatable.cs
- PointValueSerializer.cs
- AddInServer.cs
- SafeNativeMethods.cs
- BaseDataBoundControl.cs
- ObjectDataSourceView.cs
- PolicyManager.cs
- securitymgrsite.cs
- DataGridViewSelectedCellCollection.cs
- Common.cs
- DrawingBrush.cs
- EntityContainerAssociationSet.cs
- DrawToolTipEventArgs.cs
- ContractHandle.cs
- DbQueryCommandTree.cs
- LabelEditEvent.cs
- RectAnimationBase.cs
- DateTimeUtil.cs
- ReadOnlyHierarchicalDataSource.cs
- _CommandStream.cs
- AppDomainFactory.cs
- MouseGestureConverter.cs
- ProfileManager.cs
- ComplusEndpointConfigContainer.cs
- ExpressionCopier.cs
- SudsCommon.cs
- ListSortDescription.cs
- WindowsScrollBarBits.cs
- BindingBase.cs
- RuntimeConfig.cs
- CodeIterationStatement.cs
- UnSafeCharBuffer.cs
- QilValidationVisitor.cs
- StructuralType.cs
- ColumnResizeUndoUnit.cs
- AttributeCollection.cs
- Enumerable.cs
- ExclusiveTcpTransportManager.cs
- WindowsSolidBrush.cs
- Window.cs
- Enum.cs
- OrderablePartitioner.cs
- ServerProtocol.cs
- RangeValuePattern.cs
- ToolStripPanelRow.cs
- OleDbCommandBuilder.cs
- Authorization.cs
- Simplifier.cs
- RemoveStoryboard.cs
- BamlLocalizer.cs
- ResetableIterator.cs
- TreePrinter.cs
- FileLevelControlBuilderAttribute.cs
- ScriptControlDescriptor.cs