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
- PropertyIDSet.cs
- WebPartActionVerb.cs
- Viewport3DAutomationPeer.cs
- SqlTypesSchemaImporter.cs
- VerticalAlignConverter.cs
- IEnumerable.cs
- MediaTimeline.cs
- TypeElement.cs
- RenderTargetBitmap.cs
- HtmlMeta.cs
- DockPatternIdentifiers.cs
- HtmlGenericControl.cs
- ReturnEventArgs.cs
- DESCryptoServiceProvider.cs
- TextLineBreak.cs
- Internal.cs
- IPAddressCollection.cs
- _NestedSingleAsyncResult.cs
- DynamicRenderer.cs
- PersonalizationEntry.cs
- HighContrastHelper.cs
- SystemException.cs
- PointCollectionValueSerializer.cs
- ObjectItemNoOpAssemblyLoader.cs
- DataGridTextColumn.cs
- ScriptControlDescriptor.cs
- SpeechRecognizer.cs
- safex509handles.cs
- SafeBitVector32.cs
- SpecularMaterial.cs
- SqlNode.cs
- Privilege.cs
- GacUtil.cs
- RotateTransform3D.cs
- UserUseLicenseDictionaryLoader.cs
- MimeMapping.cs
- FormCollection.cs
- ImpersonationContext.cs
- PolicyReader.cs
- FixedDocument.cs
- DrawingCollection.cs
- DataTablePropertyDescriptor.cs
- HitTestWithGeometryDrawingContextWalker.cs
- DataMember.cs
- ObjectListSelectEventArgs.cs
- __TransparentProxy.cs
- State.cs
- NegotiationTokenAuthenticatorState.cs
- InvalidAsynchronousStateException.cs
- WindowsSysHeader.cs
- Dispatcher.cs
- ToolStripPanelCell.cs
- ParentControlDesigner.cs
- FactoryGenerator.cs
- WmlTextViewAdapter.cs
- XmlDataSourceNodeDescriptor.cs
- ScriptModule.cs
- PageHandlerFactory.cs
- FontStretchConverter.cs
- Typeface.cs
- TemplateKeyConverter.cs
- StorageTypeMapping.cs
- UpdateCommand.cs
- CriticalFinalizerObject.cs
- Point.cs
- UpdatePanelTrigger.cs
- ObsoleteAttribute.cs
- DataSvcMapFileSerializer.cs
- PerformanceCounterManager.cs
- SafeBitVector32.cs
- PingReply.cs
- safesecurityhelperavalon.cs
- RecordConverter.cs
- MenuRendererStandards.cs
- FontDifferentiator.cs
- RectangleF.cs
- SafeHandles.cs
- CustomCredentialPolicy.cs
- HandlerWithFactory.cs
- TableLayoutStyle.cs
- AutoResetEvent.cs
- embossbitmapeffect.cs
- IndexedString.cs
- Rect3D.cs
- TcpConnectionPool.cs
- WindowsListView.cs
- PrintPreviewGraphics.cs
- OutputCacheSettingsSection.cs
- ElementNotEnabledException.cs
- LinkConverter.cs
- SchemaNamespaceManager.cs
- documentsequencetextview.cs
- _FixedSizeReader.cs
- PrePostDescendentsWalker.cs
- MetadataCache.cs
- MissingManifestResourceException.cs
- ConfigXmlElement.cs
- DataGridViewColumnStateChangedEventArgs.cs
- UnmanagedMemoryStream.cs
- TypePropertyEditor.cs