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
- SID.cs
- ValueExpressions.cs
- Model3DGroup.cs
- IgnoreFlushAndCloseStream.cs
- DefaultPropertyAttribute.cs
- DataBindEngine.cs
- FixedSOMPageElement.cs
- _KerberosClient.cs
- XmlHierarchicalEnumerable.cs
- CompilerParameters.cs
- ImagingCache.cs
- HeaderedContentControl.cs
- SqlWriter.cs
- PersonalizationEntry.cs
- CodeAttachEventStatement.cs
- ActivityExecutorOperation.cs
- MarkupCompiler.cs
- BackgroundFormatInfo.cs
- ArgumentOutOfRangeException.cs
- TextFormatterImp.cs
- HiddenField.cs
- ProjectionPathBuilder.cs
- MetadataItemEmitter.cs
- sqlstateclientmanager.cs
- SmtpNegotiateAuthenticationModule.cs
- CompilerResults.cs
- xmlformatgeneratorstatics.cs
- OlePropertyStructs.cs
- StylusButtonEventArgs.cs
- TextRunCacheImp.cs
- DayRenderEvent.cs
- unsafenativemethodstextservices.cs
- StateFinalizationDesigner.cs
- SqlDataSourceFilteringEventArgs.cs
- WebPart.cs
- ITreeGenerator.cs
- ParagraphVisual.cs
- EnumConverter.cs
- XmlDataImplementation.cs
- ClientFormsIdentity.cs
- CellIdBoolean.cs
- JulianCalendar.cs
- TransformProviderWrapper.cs
- XmlCodeExporter.cs
- SafeSecurityHelper.cs
- _ChunkParse.cs
- BulletDecorator.cs
- DriveInfo.cs
- XmlArrayItemAttribute.cs
- AQNBuilder.cs
- EntitySetDataBindingList.cs
- MimePart.cs
- localization.cs
- DependencyObjectProvider.cs
- Executor.cs
- _SslSessionsCache.cs
- OdbcCommand.cs
- EdmProperty.cs
- ComponentFactoryHelpers.cs
- HttpUnhandledOperationInvoker.cs
- ReachSerializerAsync.cs
- BaseInfoTable.cs
- OperationCanceledException.cs
- Int32Animation.cs
- PropertyGrid.cs
- DynamicResourceExtension.cs
- XmlUrlResolver.cs
- StreamWriter.cs
- ADMembershipUser.cs
- IUnknownConstantAttribute.cs
- IntSecurity.cs
- Mapping.cs
- XmlSchema.cs
- GridSplitterAutomationPeer.cs
- PropertyMappingExceptionEventArgs.cs
- AsyncPostBackTrigger.cs
- HttpResponseWrapper.cs
- SByte.cs
- HtmlInputRadioButton.cs
- ContentPlaceHolder.cs
- WindowsScrollBar.cs
- MatrixUtil.cs
- SignatureToken.cs
- MenuDesigner.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- SemanticBasicElement.cs
- HyperLink.cs
- DataListItem.cs
- DataKey.cs
- ObjectViewEntityCollectionData.cs
- CustomErrorsSection.cs
- shaperfactoryquerycachekey.cs
- ComponentCommands.cs
- SqlException.cs
- ResourceSet.cs
- ConfigurationElementProperty.cs
- WebPartManager.cs
- NotifyIcon.cs
- HttpListenerContext.cs
- ReadOnlyObservableCollection.cs