Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / 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. //------------------------------------------------------------------------------ //// 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
- TransformCryptoHandle.cs
- GeneralTransform.cs
- ServiceMetadataExtension.cs
- CompilationPass2Task.cs
- AbstractDataSvcMapFileLoader.cs
- PenThreadPool.cs
- ScriptServiceAttribute.cs
- SortQuery.cs
- TargetInvocationException.cs
- BufferedGraphicsContext.cs
- ProcessMessagesAsyncResult.cs
- TreeNodeCollection.cs
- ServiceReference.cs
- XsltException.cs
- InternalPolicyElement.cs
- ClipboardProcessor.cs
- LoginAutoFormat.cs
- SubclassTypeValidator.cs
- TraversalRequest.cs
- SuppressIldasmAttribute.cs
- AnnotationComponentChooser.cs
- ReadOnlyObservableCollection.cs
- UiaCoreProviderApi.cs
- ScriptControlDescriptor.cs
- Tuple.cs
- NetCodeGroup.cs
- ZipIOExtraFieldElement.cs
- TextRangeEdit.cs
- PackagingUtilities.cs
- Viewport2DVisual3D.cs
- BasicExpandProvider.cs
- ValueHandle.cs
- WindowsHyperlink.cs
- ListItemConverter.cs
- TemplateControlCodeDomTreeGenerator.cs
- SimpleTextLine.cs
- SchemaCollectionCompiler.cs
- Environment.cs
- DecimalAnimationUsingKeyFrames.cs
- OptionUsage.cs
- SqlProviderUtilities.cs
- Padding.cs
- LoginCancelEventArgs.cs
- CodeDomSerializationProvider.cs
- StringCollectionMarkupSerializer.cs
- recordstatefactory.cs
- Timer.cs
- HtmlInputControl.cs
- ExpressionVisitor.cs
- BindingOperations.cs
- RuleConditionDialog.Designer.cs
- CompensationHandlingFilter.cs
- EngineSite.cs
- WebCodeGenerator.cs
- CapabilitiesState.cs
- ControlBuilderAttribute.cs
- TextContainerChangeEventArgs.cs
- GraphicsContext.cs
- CheckPair.cs
- mansign.cs
- XmlLangPropertyAttribute.cs
- CodeMemberProperty.cs
- AutoResetEvent.cs
- XXXOnTypeBuilderInstantiation.cs
- DictionarySectionHandler.cs
- Win32KeyboardDevice.cs
- EntityDesignPluralizationHandler.cs
- OdbcRowUpdatingEvent.cs
- RawStylusInputCustomData.cs
- CodeAttributeArgument.cs
- StyleSheetDesigner.cs
- QuaternionConverter.cs
- QuadraticBezierSegment.cs
- CssTextWriter.cs
- AsnEncodedData.cs
- SafeFileMappingHandle.cs
- TagPrefixAttribute.cs
- Set.cs
- Helpers.cs
- Double.cs
- WSUtilitySpecificationVersion.cs
- AnimationTimeline.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- MdiWindowListItemConverter.cs
- CodeArrayIndexerExpression.cs
- ContextActivityUtils.cs
- MobileControlsSectionHelper.cs
- DelegateHelpers.Generated.cs
- UpWmlMobileTextWriter.cs
- StreamGeometry.cs
- WinFormsSecurity.cs
- SelectionListDesigner.cs
- EntityParameterCollection.cs
- ClientConfigPaths.cs
- MetadataPropertyCollection.cs
- CssStyleCollection.cs
- Animatable.cs
- UrlMapping.cs
- NamespaceCollection.cs
- RC2.cs