Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- PartitionedStreamMerger.cs
- PnrpPermission.cs
- HttpModulesSection.cs
- HostExecutionContextManager.cs
- XmlTypeAttribute.cs
- AccessDataSourceWizardForm.cs
- AlphabeticalEnumConverter.cs
- DataGridHelper.cs
- FileLoadException.cs
- MonthCalendar.cs
- XPathScanner.cs
- OuterGlowBitmapEffect.cs
- GeometryDrawing.cs
- RequestSecurityTokenForRemoteTokenFactory.cs
- CacheOutputQuery.cs
- EntityDataSourceViewSchema.cs
- SchemaObjectWriter.cs
- SymbolType.cs
- BitmapPalettes.cs
- WebSysDisplayNameAttribute.cs
- NetNamedPipeSecurityElement.cs
- SafeMILHandle.cs
- serverconfig.cs
- BindingEditor.xaml.cs
- InfoCardAsymmetricCrypto.cs
- EventBookmark.cs
- IntSecurity.cs
- DoubleCollectionConverter.cs
- LinqDataSourceHelper.cs
- InputQueue.cs
- AllMembershipCondition.cs
- Parser.cs
- PermissionAttributes.cs
- NullReferenceException.cs
- VolatileResourceManager.cs
- ObjectToken.cs
- HttpException.cs
- ClientScriptManagerWrapper.cs
- CriticalHandle.cs
- DataGridItemCollection.cs
- UserControl.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- XmlSchemaAnyAttribute.cs
- EditorPartChrome.cs
- CodeValidator.cs
- CodeArrayIndexerExpression.cs
- RemotingConfiguration.cs
- ObjectDataSourceMethodEventArgs.cs
- TextRunCacheImp.cs
- EventEntry.cs
- PreviewControlDesigner.cs
- DrawingGroupDrawingContext.cs
- ILGenerator.cs
- CacheForPrimitiveTypes.cs
- PersonalizationStateInfo.cs
- TypographyProperties.cs
- InsufficientMemoryException.cs
- MULTI_QI.cs
- RemotingSurrogateSelector.cs
- SymDocumentType.cs
- SymbolEqualComparer.cs
- Event.cs
- NativeMethods.cs
- FontInfo.cs
- Win32Exception.cs
- DoubleLinkList.cs
- RegexBoyerMoore.cs
- AuthenticationService.cs
- SwitchLevelAttribute.cs
- ReadonlyMessageFilter.cs
- ScrollChrome.cs
- SqlDependencyListener.cs
- EntityContainerRelationshipSet.cs
- PathParser.cs
- TextTreeDeleteContentUndoUnit.cs
- InstanceHandleConflictException.cs
- WindowsScrollBar.cs
- CodeMemberMethod.cs
- PrimaryKeyTypeConverter.cs
- DateTimeOffset.cs
- XmlQuerySequence.cs
- RelationshipDetailsRow.cs
- Label.cs
- GridViewAutomationPeer.cs
- TableLayoutRowStyleCollection.cs
- SystemParameters.cs
- LoggedException.cs
- DocumentViewerAutomationPeer.cs
- JavaScriptObjectDeserializer.cs
- UnmanagedMarshal.cs
- DecoderExceptionFallback.cs
- _ListenerResponseStream.cs
- PropertyItemInternal.cs
- InfoCardAsymmetricCrypto.cs
- MasterPage.cs
- DoubleLinkList.cs
- QueryResponse.cs
- PageRequestManager.cs
- EntryPointNotFoundException.cs
- ListControlBoundActionList.cs