Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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. //------------------------------------------------------------------------------ //// 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- sitestring.cs
- SequentialOutput.cs
- AuditLog.cs
- ScrollableControl.cs
- ConfigXmlAttribute.cs
- DuplexClientBase.cs
- OleDbException.cs
- PreviewPageInfo.cs
- ArrayWithOffset.cs
- FontUnit.cs
- ThreadExceptionEvent.cs
- RsaSecurityKey.cs
- AmbientValueAttribute.cs
- ControlLocalizer.cs
- ExpressionNormalizer.cs
- AsyncResult.cs
- TogglePattern.cs
- DispatchWrapper.cs
- ReferenceConverter.cs
- PolicyDesigner.cs
- SymbolMethod.cs
- RepeatBehaviorConverter.cs
- InternalBufferOverflowException.cs
- FormDocumentDesigner.cs
- MarkerProperties.cs
- DispatcherHooks.cs
- BufferedStream.cs
- ValidatingPropertiesEventArgs.cs
- PartialCachingAttribute.cs
- GridViewRow.cs
- SerializationFieldInfo.cs
- PagedControl.cs
- UpdateEventArgs.cs
- WindowsToolbar.cs
- AddIn.cs
- CryptoProvider.cs
- WsdlImporterElement.cs
- ConfigurationCollectionAttribute.cs
- PlatformCulture.cs
- RankException.cs
- WinFormsSpinner.cs
- DispatchChannelSink.cs
- AppDomainProtocolHandler.cs
- SmtpSection.cs
- ContextMenuStripGroup.cs
- COM2PictureConverter.cs
- InternalMappingException.cs
- InvalidAsynchronousStateException.cs
- StorageTypeMapping.cs
- CodeIndexerExpression.cs
- StrongNameIdentityPermission.cs
- Logging.cs
- TabRenderer.cs
- Decoder.cs
- SafeArrayRankMismatchException.cs
- Geometry3D.cs
- ToolStripOverflow.cs
- SqlBulkCopy.cs
- QueueProcessor.cs
- JulianCalendar.cs
- PatternMatchRules.cs
- Range.cs
- HandlerWithFactory.cs
- MatrixAnimationUsingPath.cs
- SoapAttributeOverrides.cs
- BaseCAMarshaler.cs
- Transform3DGroup.cs
- RepeatButton.cs
- ItemContainerProviderWrapper.cs
- Symbol.cs
- BindingBase.cs
- KeyEvent.cs
- ConstraintManager.cs
- SerializationFieldInfo.cs
- MaterialGroup.cs
- SettingsAttributes.cs
- UInt64Converter.cs
- RawStylusInputReport.cs
- CellRelation.cs
- RowVisual.cs
- IssuedTokenServiceElement.cs
- TransformedBitmap.cs
- MemberJoinTreeNode.cs
- ZipPackage.cs
- StrongNamePublicKeyBlob.cs
- SHA1Managed.cs
- EnumValAlphaComparer.cs
- WindowsRichEdit.cs
- InstanceKeyCollisionException.cs
- OleDbTransaction.cs
- XslVisitor.cs
- TextBoxBase.cs
- Compiler.cs
- propertytag.cs
- BitmapEffectInput.cs
- SqlDataSourceConfigureSortForm.cs
- NetSectionGroup.cs
- GradientBrush.cs
- ISAPIRuntime.cs
- FixedSchema.cs