Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- SafeEventHandle.cs
- Single.cs
- XsltFunctions.cs
- BatchParser.cs
- EndEvent.cs
- EventDescriptorCollection.cs
- CoreChannel.cs
- Classification.cs
- Int64AnimationBase.cs
- CompareInfo.cs
- EncryptedPackage.cs
- TagPrefixCollection.cs
- RestClientProxyHandler.cs
- HttpAsyncResult.cs
- IODescriptionAttribute.cs
- StringFreezingAttribute.cs
- COM2Properties.cs
- ChannelDemuxer.cs
- XmlNavigatorFilter.cs
- ConfigXmlSignificantWhitespace.cs
- RefreshEventArgs.cs
- XmlWriter.cs
- ConfigurationStrings.cs
- DesignerObjectListAdapter.cs
- AuthStoreRoleProvider.cs
- ServiceModelStringsVersion1.cs
- FixedSOMTextRun.cs
- Propagator.Evaluator.cs
- ListItemParagraph.cs
- Identity.cs
- XmlNodeReader.cs
- FontCollection.cs
- CryptoProvider.cs
- RegexStringValidator.cs
- PropertyGridDesigner.cs
- EditingMode.cs
- CodeExpressionCollection.cs
- ObjectTag.cs
- LayoutEngine.cs
- TriState.cs
- SizeKeyFrameCollection.cs
- EntityCommandDefinition.cs
- DataSource.cs
- CuspData.cs
- XhtmlMobileTextWriter.cs
- Page.cs
- IsolatedStoragePermission.cs
- TokenFactoryBase.cs
- StateItem.cs
- EntityDataSourceViewSchema.cs
- SqlBulkCopyColumnMapping.cs
- TcpAppDomainProtocolHandler.cs
- ExpandCollapseProviderWrapper.cs
- ObjectDataSourceView.cs
- RuleConditionDialog.cs
- SqlClientMetaDataCollectionNames.cs
- ServerValidateEventArgs.cs
- XsltCompileContext.cs
- Types.cs
- TextBoxDesigner.cs
- DesignSurfaceEvent.cs
- DictionaryEntry.cs
- IgnoreSectionHandler.cs
- SHA384CryptoServiceProvider.cs
- DropShadowEffect.cs
- Font.cs
- RadioButtonRenderer.cs
- TableLayoutStyleCollection.cs
- WebBrowserHelper.cs
- PrintDialog.cs
- HtmlHead.cs
- WindowsFormsHostAutomationPeer.cs
- EtwTrackingBehaviorElement.cs
- Pen.cs
- Pointer.cs
- WebPartDeleteVerb.cs
- ListControl.cs
- SchemaTableOptionalColumn.cs
- JsonXmlDataContract.cs
- AxisAngleRotation3D.cs
- DataListItemEventArgs.cs
- UndoManager.cs
- DivideByZeroException.cs
- FormatterConverter.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- TokenBasedSetEnumerator.cs
- DoubleLinkListEnumerator.cs
- XmlSerializerOperationFormatter.cs
- BitmapEffect.cs
- HtmlInputRadioButton.cs
- EmissiveMaterial.cs
- ISSmlParser.cs
- InvokeWebService.cs
- ObjectSecurity.cs
- HuffCodec.cs
- _LazyAsyncResult.cs
- DataSysAttribute.cs
- HttpModuleCollection.cs
- validationstate.cs
- PartialTrustHelpers.cs