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
- Version.cs
- DocumentOrderQuery.cs
- OdbcCommandBuilder.cs
- codemethodreferenceexpression.cs
- DependencyObject.cs
- XmlSchemaDocumentation.cs
- RegexCompiler.cs
- CollectionChangeEventArgs.cs
- ColumnBinding.cs
- remotingproxy.cs
- TransportOutputChannel.cs
- ColorTransform.cs
- KnownBoxes.cs
- XmlSchemaObjectTable.cs
- TabControl.cs
- ZoneLinkButton.cs
- XmlSchemaValidationException.cs
- CollectionType.cs
- LogExtent.cs
- embossbitmapeffect.cs
- Reference.cs
- PageBreakRecord.cs
- SessionStateUtil.cs
- Adorner.cs
- ReachObjectContext.cs
- KeyInterop.cs
- SqlConnectionFactory.cs
- MSG.cs
- PrintPreviewDialog.cs
- ExecutedRoutedEventArgs.cs
- ImportedNamespaceContextItem.cs
- DataTableClearEvent.cs
- NameValueSectionHandler.cs
- ObjectStateFormatter.cs
- HtmlControlDesigner.cs
- ContractHandle.cs
- BamlLocalizer.cs
- EntityTemplateUserControl.cs
- CompilationSection.cs
- WindowsScrollBarBits.cs
- OletxEnlistment.cs
- WebEvents.cs
- Padding.cs
- CompositeCollectionView.cs
- BaseCodePageEncoding.cs
- MetadataElement.cs
- LinkedResource.cs
- MonthCalendar.cs
- GridViewEditEventArgs.cs
- Matrix3DConverter.cs
- Interop.cs
- DeferredSelectedIndexReference.cs
- EntityUtil.cs
- ContractMethodInfo.cs
- Atom10FormatterFactory.cs
- PreApplicationStartMethodAttribute.cs
- DropShadowBitmapEffect.cs
- AppSettingsSection.cs
- StaticContext.cs
- DataGridLinkButton.cs
- SynchronousReceiveElement.cs
- DocumentReference.cs
- DataSourceCacheDurationConverter.cs
- SrgsDocument.cs
- StylusButtonEventArgs.cs
- XslAstAnalyzer.cs
- RegexStringValidator.cs
- AlternationConverter.cs
- MenuItemBinding.cs
- ContainerControl.cs
- SelectionWordBreaker.cs
- ImageBrush.cs
- ClientApiGenerator.cs
- ArglessEventHandlerProxy.cs
- ApplicationId.cs
- UrlMappingsSection.cs
- CollectionView.cs
- Avt.cs
- CounterSample.cs
- PerspectiveCamera.cs
- XmlSubtreeReader.cs
- SiteMapHierarchicalDataSourceView.cs
- GeometryDrawing.cs
- connectionpool.cs
- MenuCommands.cs
- LifetimeServices.cs
- SingleKeyFrameCollection.cs
- InvalidCastException.cs
- ThemeConfigurationDialog.cs
- StoragePropertyMapping.cs
- invalidudtexception.cs
- DefaultSettingsSection.cs
- ChildTable.cs
- TimeManager.cs
- ActiveXHelper.cs
- LoginName.cs
- TablePattern.cs
- GiveFeedbackEvent.cs
- SingleResultAttribute.cs
- LoginCancelEventArgs.cs