Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / xsp / System / Web / UI / WebControls / ReadOnlyDataSourceView.cs / 1 / ReadOnlyDataSourceView.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.Collections; using System.Web.UI; using System.Web.Util; ////// This class is used by ReadOnlyDataSource to represent an individual /// view of a generic data source. /// internal sealed class ReadOnlyDataSourceView : DataSourceView { private IEnumerable _dataSource; public ReadOnlyDataSourceView(ReadOnlyDataSource owner, string name, IEnumerable dataSource) : base(owner, name) { _dataSource = dataSource; } protected internal override IEnumerable ExecuteSelect(DataSourceSelectArguments arguments) { arguments.RaiseUnsupportedCapabilitiesError(this); return _dataSource; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.Collections; using System.Web.UI; using System.Web.Util; ////// This class is used by ReadOnlyDataSource to represent an individual /// view of a generic data source. /// internal sealed class ReadOnlyDataSourceView : DataSourceView { private IEnumerable _dataSource; public ReadOnlyDataSourceView(ReadOnlyDataSource owner, string name, IEnumerable dataSource) : base(owner, name) { _dataSource = dataSource; } protected internal override IEnumerable ExecuteSelect(DataSourceSelectArguments arguments) { arguments.RaiseUnsupportedCapabilitiesError(this); return _dataSource; } } } // 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
- TagPrefixInfo.cs
- UpdatePanelTriggerCollection.cs
- ExpressionPrefixAttribute.cs
- RoleService.cs
- CriticalFinalizerObject.cs
- remotingproxy.cs
- OdbcCommand.cs
- WindowsPen.cs
- NullableFloatSumAggregationOperator.cs
- BoundField.cs
- Vector3DKeyFrameCollection.cs
- RegexRunnerFactory.cs
- MruCache.cs
- Win32MouseDevice.cs
- XmlSerializableWriter.cs
- MenuRendererStandards.cs
- HostProtectionPermission.cs
- CodeObject.cs
- WebColorConverter.cs
- MultiSelectRootGridEntry.cs
- storepermissionattribute.cs
- AggregationMinMaxHelpers.cs
- StaticFileHandler.cs
- precedingsibling.cs
- RectangleGeometry.cs
- TextEffectResolver.cs
- SafeBitVector32.cs
- ProtectedConfigurationSection.cs
- SiteMembershipCondition.cs
- HelpKeywordAttribute.cs
- TableProviderWrapper.cs
- SEHException.cs
- ExtendedProtectionPolicy.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- SqlClientMetaDataCollectionNames.cs
- StateRuntime.cs
- DataKey.cs
- TCEAdapterGenerator.cs
- DataSourceCacheDurationConverter.cs
- AutomationElementCollection.cs
- ZipIOModeEnforcingStream.cs
- ToolBarButtonClickEvent.cs
- Attributes.cs
- ButtonChrome.cs
- RenderData.cs
- OracleParameterBinding.cs
- DebugInfoGenerator.cs
- TableParagraph.cs
- OdbcParameter.cs
- SmiContextFactory.cs
- PipelineModuleStepContainer.cs
- SignatureResourcePool.cs
- AnimationStorage.cs
- LostFocusEventManager.cs
- SchemaElementLookUpTable.cs
- AddInDeploymentState.cs
- XPathSelfQuery.cs
- OdbcUtils.cs
- SecurityKeyIdentifierClause.cs
- Utils.cs
- SqlServer2KCompatibilityAnnotation.cs
- PipelineModuleStepContainer.cs
- X509SecurityTokenAuthenticator.cs
- SpellerStatusTable.cs
- ImageButton.cs
- InstanceDataCollection.cs
- SQLBytesStorage.cs
- MonthCalendar.cs
- SynchronizedDispatch.cs
- BuildManager.cs
- AccessKeyManager.cs
- Collection.cs
- X509Certificate.cs
- SchemaImporter.cs
- MemberInfoSerializationHolder.cs
- wmiutil.cs
- XPathDocumentNavigator.cs
- dtdvalidator.cs
- CodeExpressionCollection.cs
- AppLevelCompilationSectionCache.cs
- SourceCollection.cs
- ExecutionPropertyManager.cs
- HandleCollector.cs
- DataGridViewCellEventArgs.cs
- WSSecureConversationFeb2005.cs
- PermissionAttributes.cs
- ShapingWorkspace.cs
- webproxy.cs
- Base64Encoding.cs
- DataReaderContainer.cs
- WebPartMenuStyle.cs
- WebPartConnectionsDisconnectVerb.cs
- InkSerializer.cs
- dbenumerator.cs
- ListParaClient.cs
- webeventbuffer.cs
- StringStorage.cs
- _Semaphore.cs
- IntSecurity.cs
- Type.cs