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
- RadioButtonList.cs
- RowBinding.cs
- Site.cs
- SerializationObjectManager.cs
- IgnoreFileBuildProvider.cs
- TableRowCollection.cs
- DataSvcMapFileSerializer.cs
- PerspectiveCamera.cs
- XmlQualifiedName.cs
- DropSource.cs
- Mapping.cs
- PermissionListSet.cs
- ProcessHost.cs
- RequestDescription.cs
- SchemaEntity.cs
- XmlILStorageConverter.cs
- UnionCodeGroup.cs
- ListControl.cs
- SchemaMapping.cs
- JsonWriterDelegator.cs
- DynamicMetaObject.cs
- UriTemplateClientFormatter.cs
- nulltextcontainer.cs
- PageFunction.cs
- PropertyGridEditorPart.cs
- TokenBasedSet.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- DoubleAnimation.cs
- BitmapMetadataEnumerator.cs
- RNGCryptoServiceProvider.cs
- SemanticBasicElement.cs
- GlyphManager.cs
- WriteLine.cs
- ReadWriteObjectLock.cs
- ConstraintManager.cs
- DataServiceStreamResponse.cs
- ComboBoxRenderer.cs
- GridViewEditEventArgs.cs
- TimeoutTimer.cs
- ConfigsHelper.cs
- GifBitmapEncoder.cs
- HScrollProperties.cs
- WebPartConnectionsDisconnectVerb.cs
- SqlConnectionStringBuilder.cs
- DataGridCellItemAutomationPeer.cs
- StateBag.cs
- MemberAssignmentAnalysis.cs
- CompModSwitches.cs
- LogExtent.cs
- TextEditorThreadLocalStore.cs
- CultureInfoConverter.cs
- VisualState.cs
- WorkflowRuntimeBehavior.cs
- MultipleViewProviderWrapper.cs
- DataGridViewSelectedColumnCollection.cs
- GridViewRowCollection.cs
- DataFormats.cs
- TabControl.cs
- IndexingContentUnit.cs
- ButtonBase.cs
- processwaithandle.cs
- RegexGroup.cs
- UserNameSecurityTokenAuthenticator.cs
- PlanCompiler.cs
- BitmapEffectState.cs
- SocketPermission.cs
- XPathDocumentBuilder.cs
- HttpPostedFile.cs
- AppliesToBehaviorDecisionTable.cs
- DiscoveryEndpointValidator.cs
- PeerHelpers.cs
- Marshal.cs
- ToolZone.cs
- XmlChoiceIdentifierAttribute.cs
- BehaviorEditorPart.cs
- AndCondition.cs
- PropertyValueUIItem.cs
- OracleRowUpdatingEventArgs.cs
- VirtualPathExtension.cs
- MetadataItemCollectionFactory.cs
- ColorBuilder.cs
- ArrayMergeHelper.cs
- NameValueCollection.cs
- WebAdminConfigurationHelper.cs
- AppDomainFactory.cs
- PenContexts.cs
- MdImport.cs
- HtmlLink.cs
- QueryExpr.cs
- WorkflowMessageEventHandler.cs
- FunctionImportElement.cs
- SqlDataReaderSmi.cs
- WaitHandle.cs
- RoutedEventArgs.cs
- HwndSourceParameters.cs
- ValuePattern.cs
- ColumnWidthChangingEvent.cs
- DataControlFieldCell.cs
- SchemaAttDef.cs
- DbConnectionPoolGroupProviderInfo.cs