Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / ndp / fx / src / DataWebControls / System / Data / WebControls / EntityDataSourceSelectedEventArgs.cs / 1 / 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
- MainMenu.cs
- CategoryNameCollection.cs
- NavigationEventArgs.cs
- XmlSchemaSet.cs
- NotifyParentPropertyAttribute.cs
- BamlBinaryReader.cs
- Privilege.cs
- ExpressionParser.cs
- TableCellAutomationPeer.cs
- MetadataExchangeClient.cs
- SharingService.cs
- isolationinterop.cs
- DependencyObjectType.cs
- SqlFunctions.cs
- ImageSourceValueSerializer.cs
- FlowDocumentPageViewerAutomationPeer.cs
- WebPartHeaderCloseVerb.cs
- ExpressionBinding.cs
- UdpReplyToBehavior.cs
- RTLAwareMessageBox.cs
- ResourceIDHelper.cs
- Animatable.cs
- JsonDataContract.cs
- TreeSet.cs
- InternalBufferOverflowException.cs
- DataIdProcessor.cs
- DecimalAverageAggregationOperator.cs
- WizardPanel.cs
- WebResponse.cs
- XmlSchemaImporter.cs
- StringBuilder.cs
- StringTraceRecord.cs
- AspCompat.cs
- SspiHelper.cs
- FirstQueryOperator.cs
- ArcSegment.cs
- DesignerMetadata.cs
- AuthenticationModuleElement.cs
- SafeHGlobalHandleCritical.cs
- SqlProfileProvider.cs
- WorkflowRequestContext.cs
- TableLayoutColumnStyleCollection.cs
- SqlOuterApplyReducer.cs
- UniqueIdentifierService.cs
- ConvertEvent.cs
- LicenseContext.cs
- ObjectRef.cs
- LineGeometry.cs
- ObjectViewFactory.cs
- ArraySet.cs
- WebPartConnectionsConnectVerb.cs
- DbProviderManifest.cs
- NameObjectCollectionBase.cs
- TextRangeAdaptor.cs
- SafeCoTaskMem.cs
- ColorAnimation.cs
- ColumnReorderedEventArgs.cs
- TextSelectionHighlightLayer.cs
- ListViewDeletedEventArgs.cs
- StringValueSerializer.cs
- FormatPage.cs
- XmlTextReaderImpl.cs
- PathSegmentCollection.cs
- translator.cs
- odbcmetadatacollectionnames.cs
- CapabilitiesRule.cs
- TaskFileService.cs
- DataGridViewButtonColumn.cs
- TransmissionStrategy.cs
- PropertyChangedEventArgs.cs
- Triplet.cs
- CmsInterop.cs
- XXXOnTypeBuilderInstantiation.cs
- EncoderParameter.cs
- UiaCoreApi.cs
- DoubleStorage.cs
- BindableTemplateBuilder.cs
- hresults.cs
- recordstate.cs
- BuildProviderCollection.cs
- WebPartDisplayModeCollection.cs
- TreeNodeMouseHoverEvent.cs
- BamlLocalizabilityResolver.cs
- SiteMapNode.cs
- Brushes.cs
- ToolStripPanelCell.cs
- PostBackTrigger.cs
- Encoder.cs
- CharacterBufferReference.cs
- XmlSerializationGeneratedCode.cs
- SimpleRecyclingCache.cs
- ColorConvertedBitmap.cs
- MD5Cng.cs
- ConnectionStringSettings.cs
- SystemIcons.cs
- PropertyItem.cs
- HtmlTernaryTree.cs
- Int64AnimationBase.cs
- ResumeStoryboard.cs
- LiteralControl.cs