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
- SuppressIldasmAttribute.cs
- ImageBrush.cs
- CodeFieldReferenceExpression.cs
- ApplicationId.cs
- ChtmlTextBoxAdapter.cs
- RIPEMD160Managed.cs
- ExtensionFile.cs
- IfAction.cs
- XmlCompatibilityReader.cs
- DynamicValidatorEventArgs.cs
- RoutedEventHandlerInfo.cs
- ForeignKeyConstraint.cs
- ApplicationInterop.cs
- HebrewCalendar.cs
- EllipseGeometry.cs
- WorkflowEventArgs.cs
- WebSysDescriptionAttribute.cs
- ContractSearchPattern.cs
- CaseStatementProjectedSlot.cs
- DataContractSerializer.cs
- LinqTreeNodeEvaluator.cs
- UseManagedPresentationBindingElementImporter.cs
- tooltip.cs
- CallbackHandler.cs
- WebPartZoneAutoFormat.cs
- Route.cs
- DateTimeStorage.cs
- Rect3D.cs
- ContentType.cs
- SmtpFailedRecipientsException.cs
- WebPartTransformer.cs
- AttachInfo.cs
- NavigationHelper.cs
- ExpressionVisitorHelpers.cs
- ObjectDataSourceSelectingEventArgs.cs
- HighlightVisual.cs
- CodeTypeParameter.cs
- WorkflowExecutor.cs
- RoleManagerModule.cs
- StringAttributeCollection.cs
- BooleanToSelectiveScrollingOrientationConverter.cs
- CustomErrorCollection.cs
- NotSupportedException.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- StrokeNodeData.cs
- ResumeStoryboard.cs
- MetadataWorkspace.cs
- RowSpanVector.cs
- BooleanAnimationBase.cs
- ListMarkerLine.cs
- SortFieldComparer.cs
- ToolboxDataAttribute.cs
- MaterialGroup.cs
- FormClosingEvent.cs
- DataGridViewEditingControlShowingEventArgs.cs
- PropertyGroupDescription.cs
- ToolStripProgressBar.cs
- TextSpanModifier.cs
- DbConnectionPool.cs
- ExpressionNode.cs
- BaseInfoTable.cs
- ConfigXmlDocument.cs
- XmlSchemaGroupRef.cs
- InputBinder.cs
- ACL.cs
- OdbcInfoMessageEvent.cs
- DataObjectEventArgs.cs
- DynamicActionMessageFilter.cs
- FileLevelControlBuilderAttribute.cs
- Stylesheet.cs
- WebConvert.cs
- LinkButton.cs
- SerialPinChanges.cs
- AppDomain.cs
- SchemaNames.cs
- MessageFilterTable.cs
- login.cs
- CollectionEditor.cs
- GenericTypeParameterBuilder.cs
- RubberbandSelector.cs
- KeyedCollection.cs
- AuthenticationModulesSection.cs
- XPathNodeInfoAtom.cs
- FocusWithinProperty.cs
- StrongNamePublicKeyBlob.cs
- StaticFileHandler.cs
- LZCodec.cs
- SafeProcessHandle.cs
- ContextToken.cs
- BamlLocalizabilityResolver.cs
- _StreamFramer.cs
- TextSerializer.cs
- PasswordRecoveryAutoFormat.cs
- TextTreeFixupNode.cs
- PeerTransportElement.cs
- DataObjectSettingDataEventArgs.cs
- UIAgentAsyncParams.cs
- DesignerSerializationOptionsAttribute.cs
- HiddenFieldPageStatePersister.cs
- Update.cs