Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- GraphicsState.cs
- CFStream.cs
- PathFigureCollection.cs
- CompilationSection.cs
- SharedHttpTransportManager.cs
- Soap12ProtocolReflector.cs
- ScanQueryOperator.cs
- InitiatorSessionSymmetricTransportSecurityProtocol.cs
- ToolStripItemTextRenderEventArgs.cs
- Asn1Utilities.cs
- _NestedMultipleAsyncResult.cs
- EventPropertyMap.cs
- DataGridAddNewRow.cs
- ToolStripDropDownClosingEventArgs.cs
- AsymmetricSignatureDeformatter.cs
- ExpandButtonVisibilityConverter.cs
- ScriptMethodAttribute.cs
- ListDependantCardsRequest.cs
- IsolationInterop.cs
- Icon.cs
- Coordinator.cs
- NameSpaceExtractor.cs
- BitArray.cs
- InitiatorSessionSymmetricTransportSecurityProtocol.cs
- PropertyIDSet.cs
- DocumentPage.cs
- ReflectPropertyDescriptor.cs
- WebPartHelpVerb.cs
- SourceFilter.cs
- ComponentRenameEvent.cs
- NumberAction.cs
- OracleDateTime.cs
- ConfigXmlText.cs
- BinaryCommonClasses.cs
- XPathMultyIterator.cs
- ConfigXmlElement.cs
- TransactionBridgeSection.cs
- ValueSerializer.cs
- CurrentChangingEventArgs.cs
- SqlOuterApplyReducer.cs
- PowerStatus.cs
- SignatureToken.cs
- AxDesigner.cs
- Wizard.cs
- RenderCapability.cs
- CommandID.cs
- Pkcs7Recipient.cs
- CheckedPointers.cs
- Serializer.cs
- EntityProviderServices.cs
- CreateRefExpr.cs
- ProxyHwnd.cs
- ContentPlaceHolder.cs
- PrintDialogException.cs
- XmlSigningNodeWriter.cs
- RtfFormatStack.cs
- PreloadedPackages.cs
- BatchParser.cs
- CqlWriter.cs
- QueuePropertyVariants.cs
- JsonFormatWriterGenerator.cs
- XmlDocumentFragment.cs
- ControlIdConverter.cs
- Floater.cs
- Page.cs
- InvokeMethod.cs
- DirtyTextRange.cs
- WebPartPersonalization.cs
- CompleteWizardStep.cs
- Queue.cs
- MostlySingletonList.cs
- TextTreeInsertElementUndoUnit.cs
- EncodingTable.cs
- UpdateProgress.cs
- ObjectSpanRewriter.cs
- ProviderIncompatibleException.cs
- XmlComplianceUtil.cs
- MouseEvent.cs
- documentsequencetextview.cs
- HwndHost.cs
- CharacterShapingProperties.cs
- FixedSOMLineRanges.cs
- basemetadatamappingvisitor.cs
- ComboBoxItem.cs
- ArglessEventHandlerProxy.cs
- PropertySourceInfo.cs
- UnsafeNativeMethods.cs
- SignedXmlDebugLog.cs
- SqlDataSourceCommandEventArgs.cs
- AssemblyNameProxy.cs
- CommentAction.cs
- ObjectViewQueryResultData.cs
- RefreshPropertiesAttribute.cs
- CorrelationService.cs
- SqlDesignerDataSourceView.cs
- srgsitem.cs
- GridViewRowPresenterBase.cs
- FieldAccessException.cs
- UriSection.cs
- HttpException.cs