Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- RegexRunnerFactory.cs
- EntityException.cs
- FrameworkEventSource.cs
- XmlSchemaSimpleTypeRestriction.cs
- XmlSchemaSimpleTypeRestriction.cs
- CommonGetThemePartSize.cs
- DesignTimeTemplateParser.cs
- DocumentViewerConstants.cs
- SubstitutionResponseElement.cs
- BulletedList.cs
- WindowsListViewGroup.cs
- GridViewRowEventArgs.cs
- Vector.cs
- AllMembershipCondition.cs
- FilteredSchemaElementLookUpTable.cs
- KnownAssemblyEntry.cs
- SafeBitVector32.cs
- RowUpdatedEventArgs.cs
- ColorPalette.cs
- EncryptedPackage.cs
- ProviderCollection.cs
- TextLineBreak.cs
- TextFragmentEngine.cs
- BindingListCollectionView.cs
- XmlElementAttribute.cs
- SoapConverter.cs
- WebPermission.cs
- MarkupCompiler.cs
- TabControl.cs
- AssociationTypeEmitter.cs
- MatrixStack.cs
- AmbientLight.cs
- GlobalizationSection.cs
- Wizard.cs
- MyContact.cs
- DateTimePickerDesigner.cs
- NavigationProperty.cs
- ValuePattern.cs
- FormsAuthenticationEventArgs.cs
- ProfilePropertyNameValidator.cs
- MatrixKeyFrameCollection.cs
- XmlCharCheckingReader.cs
- remotingproxy.cs
- LoggedException.cs
- CompatibleIComparer.cs
- SystemIPGlobalStatistics.cs
- ExtensionQuery.cs
- CompilerResults.cs
- CheckBox.cs
- ConfigurationSection.cs
- CompareValidator.cs
- LocatorManager.cs
- DefaultParameterValueAttribute.cs
- SqlCommandBuilder.cs
- OverflowException.cs
- WriteableBitmap.cs
- WebPartRestoreVerb.cs
- FormView.cs
- Matrix3D.cs
- Expander.cs
- GridProviderWrapper.cs
- ParserOptions.cs
- ClientTargetSection.cs
- wmiprovider.cs
- ConfigViewGenerator.cs
- Image.cs
- StyleModeStack.cs
- MimePart.cs
- CqlParserHelpers.cs
- Decorator.cs
- AutomationPropertyInfo.cs
- XmlTextEncoder.cs
- DataGridViewCellMouseEventArgs.cs
- Equal.cs
- BooleanProjectedSlot.cs
- ListenerElementsCollection.cs
- TextBoxBaseDesigner.cs
- SystemIPv6InterfaceProperties.cs
- DemultiplexingClientMessageFormatter.cs
- HostProtectionException.cs
- VisemeEventArgs.cs
- GlyphElement.cs
- ContractCodeDomInfo.cs
- Size3DValueSerializer.cs
- ProcessHostMapPath.cs
- RadioButtonList.cs
- OverflowException.cs
- SiteMapProvider.cs
- DataBindEngine.cs
- HwndSource.cs
- Helper.cs
- PropertyEmitter.cs
- ServiceAuthorizationElement.cs
- SvcMapFileLoader.cs
- UnhandledExceptionEventArgs.cs
- DebugInfoGenerator.cs
- SqlTransaction.cs
- SafeCryptContextHandle.cs
- LinearGradientBrush.cs
- HtmlInputPassword.cs