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
- InvalidDataContractException.cs
- VisualBrush.cs
- AuthenticodeSignatureInformation.cs
- ConfigurationLocation.cs
- SafeEventLogWriteHandle.cs
- UdpChannelFactory.cs
- TraceListener.cs
- FilteredDataSetHelper.cs
- DataControlPagerLinkButton.cs
- XmlC14NWriter.cs
- DbConnectionClosed.cs
- DynamicActivityProperty.cs
- ModelUIElement3D.cs
- AutoCompleteStringCollection.cs
- ActivityCollectionMarkupSerializer.cs
- MailHeaderInfo.cs
- SqlWebEventProvider.cs
- TypeResolver.cs
- AdapterUtil.cs
- CalendarDesigner.cs
- XComponentModel.cs
- WebServiceErrorEvent.cs
- TdsParameterSetter.cs
- CompositeDuplexBindingElement.cs
- PixelShader.cs
- MapPathBasedVirtualPathProvider.cs
- Propagator.cs
- PathFigureCollectionValueSerializer.cs
- DataBindingList.cs
- UIElementPropertyUndoUnit.cs
- DataError.cs
- MimeMultiPart.cs
- exports.cs
- ProjectionAnalyzer.cs
- NativeRecognizer.cs
- _TLSstream.cs
- LineMetrics.cs
- SiteMapNodeItemEventArgs.cs
- GAC.cs
- SqlTypesSchemaImporter.cs
- WsdlImporterElement.cs
- EventPrivateKey.cs
- MouseGestureValueSerializer.cs
- ProfilePropertyNameValidator.cs
- diagnosticsswitches.cs
- HtmlTextBoxAdapter.cs
- MonikerBuilder.cs
- StaticFileHandler.cs
- WindowShowOrOpenTracker.cs
- DurationConverter.cs
- SystemColors.cs
- BindingListCollectionView.cs
- TextElementCollectionHelper.cs
- DataObject.cs
- RepeatButtonAutomationPeer.cs
- Environment.cs
- ThreadSafeList.cs
- CodeFieldReferenceExpression.cs
- InputLanguageSource.cs
- Form.cs
- RemotingConfigParser.cs
- LogLogRecordEnumerator.cs
- DependencyObjectCodeDomSerializer.cs
- CancellationHandler.cs
- SqlXml.cs
- TextHidden.cs
- ObjectViewListener.cs
- CompilationSection.cs
- sqlpipe.cs
- EntityDataSource.cs
- ServiceHostingEnvironment.cs
- SystemTcpStatistics.cs
- XmlSerializerNamespaces.cs
- GridViewEditEventArgs.cs
- RegistryPermission.cs
- Debugger.cs
- BaseDataBoundControl.cs
- DataSvcMapFileSerializer.cs
- TimerElapsedEvenArgs.cs
- GPPOINT.cs
- ImageKeyConverter.cs
- Error.cs
- MultipleViewProviderWrapper.cs
- ScriptControl.cs
- ToolBarPanel.cs
- SerializableAttribute.cs
- WindowsListViewItem.cs
- TextBoxRenderer.cs
- SoapElementAttribute.cs
- LoadRetryStrategyFactory.cs
- SRGSCompiler.cs
- Crc32Helper.cs
- DataTemplateKey.cs
- TraceUtils.cs
- SqlPersonalizationProvider.cs
- ArrangedElement.cs
- WindowsFormsEditorServiceHelper.cs
- ServerIdentity.cs
- GeometryGroup.cs
- Vector.cs