Code:
/ 4.0 / 4.0 / 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. //---------------------------------------------------------------------- //// 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
- ContainerAction.cs
- PageCache.cs
- OracleInternalConnection.cs
- CodeNamespaceImportCollection.cs
- DbMetaDataFactory.cs
- XmlTextAttribute.cs
- UMPAttributes.cs
- CommonRemoteMemoryBlock.cs
- CompositeFontFamily.cs
- TypeHelper.cs
- Library.cs
- RC2CryptoServiceProvider.cs
- ListenerConstants.cs
- DataErrorValidationRule.cs
- CultureTable.cs
- WindowsServiceCredential.cs
- FontTypeConverter.cs
- RouteItem.cs
- SymmetricSecurityProtocolFactory.cs
- PageStatePersister.cs
- XmlnsDefinitionAttribute.cs
- LookupBindingPropertiesAttribute.cs
- WindowsFormsHost.cs
- UrlMappingsSection.cs
- SecurityDescriptor.cs
- UIElement3DAutomationPeer.cs
- TransportSecurityProtocolFactory.cs
- PreviewKeyDownEventArgs.cs
- Journal.cs
- SchemaTypeEmitter.cs
- ToolStripContentPanelDesigner.cs
- XPathMultyIterator.cs
- DrawingContextWalker.cs
- SQLInt16.cs
- DbParameterHelper.cs
- RegionIterator.cs
- DataSetMappper.cs
- TriggerAction.cs
- ErrorCodes.cs
- DisposableCollectionWrapper.cs
- NameSpaceExtractor.cs
- ClientCredentialsElement.cs
- mediaeventshelper.cs
- AuthorizationRule.cs
- MatrixTransform.cs
- _TransmitFileOverlappedAsyncResult.cs
- Calendar.cs
- DataGrid.cs
- SqlProviderServices.cs
- TransformerInfo.cs
- ManifestSignedXml.cs
- MailWebEventProvider.cs
- SmuggledIUnknown.cs
- OleDbFactory.cs
- JournalEntry.cs
- StubHelpers.cs
- TcpAppDomainProtocolHandler.cs
- ResourcePermissionBase.cs
- PersonalizationStateInfoCollection.cs
- AsymmetricSignatureDeformatter.cs
- CursorEditor.cs
- SQLSingleStorage.cs
- InfoCardKeyedHashAlgorithm.cs
- FunctionNode.cs
- DataGridViewRowConverter.cs
- SoapHeaders.cs
- SqlIdentifier.cs
- SocketPermission.cs
- BooleanToVisibilityConverter.cs
- ElementAction.cs
- Bitmap.cs
- XmlSchemaSearchPattern.cs
- ThreadStateException.cs
- Debugger.cs
- SignatureToken.cs
- RoleBoolean.cs
- MultipleViewProviderWrapper.cs
- RawTextInputReport.cs
- PointCollectionValueSerializer.cs
- DependencyPropertyChangedEventArgs.cs
- TableDetailsRow.cs
- CompositeActivityDesigner.cs
- X509Certificate.cs
- CancelRequestedRecord.cs
- XmlHelper.cs
- Rule.cs
- MaskedTextBox.cs
- ConfigurationLocationCollection.cs
- FontEmbeddingManager.cs
- XPathNavigator.cs
- NodeFunctions.cs
- HashUtility.cs
- UserNameSecurityTokenProvider.cs
- EnumerableRowCollectionExtensions.cs
- ClientTarget.cs
- XPathDocumentBuilder.cs
- Msmq3PoisonHandler.cs
- ButtonChrome.cs
- MarkupExtensionReturnTypeAttribute.cs
- QilGeneratorEnv.cs