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
- TableLayoutPanelCellPosition.cs
- SplitterEvent.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- DescendantQuery.cs
- HtmlFormAdapter.cs
- ThemeableAttribute.cs
- CryptoKeySecurity.cs
- ImmComposition.cs
- DataSourceCache.cs
- BitmapCacheBrush.cs
- SHA512Managed.cs
- XmlNodeWriter.cs
- EmptyQuery.cs
- ObjectConverter.cs
- ContainerTracking.cs
- PropertyValueUIItem.cs
- XmlReflectionMember.cs
- Exceptions.cs
- XmlMtomReader.cs
- Tokenizer.cs
- Scene3D.cs
- nulltextcontainer.cs
- RouteParameter.cs
- FaultHandlingFilter.cs
- TypeBuilder.cs
- ListViewTableRow.cs
- ColumnHeaderConverter.cs
- WebPartEditorOkVerb.cs
- EventHandlersStore.cs
- Vector3DConverter.cs
- StructuredTypeEmitter.cs
- ConstructorArgumentAttribute.cs
- ObjectConverter.cs
- TransformValueSerializer.cs
- ArcSegment.cs
- CompositeScriptReference.cs
- Image.cs
- ParseChildrenAsPropertiesAttribute.cs
- Accessible.cs
- SamlSecurityToken.cs
- TableHeaderCell.cs
- BmpBitmapDecoder.cs
- Transform3DGroup.cs
- LockedAssemblyCache.cs
- MarkupCompiler.cs
- Helpers.cs
- RequestCacheEntry.cs
- StateItem.cs
- OperationResponse.cs
- CompilerCollection.cs
- Journaling.cs
- Calendar.cs
- TimelineCollection.cs
- MouseGesture.cs
- CollectionDataContract.cs
- BamlTreeMap.cs
- ErrorFormatterPage.cs
- PasswordTextNavigator.cs
- Encoding.cs
- DiscoveryInnerClientAdhocCD1.cs
- OperationDescription.cs
- ServiceRoute.cs
- IPipelineRuntime.cs
- XPathDocumentBuilder.cs
- UnknownBitmapDecoder.cs
- RegexCharClass.cs
- LoadRetryConstantStrategy.cs
- ObjectSet.cs
- RequestStatusBarUpdateEventArgs.cs
- ClientScriptManager.cs
- VirtualPathUtility.cs
- CssStyleCollection.cs
- OrderedDictionary.cs
- SecurityKeyIdentifierClause.cs
- TcpChannelListener.cs
- WebBrowserNavigatingEventHandler.cs
- ConfigXmlComment.cs
- AssociationSet.cs
- CodeSnippetCompileUnit.cs
- StateRuntime.cs
- RawAppCommandInputReport.cs
- BrowserCapabilitiesCompiler.cs
- PersonalizationAdministration.cs
- AutomationFocusChangedEventArgs.cs
- WebPartCatalogAddVerb.cs
- Keyboard.cs
- HttpPostProtocolImporter.cs
- UserInitiatedNavigationPermission.cs
- XmlChildEnumerator.cs
- DeviceContext2.cs
- Utils.cs
- RefreshResponseInfo.cs
- ListItemViewControl.cs
- safex509handles.cs
- WindowInteractionStateTracker.cs
- Rect.cs
- Comparer.cs
- Int32EqualityComparer.cs
- httpapplicationstate.cs
- HostVisual.cs