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
- DeflateStreamAsyncResult.cs
- CompositeKey.cs
- DataDesignUtil.cs
- SchemaNamespaceManager.cs
- ManagementOptions.cs
- DataMisalignedException.cs
- ControlParameter.cs
- IdentityReference.cs
- BuildManager.cs
- HtmlInputSubmit.cs
- SecureUICommand.cs
- SystemFonts.cs
- SingleAnimationBase.cs
- LinkButton.cs
- DemultiplexingDispatchMessageFormatter.cs
- BrowserDefinitionCollection.cs
- HWStack.cs
- XamlSerializerUtil.cs
- TextServicesContext.cs
- StructuredCompositeActivityDesigner.cs
- MsdtcClusterUtils.cs
- EdmConstants.cs
- ActivityExecutionFilter.cs
- DataBoundControl.cs
- Encoding.cs
- ModelItem.cs
- Directory.cs
- XomlCompilerParameters.cs
- ConfigXmlText.cs
- RegularExpressionValidator.cs
- XmlSerializerFaultFormatter.cs
- AxisAngleRotation3D.cs
- SecurityPolicySection.cs
- AuthenticationServiceManager.cs
- DataGridViewCellValidatingEventArgs.cs
- TraceContextEventArgs.cs
- ResourceLoader.cs
- ScrollData.cs
- CodeSnippetStatement.cs
- EncodingTable.cs
- AssemblyBuilder.cs
- PersistenceTask.cs
- LinkedResourceCollection.cs
- WebException.cs
- AvtEvent.cs
- SqlDataSourceAdvancedOptionsForm.cs
- MaskedTextBoxDesigner.cs
- BrowserCapabilitiesFactoryBase.cs
- PassportIdentity.cs
- ValueTable.cs
- ResXResourceReader.cs
- PlanCompiler.cs
- UnsafeNativeMethodsTablet.cs
- TraceListener.cs
- IdentifierCollection.cs
- ToolStripInSituService.cs
- MetadataUtilsSmi.cs
- Rule.cs
- ImageSourceConverter.cs
- InkCanvasFeedbackAdorner.cs
- CodeAttributeDeclarationCollection.cs
- SqlCaseSimplifier.cs
- ContentDisposition.cs
- DataSvcMapFileSerializer.cs
- SelectionRange.cs
- StateRuntime.cs
- DataColumnMapping.cs
- DateTimePickerDesigner.cs
- MsmqTransportSecurity.cs
- LogAppendAsyncResult.cs
- ContainerUIElement3D.cs
- XPathChildIterator.cs
- ResourceBinder.cs
- MouseOverProperty.cs
- SchemaImporter.cs
- ClientBase.cs
- CodeAttributeArgument.cs
- Decimal.cs
- ContentTextAutomationPeer.cs
- baseshape.cs
- SettingsPropertyCollection.cs
- NamespaceInfo.cs
- ResourceExpressionEditor.cs
- DefaultProxySection.cs
- GeneratedCodeAttribute.cs
- ETagAttribute.cs
- DataGridRowsPresenter.cs
- SupportsEventValidationAttribute.cs
- MemberDomainMap.cs
- OutputWindow.cs
- SelectionService.cs
- WebPartEditVerb.cs
- SettingsBindableAttribute.cs
- VerticalAlignConverter.cs
- CharacterString.cs
- UpdateTranslator.cs
- Utils.cs
- ToolStripMenuItemCodeDomSerializer.cs
- Bidi.cs
- ViewStateModeByIdAttribute.cs