Code:
/ 4.0 / 4.0 / 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. //---------------------------------------------------------------------- //// 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
- MobileControlsSection.cs
- SerTrace.cs
- EventManager.cs
- NavigateEvent.cs
- ListDependantCardsRequest.cs
- ExtensionSimplifierMarkupObject.cs
- SwitchElementsCollection.cs
- WpfPayload.cs
- AttributeEmitter.cs
- ImportCatalogPart.cs
- _IPv6Address.cs
- relpropertyhelper.cs
- COM2PictureConverter.cs
- TypeDefinition.cs
- ListViewInsertEventArgs.cs
- CheckedPointers.cs
- AuthStoreRoleProvider.cs
- Logging.cs
- SpotLight.cs
- ObservableCollectionDefaultValueFactory.cs
- DataStreamFromComStream.cs
- StreamResourceInfo.cs
- BindingUtils.cs
- MenuItemBinding.cs
- oledbconnectionstring.cs
- XmlnsDictionary.cs
- RectangleF.cs
- _LocalDataStoreMgr.cs
- EncryptedType.cs
- TextPenaltyModule.cs
- InvokeMethodActivityDesigner.cs
- WebControl.cs
- DocumentViewerAutomationPeer.cs
- Quack.cs
- RowsCopiedEventArgs.cs
- Expression.cs
- EdmItemCollection.cs
- ViewManagerAttribute.cs
- sitestring.cs
- XmlSchemaSimpleType.cs
- SynchronizationLockException.cs
- SelectionItemPattern.cs
- MaskedTextBoxDesignerActionList.cs
- StylusDevice.cs
- BuiltInExpr.cs
- RangeContentEnumerator.cs
- CreateUserWizard.cs
- DataComponentGenerator.cs
- CompilationPass2TaskInternal.cs
- EndSelectCardRequest.cs
- ToolStripProgressBar.cs
- PlaceHolder.cs
- ModuleBuilder.cs
- Effect.cs
- EventLogPermissionEntry.cs
- ThemeInfoAttribute.cs
- EntityDataSourceState.cs
- VisualTransition.cs
- ByteRangeDownloader.cs
- EnumerableRowCollection.cs
- WmlFormAdapter.cs
- XmlUtf8RawTextWriter.cs
- WinFormsComponentEditor.cs
- _IPv6Address.cs
- _TransmitFileOverlappedAsyncResult.cs
- SendKeys.cs
- CollectionTypeElement.cs
- SamlSerializer.cs
- JumpList.cs
- StackSpiller.Generated.cs
- SafeLibraryHandle.cs
- MenuCommands.cs
- SafeNativeMethodsMilCoreApi.cs
- SchemaComplexType.cs
- FontDifferentiator.cs
- AsymmetricSignatureDeformatter.cs
- XmlIncludeAttribute.cs
- CacheRequest.cs
- XslNumber.cs
- ColumnReorderedEventArgs.cs
- ResourceLoader.cs
- EmptyCollection.cs
- FontFamilyConverter.cs
- RemotingException.cs
- SchemaImporterExtensionElement.cs
- Flowchart.cs
- UnknownWrapper.cs
- SegmentInfo.cs
- ProcessThreadDesigner.cs
- Panel.cs
- ToolBar.cs
- ElementFactory.cs
- EditCommandColumn.cs
- CodeTypeDelegate.cs
- XmlDataSource.cs
- SafeHandle.cs
- LinkUtilities.cs
- PropertyTabAttribute.cs
- EmptyElement.cs
- CodeRegionDirective.cs