Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- SimpleRecyclingCache.cs
- PipelineModuleStepContainer.cs
- XmlSchemaAttribute.cs
- MimeMultiPart.cs
- MsmqIntegrationInputChannel.cs
- MarginsConverter.cs
- HttpResponseBase.cs
- COM2ExtendedBrowsingHandler.cs
- StickyNoteContentControl.cs
- DynamicDocumentPaginator.cs
- PeerNameRecord.cs
- ObjectDataSourceEventArgs.cs
- ComponentResourceKey.cs
- ObjectCloneHelper.cs
- RemotingAttributes.cs
- PartManifestEntry.cs
- WebDisplayNameAttribute.cs
- ListBindableAttribute.cs
- TrackBarRenderer.cs
- TrustManagerMoreInformation.cs
- TraceContextEventArgs.cs
- SetStateDesigner.cs
- BamlStream.cs
- StringFunctions.cs
- HyperLink.cs
- PropertyKey.cs
- FrameworkElementFactoryMarkupObject.cs
- Point3D.cs
- Argument.cs
- RemotingAttributes.cs
- DetailsViewInsertedEventArgs.cs
- CodeTypeReferenceExpression.cs
- MouseActionConverter.cs
- KnownTypesHelper.cs
- SHA512.cs
- CodeAssignStatement.cs
- ResumeStoryboard.cs
- TcpStreams.cs
- SessionPageStateSection.cs
- SearchForVirtualItemEventArgs.cs
- XsdCachingReader.cs
- AssemblyCollection.cs
- Unit.cs
- KeyValuePairs.cs
- ZeroOpNode.cs
- RsaKeyIdentifierClause.cs
- IISMapPath.cs
- ErrorWebPart.cs
- Permission.cs
- MissingMemberException.cs
- TypedDatasetGenerator.cs
- AxHost.cs
- DataSet.cs
- MetadataItem_Static.cs
- EntityDesignerDataSourceView.cs
- _KerberosClient.cs
- ScriptRegistrationManager.cs
- GZipDecoder.cs
- SoundPlayer.cs
- RoleManagerModule.cs
- ConditionalAttribute.cs
- StringCollectionMarkupSerializer.cs
- RegexParser.cs
- DiscriminatorMap.cs
- TailCallAnalyzer.cs
- ButtonFieldBase.cs
- NavigationCommands.cs
- XsltException.cs
- SerialStream.cs
- SelectorAutomationPeer.cs
- GeometryHitTestResult.cs
- SerializationStore.cs
- LoginView.cs
- SmtpException.cs
- TaiwanLunisolarCalendar.cs
- SelfIssuedSamlTokenFactory.cs
- ProcessActivityTreeOptions.cs
- DataGridViewControlCollection.cs
- DiffuseMaterial.cs
- BooleanStorage.cs
- GlyphInfoList.cs
- DiagnosticTrace.cs
- Parameter.cs
- ProxyHelper.cs
- XmlAttributeOverrides.cs
- OutputCacheModule.cs
- EventBuilder.cs
- TextEffectCollection.cs
- SemanticBasicElement.cs
- SourceFileBuildProvider.cs
- ImageInfo.cs
- InternalControlCollection.cs
- BulletedList.cs
- _TimerThread.cs
- ColorInterpolationModeValidation.cs
- ShaperBuffers.cs
- Partitioner.cs
- TypeDependencyAttribute.cs
- TabItemWrapperAutomationPeer.cs
- XmlKeywords.cs