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
- DesignerAutoFormatCollection.cs
- MimeReflector.cs
- IndependentAnimationStorage.cs
- OleDbParameter.cs
- BindingBase.cs
- FileDialog_Vista_Interop.cs
- EdmComplexPropertyAttribute.cs
- DynamicFilterExpression.cs
- Aggregates.cs
- ConfigurationManagerInternalFactory.cs
- XsltInput.cs
- PointConverter.cs
- ClickablePoint.cs
- BinaryKeyIdentifierClause.cs
- EditableRegion.cs
- FormatSettings.cs
- XPathBuilder.cs
- ObjectStateEntryDbDataRecord.cs
- FeatureSupport.cs
- WebServiceClientProxyGenerator.cs
- Emitter.cs
- ToolStripPanel.cs
- ApplicationDirectoryMembershipCondition.cs
- XmlSchemaDocumentation.cs
- BackgroundFormatInfo.cs
- MaterialGroup.cs
- CollectionContainer.cs
- OleCmdHelper.cs
- ServiceInstanceProvider.cs
- EntityStoreSchemaFilterEntry.cs
- MouseGesture.cs
- ToolStripGripRenderEventArgs.cs
- HttpAsyncResult.cs
- DbParameterCollectionHelper.cs
- MbpInfo.cs
- TextModifier.cs
- CurrentChangingEventManager.cs
- RuntimeWrappedException.cs
- PropertyGridEditorPart.cs
- Dispatcher.cs
- TransportContext.cs
- WebEvents.cs
- ScalarType.cs
- InputLanguageProfileNotifySink.cs
- regiisutil.cs
- X509Utils.cs
- SafeProcessHandle.cs
- CultureInfoConverter.cs
- ApplicationException.cs
- KeyToListMap.cs
- Control.cs
- ReadOnlyAttribute.cs
- recordstatescratchpad.cs
- GenericRootAutomationPeer.cs
- XmlHierarchyData.cs
- FontCacheUtil.cs
- WebPartConnectionsEventArgs.cs
- GenericWebPart.cs
- SqlWorkflowPersistenceService.cs
- x509utils.cs
- FileNotFoundException.cs
- EmptyReadOnlyDictionaryInternal.cs
- StatusStrip.cs
- BindingMemberInfo.cs
- EventPropertyMap.cs
- AssemblyAssociatedContentFileAttribute.cs
- FieldDescriptor.cs
- NameSpaceExtractor.cs
- RelatedView.cs
- RankException.cs
- XmlDataCollection.cs
- TextRangeBase.cs
- PathStreamGeometryContext.cs
- BoundPropertyEntry.cs
- DataGridViewCellFormattingEventArgs.cs
- StringDictionary.cs
- Package.cs
- UserInitiatedRoutedEventPermissionAttribute.cs
- SplitterPanelDesigner.cs
- CompModSwitches.cs
- XmlMapping.cs
- Panel.cs
- SymbolTable.cs
- MemberDomainMap.cs
- CharEntityEncoderFallback.cs
- RefreshEventArgs.cs
- InstanceOwnerQueryResult.cs
- MemoryFailPoint.cs
- View.cs
- DecoderNLS.cs
- XmlAnyElementAttributes.cs
- DeflateStream.cs
- FastPropertyAccessor.cs
- IsolatedStorageFilePermission.cs
- ListViewContainer.cs
- DataControlImageButton.cs
- WebBaseEventKeyComparer.cs
- NGCSerializationManager.cs
- ToolTip.cs
- basecomparevalidator.cs