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
- DescendentsWalker.cs
- ResumeStoryboard.cs
- ExtensionDataObject.cs
- ObjectStateEntryDbDataRecord.cs
- Transactions.cs
- XmlEncoding.cs
- Bits.cs
- DataRowComparer.cs
- IdentityManager.cs
- TextRangeSerialization.cs
- FigureParagraph.cs
- EventKeyword.cs
- TransactionProtocol.cs
- EdmSchemaError.cs
- XmlKeywords.cs
- RootBrowserWindow.cs
- Rule.cs
- TraceLevelStore.cs
- LocatorBase.cs
- ChildChangedEventArgs.cs
- ContextItemManager.cs
- StaticSiteMapProvider.cs
- ExpressionEditorAttribute.cs
- DiagnosticsConfigurationHandler.cs
- Int32.cs
- XmlUnspecifiedAttribute.cs
- AuthenticationConfig.cs
- ToolZone.cs
- SafeEventLogWriteHandle.cs
- DataGridViewCellCollection.cs
- XhtmlBasicPanelAdapter.cs
- PartManifestEntry.cs
- ThumbAutomationPeer.cs
- FtpCachePolicyElement.cs
- GeneralTransform3DTo2D.cs
- LockedHandleGlyph.cs
- StreamUpdate.cs
- DragDrop.cs
- TextServicesCompartmentEventSink.cs
- Timeline.cs
- WSAddressing10ProblemHeaderQNameFault.cs
- ChineseLunisolarCalendar.cs
- WCFServiceClientProxyGenerator.cs
- unitconverter.cs
- ButtonColumn.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- InfoCardTraceRecord.cs
- TemplateAction.cs
- QueryFunctions.cs
- UniqueTransportManagerRegistration.cs
- DoubleLinkList.cs
- DataBoundControl.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- ReturnType.cs
- newinstructionaction.cs
- WebPartTransformerAttribute.cs
- ServicesExceptionNotHandledEventArgs.cs
- ObjectDataSourceDesigner.cs
- ExtendedPropertyDescriptor.cs
- ServiceModelExtensionCollectionElement.cs
- ResourcePermissionBaseEntry.cs
- XmlSchema.cs
- MessageSmuggler.cs
- GcSettings.cs
- BitmapEffectDrawing.cs
- ActivationArguments.cs
- AlternateViewCollection.cs
- XPathAncestorIterator.cs
- IISUnsafeMethods.cs
- TraceData.cs
- TextEditorMouse.cs
- WebPartAuthorizationEventArgs.cs
- DifferencingCollection.cs
- SectionInformation.cs
- RawUIStateInputReport.cs
- ControlTemplate.cs
- PathFigureCollectionConverter.cs
- ComponentCommands.cs
- XmlSchemaElement.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- MULTI_QI.cs
- AudioSignalProblemOccurredEventArgs.cs
- ToolStripArrowRenderEventArgs.cs
- IProducerConsumerCollection.cs
- DataGridViewRow.cs
- IFlowDocumentViewer.cs
- CollectionViewGroup.cs
- SamlEvidence.cs
- DecoderNLS.cs
- Decorator.cs
- PageVisual.cs
- Registry.cs
- SHA1CryptoServiceProvider.cs
- OpCopier.cs
- ClientRuntimeConfig.cs
- SoapUnknownHeader.cs
- ObjectDataSourceEventArgs.cs
- WebColorConverter.cs
- UserPreferenceChangedEventArgs.cs
- wmiutil.cs