Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataWebControls / System / Data / WebControls / EntityDataSourceChangedEventArgs.cs / 1305376 / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SafeFindHandle.cs
- EmptyEnumerable.cs
- ExtensionCollection.cs
- ResourceManager.cs
- OdbcStatementHandle.cs
- DataObjectAttribute.cs
- ComPlusInstanceContextInitializer.cs
- EditingMode.cs
- DataGridViewMethods.cs
- ShapingEngine.cs
- TableRow.cs
- TextEmbeddedObject.cs
- SoapHeader.cs
- UIAgentMonitorHandle.cs
- ProgressChangedEventArgs.cs
- ComboBoxAutomationPeer.cs
- ItemAutomationPeer.cs
- InputQueueChannel.cs
- QueryOutputWriterV1.cs
- odbcmetadatacolumnnames.cs
- AttributeCollection.cs
- AttributedMetaModel.cs
- EncryptedPackage.cs
- PageEventArgs.cs
- ServerProtocol.cs
- Section.cs
- SessionStateSection.cs
- RbTree.cs
- UnknownBitmapEncoder.cs
- StateBag.cs
- Pointer.cs
- DesigntimeLicenseContext.cs
- PlainXmlWriter.cs
- CompilerGeneratedAttribute.cs
- WebPartEditorApplyVerb.cs
- HtmlTableRowCollection.cs
- KerberosSecurityTokenAuthenticator.cs
- Base64Stream.cs
- SessionEndingCancelEventArgs.cs
- PageAsyncTask.cs
- CapabilitiesUse.cs
- OdbcConnectionStringbuilder.cs
- CompilerError.cs
- BadImageFormatException.cs
- EdmFunctions.cs
- SharedStatics.cs
- ReaderOutput.cs
- ToolStripPanelCell.cs
- IdentityModelStringsVersion1.cs
- QueryPageSettingsEventArgs.cs
- PasswordRecovery.cs
- Int16AnimationUsingKeyFrames.cs
- IdentifierCollection.cs
- ShapeTypeface.cs
- DataViewSetting.cs
- AuthorizationRule.cs
- PnrpPeerResolverElement.cs
- TreeChangeInfo.cs
- WindowsListView.cs
- XamlHostingSection.cs
- UserPersonalizationStateInfo.cs
- ToolStripDesignerAvailabilityAttribute.cs
- SafeHandles.cs
- ObjectMaterializedEventArgs.cs
- MailWriter.cs
- NamespaceList.cs
- XmlEncodedRawTextWriter.cs
- DbgCompiler.cs
- CacheChildrenQuery.cs
- FixedDocument.cs
- SchemaComplexType.cs
- Classification.cs
- GridPattern.cs
- SystemWebSectionGroup.cs
- UnsafeNativeMethods.cs
- HwndSubclass.cs
- ObjectDataSourceEventArgs.cs
- Matrix.cs
- HwndSubclass.cs
- XmlSchemaIdentityConstraint.cs
- WebPartZone.cs
- SignatureHelper.cs
- DocumentSequence.cs
- XmlHierarchyData.cs
- StyleCollection.cs
- SQLConvert.cs
- ToolboxBitmapAttribute.cs
- CodeArrayCreateExpression.cs
- IgnorePropertiesAttribute.cs
- NodeFunctions.cs
- XmlSchemaNotation.cs
- RenderDataDrawingContext.cs
- TreeViewHitTestInfo.cs
- PropertyGridEditorPart.cs
- TemplateBaseAction.cs
- CallTemplateAction.cs
- AdornerHitTestResult.cs
- StrongName.cs
- InkSerializer.cs
- LocatorBase.cs