Code:
/ 4.0 / 4.0 / 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. //---------------------------------------------------------------------- //// 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
- SignatureToken.cs
- SamlAssertion.cs
- TypeElementCollection.cs
- HttpModuleCollection.cs
- InkPresenterAutomationPeer.cs
- TemplateBindingExpressionConverter.cs
- HandleCollector.cs
- FileResponseElement.cs
- XmlArrayItemAttribute.cs
- TableItemProviderWrapper.cs
- ProfilePropertyMetadata.cs
- PlaceHolder.cs
- SQLInt16.cs
- RoutedUICommand.cs
- RemotingConfiguration.cs
- DataSourceControlBuilder.cs
- ObjRef.cs
- LinkClickEvent.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- ControlBuilderAttribute.cs
- QuaternionConverter.cs
- DisableDpiAwarenessAttribute.cs
- Function.cs
- Itemizer.cs
- PrintController.cs
- DataGridViewColumnEventArgs.cs
- TextBlock.cs
- PagerSettings.cs
- RecordManager.cs
- SendKeys.cs
- XamlContextStack.cs
- BrushMappingModeValidation.cs
- AtlasWeb.Designer.cs
- TrustManagerPromptUI.cs
- FeatureSupport.cs
- ImageAnimator.cs
- CfgSemanticTag.cs
- SmiTypedGetterSetter.cs
- IntranetCredentialPolicy.cs
- DispatchChannelSink.cs
- CodeTypeMember.cs
- PlaceHolder.cs
- NamedElement.cs
- DataKey.cs
- CSharpCodeProvider.cs
- DbParameterHelper.cs
- ValidatedControlConverter.cs
- LayoutTable.cs
- TransportElement.cs
- CursorInteropHelper.cs
- TypefaceMetricsCache.cs
- TextEffect.cs
- ToolZone.cs
- DocumentPage.cs
- GlobalEventManager.cs
- HTTPNotFoundHandler.cs
- RectConverter.cs
- HebrewNumber.cs
- ObjectItemCachedAssemblyLoader.cs
- ProfileGroupSettingsCollection.cs
- CodeValidator.cs
- StyleSelector.cs
- CalendarButtonAutomationPeer.cs
- ConfigurationManagerHelperFactory.cs
- CollaborationHelperFunctions.cs
- EntityDataSourceUtil.cs
- PageStatePersister.cs
- dataobject.cs
- SystemThemeKey.cs
- AutoGeneratedFieldProperties.cs
- ExpressionBindingCollection.cs
- XmlSchemaInfo.cs
- InputBinder.cs
- UserMapPath.cs
- EDesignUtil.cs
- VirtualizedItemPattern.cs
- CorrelationManager.cs
- PropertyRef.cs
- TriState.cs
- TextEditorCopyPaste.cs
- ActiveXSite.cs
- PropertyEmitterBase.cs
- WinCategoryAttribute.cs
- ControlCommandSet.cs
- XmlSerializationReader.cs
- MessagePropertyDescription.cs
- SurrogateChar.cs
- FileSystemEventArgs.cs
- Win32Native.cs
- StyleReferenceConverter.cs
- GradientStop.cs
- CssClassPropertyAttribute.cs
- RuleInfoComparer.cs
- XPathAncestorQuery.cs
- ReferentialConstraint.cs
- RewritingProcessor.cs
- DataGridViewRowHeaderCell.cs
- Int64.cs
- StreamGeometryContext.cs
- ComEventsSink.cs