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
- EventTask.cs
- Path.cs
- sqlser.cs
- OracleParameterCollection.cs
- EventEntry.cs
- DebugView.cs
- DES.cs
- Literal.cs
- CodeTypeDelegate.cs
- UnauthorizedWebPart.cs
- IItemProperties.cs
- TemplateBindingExpressionConverter.cs
- SelectionPatternIdentifiers.cs
- AQNBuilder.cs
- CmsUtils.cs
- CrossAppDomainChannel.cs
- TextDecoration.cs
- XPathItem.cs
- TemplateNameScope.cs
- ScriptRegistrationManager.cs
- XmlDownloadManager.cs
- SimpleHandlerBuildProvider.cs
- ViewManager.cs
- MethodBody.cs
- COM2ColorConverter.cs
- DataContractJsonSerializerOperationBehavior.cs
- Encoder.cs
- ContractListAdapter.cs
- SqlGenericUtil.cs
- TextBox.cs
- OdbcConnectionPoolProviderInfo.cs
- LogRestartAreaEnumerator.cs
- TcpConnectionPoolSettings.cs
- FontWeight.cs
- EncryptedType.cs
- ListViewGroupConverter.cs
- Constraint.cs
- TextBoxBase.cs
- PasswordTextNavigator.cs
- DispatcherExceptionEventArgs.cs
- FormViewUpdatedEventArgs.cs
- SoapServerProtocol.cs
- DataGridViewRowCollection.cs
- WebOperationContext.cs
- EventLog.cs
- TakeQueryOptionExpression.cs
- uribuilder.cs
- SByte.cs
- StreamInfo.cs
- DataServiceQueryProvider.cs
- VideoDrawing.cs
- ImageSourceConverter.cs
- IItemProperties.cs
- xml.cs
- StorageComplexTypeMapping.cs
- RegionInfo.cs
- Resources.Designer.cs
- ReliabilityContractAttribute.cs
- ResourceAssociationTypeEnd.cs
- SessionStateContainer.cs
- InternalDispatchObject.cs
- CookieParameter.cs
- IPipelineRuntime.cs
- UpdateCommand.cs
- InheritanceAttribute.cs
- BatchServiceHost.cs
- StickyNoteContentControl.cs
- SHA1CryptoServiceProvider.cs
- PageAsyncTask.cs
- ECDiffieHellman.cs
- MSAAWinEventWrap.cs
- WebPartZone.cs
- BamlVersionHeader.cs
- ModuleBuilder.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- ImageIndexConverter.cs
- UncommonField.cs
- RoutedEventArgs.cs
- StorageBasedPackageProperties.cs
- DataGridViewColumnTypeEditor.cs
- ErrorsHelper.cs
- DataGridViewRowCancelEventArgs.cs
- DbConnectionFactory.cs
- ToolStrip.cs
- SafeRightsManagementPubHandle.cs
- SoapIgnoreAttribute.cs
- MethodBuilder.cs
- FixedSOMPage.cs
- Transform.cs
- cryptoapiTransform.cs
- CmsInterop.cs
- ExpressionBuilderCollection.cs
- FontFamilyValueSerializer.cs
- SecurityTokenAuthenticator.cs
- baseaxisquery.cs
- ConsoleCancelEventArgs.cs
- XmlEncodedRawTextWriter.cs
- AdornerDecorator.cs
- FrugalList.cs
- MemoryMappedView.cs