Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataWeb / Server / System / Data / Services / Providers / OrderingInfo.cs / 1407647 / OrderingInfo.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // //// Describes ordering information for each expanded entity set // for $expands request for a WCF Data Service. // // // @owner [....] //--------------------------------------------------------------------- namespace System.Data.Services.Providers { #region Namespaces using System.Collections.Generic; using System.Collections.ObjectModel; #endregion ////// Describes ordering information for each entity set /// for $expand request for a WCF Data Service. /// internal sealed class OrderingInfo { ///Is the expanded entity set paged private readonly bool paged; ///Collection of ordering expressions private readonly ListorderingExpressions; /// Constructor /// Whether top level entity set is paged internal OrderingInfo(bool paged) { this.paged = paged; this.orderingExpressions = new List(); } /// Is the expaded entity set paged public bool IsPaged { get { return this.paged; } } ///Gives the collection of ordering expressions for a request public ReadOnlyCollectionOrderingExpressions { get { return this.orderingExpressions.AsReadOnly(); } } /// Adds a single OrderingExpression to the collection /// Ordering expression to add internal void Add(OrderingExpression orderingExpression) { this.orderingExpressions.Add(orderingExpression); } } } // 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
- hwndwrapper.cs
- CompositionAdorner.cs
- ManagementObjectCollection.cs
- SoapFormatter.cs
- TextDecoration.cs
- UntypedNullExpression.cs
- AlignmentXValidation.cs
- TextDecorations.cs
- CommandBinding.cs
- QueryableDataSourceHelper.cs
- ResolveMatchesCD1.cs
- SqlCacheDependency.cs
- TextProviderWrapper.cs
- DataBoundControlActionList.cs
- _IPv4Address.cs
- RepeaterItemCollection.cs
- Logging.cs
- FileReservationCollection.cs
- CharUnicodeInfo.cs
- validation.cs
- MailWebEventProvider.cs
- RouteValueExpressionBuilder.cs
- SQLDateTimeStorage.cs
- TypeBuilder.cs
- ClientFormsIdentity.cs
- SplitterCancelEvent.cs
- DataGridViewLinkColumn.cs
- Types.cs
- followingquery.cs
- SevenBitStream.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- FileClassifier.cs
- ByteAnimation.cs
- XPathScanner.cs
- TextSelectionProcessor.cs
- AbstractExpressions.cs
- HandlerWithFactory.cs
- PointConverter.cs
- SafeThemeHandle.cs
- GeneralTransformCollection.cs
- NativeRightsManagementAPIsStructures.cs
- IsolatedStorageFilePermission.cs
- TypeConverterAttribute.cs
- FixedSOMTextRun.cs
- PictureBox.cs
- DocumentApplication.cs
- NominalTypeEliminator.cs
- TCPClient.cs
- ISessionStateStore.cs
- Scene3D.cs
- XmlSchemaImporter.cs
- WhitespaceRuleReader.cs
- DataGridViewDataConnection.cs
- BaseUriHelper.cs
- SqlClientPermission.cs
- DBNull.cs
- SqlClientMetaDataCollectionNames.cs
- OutputCacheProfileCollection.cs
- FrugalList.cs
- HostingEnvironment.cs
- ClusterUtils.cs
- Context.cs
- util.cs
- FragmentQuery.cs
- MonthCalendar.cs
- EditorPart.cs
- AdapterUtil.cs
- ProcessHostServerConfig.cs
- WorkflowQueuingService.cs
- Menu.cs
- SecurityIdentifierElementCollection.cs
- Registry.cs
- InternalControlCollection.cs
- FilterElement.cs
- EventBindingService.cs
- TextProviderWrapper.cs
- DocumentOrderQuery.cs
- PhysicalAddress.cs
- OleDbFactory.cs
- ReadingWritingEntityEventArgs.cs
- FileClassifier.cs
- EasingKeyFrames.cs
- InkCollectionBehavior.cs
- FontNamesConverter.cs
- HttpHandlerAction.cs
- ToolStripSeparator.cs
- XPathBinder.cs
- ProcessThreadCollection.cs
- SystemWebSectionGroup.cs
- PopupEventArgs.cs
- HandlerBase.cs
- FtpCachePolicyElement.cs
- RadialGradientBrush.cs
- GB18030Encoding.cs
- UpdatePanelTrigger.cs
- CounterNameConverter.cs
- ThreadStartException.cs
- SharedDp.cs
- PerformanceCounter.cs
- SelectionPatternIdentifiers.cs