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
- HttpCachePolicyElement.cs
- StringSorter.cs
- CursorInteropHelper.cs
- OraclePermissionAttribute.cs
- CapabilitiesAssignment.cs
- ReliableSessionBindingElement.cs
- CqlIdentifiers.cs
- DataGridViewCellCollection.cs
- CompletionCallbackWrapper.cs
- TransportElement.cs
- invalidudtexception.cs
- Matrix.cs
- DataListItemCollection.cs
- UnicastIPAddressInformationCollection.cs
- _WinHttpWebProxyDataBuilder.cs
- SimpleMailWebEventProvider.cs
- SoapAttributeOverrides.cs
- LongPath.cs
- IndexedGlyphRun.cs
- DataGridViewSelectedColumnCollection.cs
- CommonXSendMessage.cs
- MinimizableAttributeTypeConverter.cs
- InstanceData.cs
- AsymmetricAlgorithm.cs
- TypeReference.cs
- WindowsImpersonationContext.cs
- Matrix.cs
- DisplayInformation.cs
- IndexOutOfRangeException.cs
- EntitySqlQueryState.cs
- KnownTypeAttribute.cs
- PersistChildrenAttribute.cs
- ContentPresenter.cs
- CalendarItem.cs
- IncrementalCompileAnalyzer.cs
- RoutedCommand.cs
- AsymmetricSignatureDeformatter.cs
- HtmlInputPassword.cs
- ConfigurationValidatorAttribute.cs
- XslAstAnalyzer.cs
- LongCountAggregationOperator.cs
- XmlAtomicValue.cs
- RepeaterItem.cs
- DataRecordInternal.cs
- DataMisalignedException.cs
- WhitespaceRuleLookup.cs
- DocumentApplicationJournalEntryEventArgs.cs
- HierarchicalDataBoundControlAdapter.cs
- LassoSelectionBehavior.cs
- GroupBox.cs
- WebPartMinimizeVerb.cs
- SmtpTransport.cs
- WinFormsUtils.cs
- WebPartPersonalization.cs
- Empty.cs
- RecognitionResult.cs
- TextTrailingCharacterEllipsis.cs
- ClientRoleProvider.cs
- WebEventTraceProvider.cs
- StateManagedCollection.cs
- OptimalTextSource.cs
- DummyDataSource.cs
- DnsPermission.cs
- GraphicsContext.cs
- XmlWriter.cs
- XmlResolver.cs
- XmlNamedNodeMap.cs
- QueryOperator.cs
- CodeDomConfigurationHandler.cs
- WindowsRichEditRange.cs
- SoapHeaderException.cs
- PersistenceMetadataNamespace.cs
- ResetableIterator.cs
- MultiDataTrigger.cs
- TextLineBreak.cs
- DataGridViewCellStateChangedEventArgs.cs
- ObjectDataSourceFilteringEventArgs.cs
- SqlFileStream.cs
- InfoCardSchemas.cs
- ColorTransform.cs
- SelectionHighlightInfo.cs
- ZipPackagePart.cs
- Debugger.cs
- FocusTracker.cs
- BitmapFrame.cs
- PartitionedStream.cs
- StackBuilderSink.cs
- CopyNamespacesAction.cs
- DbParameterHelper.cs
- RegexCompilationInfo.cs
- SolidColorBrush.cs
- GestureRecognitionResult.cs
- Page.cs
- ExceptionUtil.cs
- XmlSchemaAll.cs
- CalendarDesigner.cs
- ServiceSecurityAuditBehavior.cs
- SBCSCodePageEncoding.cs
- XmlSchemaCollection.cs
- DataKey.cs