Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- LogExtent.cs
- WinInetCache.cs
- DbLambda.cs
- RecordsAffectedEventArgs.cs
- SimpleParser.cs
- TextEditorContextMenu.cs
- ReadOnlyTernaryTree.cs
- FacetEnabledSchemaElement.cs
- HighlightOverlayGlyph.cs
- Material.cs
- RuleConditionDialog.Designer.cs
- Enlistment.cs
- XMLUtil.cs
- ControlUtil.cs
- Crc32Helper.cs
- ContentType.cs
- Helpers.cs
- EnumType.cs
- EffectiveValueEntry.cs
- StorageConditionPropertyMapping.cs
- CompatibleComparer.cs
- DrawingGroup.cs
- DocumentPageTextView.cs
- StringDictionary.cs
- GeneralTransform3DTo2DTo3D.cs
- XmlExpressionDumper.cs
- Decimal.cs
- ServiceDesigner.cs
- Int64Animation.cs
- Convert.cs
- ProviderCommandInfoUtils.cs
- XPathBinder.cs
- ToolboxItem.cs
- assertwrapper.cs
- ImageSource.cs
- XmlHierarchyData.cs
- FilterableAttribute.cs
- HeaderPanel.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- Visual3D.cs
- SBCSCodePageEncoding.cs
- _PooledStream.cs
- SpinLock.cs
- FixedPageProcessor.cs
- FlowLayoutSettings.cs
- TriggerActionCollection.cs
- TargetConverter.cs
- RegionData.cs
- MultipartContentParser.cs
- InternalConfigRoot.cs
- CodeCatchClause.cs
- AssemblyBuilderData.cs
- Lookup.cs
- XsltException.cs
- ImageAnimator.cs
- OpenTypeCommon.cs
- BitFlagsGenerator.cs
- wgx_exports.cs
- Stacktrace.cs
- WizardForm.cs
- ChangeProcessor.cs
- SQLDecimalStorage.cs
- List.cs
- ReferenceTypeElement.cs
- ComboBoxRenderer.cs
- ServiceNameElementCollection.cs
- ViewEventArgs.cs
- TypeDelegator.cs
- ResourcePart.cs
- AdCreatedEventArgs.cs
- ObjectMaterializedEventArgs.cs
- BinaryFormatterWriter.cs
- TreeChangeInfo.cs
- LogWriteRestartAreaState.cs
- IndexerNameAttribute.cs
- WebRequestModuleElementCollection.cs
- ConnectionManagementElement.cs
- WebChannelFactory.cs
- CodeDelegateInvokeExpression.cs
- LayoutSettings.cs
- PathGeometry.cs
- WebEventTraceProvider.cs
- DataGridViewCellStyleConverter.cs
- StructuredType.cs
- QueueSurrogate.cs
- LoginView.cs
- ScrollEventArgs.cs
- SqlError.cs
- FrameworkPropertyMetadata.cs
- TreeNodeEventArgs.cs
- HttpProfileGroupBase.cs
- EdmSchemaAttribute.cs
- Track.cs
- Size.cs
- WpfGeneratedKnownTypes.cs
- TextTreeTextNode.cs
- WarningException.cs
- SmtpTransport.cs
- mactripleDES.cs
- ProcessHostServerConfig.cs