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
- ScrollItemPatternIdentifiers.cs
- RequestTimeoutManager.cs
- AutomationProperty.cs
- WindowHideOrCloseTracker.cs
- StreamMarshaler.cs
- ActivationServices.cs
- ExtensionWindowResizeGrip.cs
- TabOrder.cs
- SBCSCodePageEncoding.cs
- ErasingStroke.cs
- DES.cs
- XmlReaderSettings.cs
- BuildProvider.cs
- DBParameter.cs
- MimeFormReflector.cs
- XmlQueryOutput.cs
- UriPrefixTable.cs
- DatePicker.cs
- StylusDevice.cs
- XmlProcessingInstruction.cs
- CommandHelpers.cs
- SoapParser.cs
- NavigatorOutput.cs
- ServicePointManager.cs
- xdrvalidator.cs
- ProtocolsSection.cs
- HashMembershipCondition.cs
- Quad.cs
- BinaryEditor.cs
- DBSqlParserColumnCollection.cs
- HtmlEncodedRawTextWriter.cs
- SafeProcessHandle.cs
- LiteralText.cs
- MemoryStream.cs
- LicenseException.cs
- TemplateBamlRecordReader.cs
- TriState.cs
- DirectionalLight.cs
- SizeLimitedCache.cs
- TriggerCollection.cs
- EntitySqlQueryCacheEntry.cs
- TextUtf8RawTextWriter.cs
- RevocationPoint.cs
- ByteAnimationUsingKeyFrames.cs
- XDeferredAxisSource.cs
- CornerRadiusConverter.cs
- RemotingException.cs
- RootProfilePropertySettingsCollection.cs
- InfiniteIntConverter.cs
- WebPartZoneCollection.cs
- WindowsScroll.cs
- DocumentReference.cs
- WizardStepCollectionEditor.cs
- DisplayNameAttribute.cs
- DebugView.cs
- StreamGeometryContext.cs
- EventMetadata.cs
- ProfileSettings.cs
- TranslateTransform3D.cs
- NamedPipeChannelFactory.cs
- InkCanvas.cs
- SecurityDescriptor.cs
- XmlDictionary.cs
- InputScopeManager.cs
- SerialPinChanges.cs
- XmlnsPrefixAttribute.cs
- XmlRawWriter.cs
- IDictionary.cs
- BinHexDecoder.cs
- BlobPersonalizationState.cs
- SaveFileDialogDesigner.cs
- HyperLinkStyle.cs
- IntPtr.cs
- ClientConvert.cs
- InputScopeConverter.cs
- StateMachineWorkflowInstance.cs
- EventHandlingScope.cs
- PipeSecurity.cs
- BitmapScalingModeValidation.cs
- BorderSidesEditor.cs
- DecoderFallback.cs
- DataGridViewCellStateChangedEventArgs.cs
- ACE.cs
- BitmapEffectrendercontext.cs
- SessionSymmetricTransportSecurityProtocolFactory.cs
- FacetChecker.cs
- TypeEnumerableViewSchema.cs
- WindowsGraphicsCacheManager.cs
- WebPartCatalogCloseVerb.cs
- ValidationErrorInfo.cs
- DesignTimeData.cs
- SrgsElementFactory.cs
- Margins.cs
- TextViewBase.cs
- JoinGraph.cs
- ResourceReader.cs
- EventSourceCreationData.cs
- XsltSettings.cs
- ResourceExpressionBuilder.cs
- MultipartIdentifier.cs