Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataWebControls / System / Data / WebControls / EntityDataSourceSelectedEventArgs.cs / 1305376 / EntityDataSourceSelectedEventArgs.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; using System.Collections; namespace System.Web.UI.WebControls { public class EntityDataSourceSelectedEventArgs : EventArgs { private readonly ObjectContext _context; private readonly Exception _exception = null; private bool _exceptionHandled = false; private readonly IEnumerable _results = null; private readonly int _totalRowCount = 0; private readonly DataSourceSelectArguments _selectArguments; internal EntityDataSourceSelectedEventArgs(ObjectContext context, IEnumerable results, int totalRowCount, DataSourceSelectArguments selectArgs) { _context = context; _results = results; _totalRowCount = totalRowCount; _selectArguments = selectArgs; } internal EntityDataSourceSelectedEventArgs(Exception exception) { _exception = exception; } public Exception Exception { get { return _exception; } } public bool ExceptionHandled { get { return _exceptionHandled; } set { _exceptionHandled = value; } } public IEnumerable Results { get { return _results; } } public ObjectContext Context { get { return _context; } } public int TotalRowCount { get { return _totalRowCount; } } public DataSourceSelectArguments SelectArguments { get { return _selectArguments; } } } } // 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
- PrivilegedConfigurationManager.cs
- DeclarativeCatalogPart.cs
- datacache.cs
- HMACRIPEMD160.cs
- ItemsPresenter.cs
- SemanticBasicElement.cs
- StateDesigner.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- ObjectItemCachedAssemblyLoader.cs
- AuthenticationModuleElementCollection.cs
- ConfigurationManagerInternalFactory.cs
- DescendantOverDescendantQuery.cs
- ComponentCache.cs
- DockingAttribute.cs
- DateTimePicker.cs
- SecurityToken.cs
- ActivityIdHeader.cs
- _HeaderInfo.cs
- ToolStripMenuItem.cs
- HttpStaticObjectsCollectionBase.cs
- XmlSchemaSequence.cs
- SafeNativeMethodsMilCoreApi.cs
- PrintingPermission.cs
- TypeToken.cs
- Convert.cs
- _DisconnectOverlappedAsyncResult.cs
- ReflectionTypeLoadException.cs
- DependencyPropertyConverter.cs
- SspiHelper.cs
- PageTheme.cs
- RoleManagerEventArgs.cs
- SoapProtocolReflector.cs
- TypeDelegator.cs
- ReflectTypeDescriptionProvider.cs
- DataListItem.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- CompiledXpathExpr.cs
- XmlSchemaObjectTable.cs
- WindowsGraphicsCacheManager.cs
- WSSecurityOneDotZeroReceiveSecurityHeader.cs
- ProcessModelInfo.cs
- MergeFailedEvent.cs
- ErrorWebPart.cs
- SystemColorTracker.cs
- XmlEncodedRawTextWriter.cs
- AdornerLayer.cs
- HtmlInputText.cs
- TreeNodeSelectionProcessor.cs
- SqlDataSourceView.cs
- MetadataItemEmitter.cs
- ValueOfAction.cs
- QilVisitor.cs
- Rect3D.cs
- FilterQueryOptionExpression.cs
- objectquery_tresulttype.cs
- SqlInfoMessageEvent.cs
- DataView.cs
- Cast.cs
- Policy.cs
- UrlMappingsSection.cs
- NumberSubstitution.cs
- PtsPage.cs
- GPPOINT.cs
- PenThreadWorker.cs
- FragmentNavigationEventArgs.cs
- ToolStripRenderer.cs
- StackOverflowException.cs
- ElementProxy.cs
- StandardCommandToolStripMenuItem.cs
- WebScriptClientGenerator.cs
- HandlerFactoryCache.cs
- CatalogZoneDesigner.cs
- Propagator.cs
- FontCollection.cs
- DetailsViewDeleteEventArgs.cs
- BoundPropertyEntry.cs
- DataGridViewImageCell.cs
- RegisteredDisposeScript.cs
- CircleHotSpot.cs
- QueryOpeningEnumerator.cs
- ResourceWriter.cs
- FlowLayoutSettings.cs
- ResourceReferenceKeyNotFoundException.cs
- RemotingSurrogateSelector.cs
- _Events.cs
- XmlTypeMapping.cs
- AdCreatedEventArgs.cs
- ManualWorkflowSchedulerService.cs
- WebPart.cs
- TypeExtensionConverter.cs
- XmlComplianceUtil.cs
- TransformDescriptor.cs
- ItemDragEvent.cs
- WebServiceTypeData.cs
- RequestedSignatureDialog.cs
- MatrixTransform3D.cs
- DataBoundControl.cs
- TypeSystem.cs
- ThreadInterruptedException.cs
- ParentUndoUnit.cs