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
- AsymmetricSignatureDeformatter.cs
- ChildTable.cs
- OperatorExpressions.cs
- ContractSearchPattern.cs
- PersistenceTypeAttribute.cs
- NullEntityWrapper.cs
- ExtendedPropertiesHandler.cs
- securitycriticaldataformultiplegetandset.cs
- CreateSequence.cs
- ServiceHostingEnvironment.cs
- MemberCollection.cs
- TrackingWorkflowEventArgs.cs
- AppSecurityManager.cs
- TimeoutException.cs
- MenuScrollingVisibilityConverter.cs
- TypeDescriptorFilterService.cs
- HtmlCalendarAdapter.cs
- Converter.cs
- DecimalConverter.cs
- VisualStyleElement.cs
- _AcceptOverlappedAsyncResult.cs
- Nodes.cs
- InputScope.cs
- ReachBasicContext.cs
- TransactionFlowBindingElement.cs
- SerializableAttribute.cs
- PointCollection.cs
- DataRowCollection.cs
- ComponentChangedEvent.cs
- GridViewSelectEventArgs.cs
- VisualStateManager.cs
- ValidatingPropertiesEventArgs.cs
- DataGridParentRows.cs
- PerspectiveCamera.cs
- WebPartVerbsEventArgs.cs
- Int16Animation.cs
- ThaiBuddhistCalendar.cs
- HeaderUtility.cs
- AssemblyNameProxy.cs
- DataRowComparer.cs
- XsltQilFactory.cs
- XmlSchemaAttributeGroup.cs
- MatrixTransform.cs
- WindowsUpDown.cs
- DragDeltaEventArgs.cs
- ToolBar.cs
- HttpInputStream.cs
- EdmComplexPropertyAttribute.cs
- AnimationStorage.cs
- NameTable.cs
- BookmarkEventArgs.cs
- RunClient.cs
- PersianCalendar.cs
- ViewEvent.cs
- FastEncoder.cs
- FindRequestContext.cs
- TcpConnectionPool.cs
- XamlBrushSerializer.cs
- EpmHelper.cs
- ImageAttributes.cs
- IisTraceWebEventProvider.cs
- DescriptionAttribute.cs
- BooleanAnimationBase.cs
- CompilerGeneratedAttribute.cs
- TlsSspiNegotiation.cs
- TemplateBamlRecordReader.cs
- DbDataSourceEnumerator.cs
- UnsafeMethods.cs
- ScrollEvent.cs
- WrappedIUnknown.cs
- DrawingImage.cs
- CollaborationHelperFunctions.cs
- LogEntryUtils.cs
- StringResourceManager.cs
- PointAnimationUsingPath.cs
- HttpListenerResponse.cs
- ToolStripGrip.cs
- ParseNumbers.cs
- NativeWindow.cs
- PackWebRequest.cs
- SmiSettersStream.cs
- IArgumentProvider.cs
- TranslateTransform.cs
- CopyAttributesAction.cs
- ValidationPropertyAttribute.cs
- DeviceContext2.cs
- WindowsListViewGroupSubsetLink.cs
- NavigationEventArgs.cs
- ContextProperty.cs
- SHA1.cs
- LongTypeConverter.cs
- WsdlBuildProvider.cs
- TextDecorations.cs
- CapiSafeHandles.cs
- DispatcherOperation.cs
- SynchronizationContext.cs
- BypassElementCollection.cs
- Converter.cs
- DashStyle.cs
- SchemaElement.cs