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
- UserControlParser.cs
- _HTTPDateParse.cs
- ScrollableControl.cs
- XamlSerializationHelper.cs
- PropertyMetadata.cs
- ScriptReference.cs
- TransformedBitmap.cs
- Membership.cs
- XmlFileEditor.cs
- UpdateManifestForBrowserApplication.cs
- LogSwitch.cs
- SecurityKeyType.cs
- LicenseContext.cs
- SubpageParagraph.cs
- MessageBuilder.cs
- ResourcePermissionBase.cs
- TabOrder.cs
- Lease.cs
- PeerChannelFactory.cs
- GenerateHelper.cs
- Win32NamedPipes.cs
- DescendentsWalkerBase.cs
- ReadOnlyDictionary.cs
- StreamGeometryContext.cs
- StateChangeEvent.cs
- ContainerSelectorGlyph.cs
- SqlVersion.cs
- MetadataItem_Static.cs
- ByteAnimationBase.cs
- MiniConstructorInfo.cs
- TabletDeviceInfo.cs
- WindowsProgressbar.cs
- SineEase.cs
- OwnerDrawPropertyBag.cs
- IfJoinedCondition.cs
- AlternateViewCollection.cs
- Nullable.cs
- DataGridViewColumnStateChangedEventArgs.cs
- SystemInfo.cs
- DefaultParameterValueAttribute.cs
- ElementUtil.cs
- AsymmetricKeyExchangeDeformatter.cs
- _IPv4Address.cs
- BmpBitmapEncoder.cs
- XmlDocumentSerializer.cs
- SafeReversePInvokeHandle.cs
- TemplateParser.cs
- CancelEventArgs.cs
- EventListener.cs
- DataGridViewTextBoxEditingControl.cs
- ReferencedAssembly.cs
- RequestResizeEvent.cs
- ConstraintConverter.cs
- UsernameTokenFactoryCredential.cs
- EnumMember.cs
- PlatformCulture.cs
- ParserContext.cs
- TypedElement.cs
- MergeFilterQuery.cs
- MemberDomainMap.cs
- ColorInterpolationModeValidation.cs
- SHA256Managed.cs
- UnmanagedMemoryStreamWrapper.cs
- TextBounds.cs
- RectAnimationClockResource.cs
- AssociationTypeEmitter.cs
- MenuAdapter.cs
- GACIdentityPermission.cs
- EntityDataSourceColumn.cs
- ContractHandle.cs
- GlobalizationAssembly.cs
- XmlMessageFormatter.cs
- EnumBuilder.cs
- NullToBooleanConverter.cs
- GroupItemAutomationPeer.cs
- CheckStoreFileValidityRequest.cs
- TimeSpanMinutesConverter.cs
- ResourceDescriptionAttribute.cs
- AxisAngleRotation3D.cs
- DocumentXPathNavigator.cs
- DBPropSet.cs
- IntegerValidatorAttribute.cs
- ConfigurationElement.cs
- FollowerQueueCreator.cs
- SimpleParser.cs
- RemoteWebConfigurationHost.cs
- ArithmeticException.cs
- DeferredElementTreeState.cs
- CollectionContainer.cs
- Tablet.cs
- QuadTree.cs
- HtmlElementCollection.cs
- SetterBaseCollection.cs
- XhtmlTextWriter.cs
- SqlDataSourceConfigureSortForm.cs
- DisplayInformation.cs
- AccessText.cs
- ListSortDescription.cs
- InternalPolicyElement.cs
- TableAdapterManagerNameHandler.cs