Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- HandleTable.cs
- OrderablePartitioner.cs
- CacheHelper.cs
- WpfKnownTypeInvoker.cs
- AccessibleObject.cs
- FakeModelPropertyImpl.cs
- InheritanceUI.cs
- PropertyCondition.cs
- Baml2006Reader.cs
- ToolStripScrollButton.cs
- CommandID.cs
- PreviewPageInfo.cs
- ViewManager.cs
- Point4D.cs
- AQNBuilder.cs
- ColorAnimationUsingKeyFrames.cs
- TrackingRecord.cs
- IndentedWriter.cs
- ExpressionPrefixAttribute.cs
- _Semaphore.cs
- ToolStripArrowRenderEventArgs.cs
- ZipFileInfo.cs
- SqlDataSourceFilteringEventArgs.cs
- ServiceSettingsResponseInfo.cs
- JsonSerializer.cs
- HttpAsyncResult.cs
- HostProtectionPermission.cs
- MissingSatelliteAssemblyException.cs
- MediaPlayerState.cs
- __FastResourceComparer.cs
- ChangePasswordAutoFormat.cs
- Encoder.cs
- EventLogPermission.cs
- MessageFilter.cs
- BinaryMessageEncodingElement.cs
- ComPlusInstanceContextInitializer.cs
- WpfKnownMemberInvoker.cs
- WmfPlaceableFileHeader.cs
- RemotingException.cs
- HtmlControlAdapter.cs
- SqlVersion.cs
- XmlTextAttribute.cs
- UIElementParaClient.cs
- ProcessHostServerConfig.cs
- FloaterBaseParaClient.cs
- CommandPlan.cs
- _OverlappedAsyncResult.cs
- XsdDuration.cs
- StringValueSerializer.cs
- ToolStripOverflow.cs
- DirectionalLight.cs
- Compiler.cs
- remotingproxy.cs
- RbTree.cs
- AsnEncodedData.cs
- FontFamily.cs
- DataGridViewElement.cs
- FormClosingEvent.cs
- AliasedSlot.cs
- IdnMapping.cs
- MailWriter.cs
- ServiceX509SecurityTokenProvider.cs
- OperationSelectorBehavior.cs
- LocationSectionRecord.cs
- Matrix.cs
- EventMappingSettingsCollection.cs
- sqlstateclientmanager.cs
- ScriptResourceAttribute.cs
- Verify.cs
- MenuItem.cs
- VerticalAlignConverter.cs
- TableDetailsCollection.cs
- StandardCommands.cs
- InstanceValue.cs
- SkipStoryboardToFill.cs
- CopyOfAction.cs
- VersionedStream.cs
- xmlformatgeneratorstatics.cs
- DocumentApplicationJournalEntry.cs
- WorkflowNamespace.cs
- RoleManagerModule.cs
- DbTransaction.cs
- ObsoleteAttribute.cs
- FixedSOMGroup.cs
- EventDescriptorCollection.cs
- MouseActionConverter.cs
- ComplexType.cs
- UnlockInstanceAsyncResult.cs
- GifBitmapDecoder.cs
- xmlglyphRunInfo.cs
- SqlDependency.cs
- IsolatedStoragePermission.cs
- MimeXmlImporter.cs
- ValueUnavailableException.cs
- SystemThemeKey.cs
- SystemBrushes.cs
- TreeViewImageGenerator.cs
- SystemFonts.cs
- DSACryptoServiceProvider.cs
- Message.cs