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
- DataGridViewRowCollection.cs
- SerializerDescriptor.cs
- HandledMouseEvent.cs
- TemplatePagerField.cs
- precedingquery.cs
- RangeContentEnumerator.cs
- EntitySqlQueryCacheKey.cs
- ColumnCollection.cs
- TCEAdapterGenerator.cs
- BrowserCapabilitiesFactoryBase.cs
- ConfigurationElementProperty.cs
- SafeCryptoHandles.cs
- RenderingBiasValidation.cs
- ConfigurationCollectionAttribute.cs
- SubpageParagraph.cs
- NumberFunctions.cs
- VisualCollection.cs
- FullTrustAssemblyCollection.cs
- safex509handles.cs
- bindurihelper.cs
- DoubleAnimationClockResource.cs
- PerformanceCounterCategory.cs
- PlaceHolder.cs
- RangeContentEnumerator.cs
- RC2CryptoServiceProvider.cs
- HwndKeyboardInputProvider.cs
- Rotation3DAnimationUsingKeyFrames.cs
- URIFormatException.cs
- GeneratedCodeAttribute.cs
- FreezableDefaultValueFactory.cs
- EventArgs.cs
- SoapSchemaImporter.cs
- SessionPageStateSection.cs
- SecurityUniqueId.cs
- FormParameter.cs
- XmlValidatingReaderImpl.cs
- PolicyUnit.cs
- Int32Collection.cs
- UpdateRecord.cs
- COM2TypeInfoProcessor.cs
- NativeMethodsOther.cs
- RSAPKCS1KeyExchangeFormatter.cs
- NotConverter.cs
- ProgressBarAutomationPeer.cs
- ControlAdapter.cs
- ObjectRef.cs
- Soap12ServerProtocol.cs
- KeyValuePairs.cs
- SmiSettersStream.cs
- StringUtil.cs
- ProcessModelInfo.cs
- IPAddress.cs
- DoubleLinkList.cs
- DefaultSection.cs
- ClientScriptManager.cs
- FragmentQueryProcessor.cs
- BamlBinaryWriter.cs
- SourceSwitch.cs
- PageAdapter.cs
- StandardOleMarshalObject.cs
- DiscreteKeyFrames.cs
- ObjectPersistData.cs
- DataError.cs
- MonthCalendar.cs
- LogLogRecordEnumerator.cs
- SpecialNameAttribute.cs
- TraceHandler.cs
- WebPartEditVerb.cs
- EpmSyndicationContentSerializer.cs
- IDictionary.cs
- PaintEvent.cs
- CheckBox.cs
- BitmapFrameDecode.cs
- EntityCodeGenerator.cs
- MarshalByRefObject.cs
- Binding.cs
- ResourceWriter.cs
- SizeAnimation.cs
- ObjectConverter.cs
- peersecuritysettings.cs
- XsdCachingReader.cs
- VarInfo.cs
- ZipFileInfo.cs
- MultilineStringEditor.cs
- ManagementOptions.cs
- RegexCode.cs
- OpCodes.cs
- DebuggerService.cs
- TypeDescriptor.cs
- AssemblyCacheEntry.cs
- ConfigurationFileMap.cs
- XmlSchemaAny.cs
- PopupEventArgs.cs
- X500Name.cs
- StringFormat.cs
- ComponentFactoryHelpers.cs
- SpotLight.cs
- XmlEncodedRawTextWriter.cs
- IdentityNotMappedException.cs
- DispatcherHookEventArgs.cs