Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EntityClientCacheKey.cs
- HandlerMappingMemo.cs
- FilteredDataSetHelper.cs
- ConstructorNeedsTagAttribute.cs
- ConfigurationElementCollection.cs
- PageThemeBuildProvider.cs
- IsolatedStorageFileStream.cs
- Win32Exception.cs
- DetailsViewInsertEventArgs.cs
- DataListCommandEventArgs.cs
- EnvelopedSignatureTransform.cs
- HttpModulesSection.cs
- XmlnsCompatibleWithAttribute.cs
- ChannelSinkStacks.cs
- CFStream.cs
- OleCmdHelper.cs
- Rotation3D.cs
- ProjectionCamera.cs
- PolicyDesigner.cs
- NGCSerializerAsync.cs
- RequiredAttributeAttribute.cs
- TimelineGroup.cs
- Parameter.cs
- OdbcParameterCollection.cs
- PermissionSetEnumerator.cs
- TextBox.cs
- ListSortDescriptionCollection.cs
- DataBinder.cs
- SequentialOutput.cs
- PrintDialogDesigner.cs
- CompensationHandlingFilter.cs
- IndexedString.cs
- WinInetCache.cs
- Literal.cs
- PrintDocument.cs
- NativeObjectSecurity.cs
- Listbox.cs
- FileLoadException.cs
- ErrorLog.cs
- CleanUpVirtualizedItemEventArgs.cs
- VerificationAttribute.cs
- ComponentManagerBroker.cs
- FormViewInsertEventArgs.cs
- MsmqBindingElementBase.cs
- HtmlAnchor.cs
- BaseConfigurationRecord.cs
- UnconditionalPolicy.cs
- Camera.cs
- WindowClosedEventArgs.cs
- AutomationElement.cs
- Trace.cs
- Evaluator.cs
- dataprotectionpermissionattribute.cs
- ContractReference.cs
- DropShadowBitmapEffect.cs
- DataGridColumnHeaderItemAutomationPeer.cs
- PathFigure.cs
- WebPartZoneBase.cs
- UnhandledExceptionEventArgs.cs
- FormViewUpdatedEventArgs.cs
- X509Utils.cs
- Icon.cs
- SafeFileHandle.cs
- CodeBinaryOperatorExpression.cs
- EntryPointNotFoundException.cs
- DocumentCollection.cs
- DockAndAnchorLayout.cs
- ConfigurationStrings.cs
- Canvas.cs
- LogicalTreeHelper.cs
- ISAPIWorkerRequest.cs
- SecurityDescriptor.cs
- DbConnectionClosed.cs
- SRGSCompiler.cs
- WebBrowserPermission.cs
- MimeMapping.cs
- PipelineComponent.cs
- XmlMemberMapping.cs
- RegexWriter.cs
- TrailingSpaceComparer.cs
- TrackingLocationCollection.cs
- MenuCommandService.cs
- ArgumentOutOfRangeException.cs
- mda.cs
- DataChangedEventManager.cs
- ContentFileHelper.cs
- StructuredProperty.cs
- DataGridViewCellCancelEventArgs.cs
- DataGridViewRowEventArgs.cs
- ActivityMetadata.cs
- FixedPage.cs
- Parsers.cs
- MatrixAnimationBase.cs
- CommandBindingCollection.cs
- TimeSpanValidator.cs
- NativeActivityTransactionContext.cs
- DataTemplate.cs
- DistinctQueryOperator.cs
- DoubleLink.cs
- ClaimComparer.cs