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
- CodeMethodInvokeExpression.cs
- SoapMessage.cs
- CommonRemoteMemoryBlock.cs
- ItemsPresenter.cs
- ProcessInfo.cs
- DataTableExtensions.cs
- DataGridColumnCollection.cs
- DeclaredTypeValidator.cs
- ExpressionBindingsDialog.cs
- ObjRef.cs
- XmlSchemaCollection.cs
- ProgressChangedEventArgs.cs
- BaseValidatorDesigner.cs
- BaseCollection.cs
- ListChangedEventArgs.cs
- OneWayElement.cs
- indexingfiltermarshaler.cs
- mediaeventshelper.cs
- MergeFailedEvent.cs
- Vector3DAnimationUsingKeyFrames.cs
- FilterableData.cs
- TextTreeNode.cs
- ApplicationDirectory.cs
- InheritedPropertyDescriptor.cs
- BindingListCollectionView.cs
- ReadOnlyCollection.cs
- ToolStripRenderEventArgs.cs
- DbException.cs
- LayoutEngine.cs
- WebPartCatalogAddVerb.cs
- FragmentNavigationEventArgs.cs
- GridViewColumnCollectionChangedEventArgs.cs
- ConfigurationPropertyCollection.cs
- Matrix3DStack.cs
- TickBar.cs
- PropagatorResult.cs
- XmlDataSourceNodeDescriptor.cs
- DataControlFieldCollection.cs
- MessageQueueCriteria.cs
- ICollection.cs
- CmsUtils.cs
- CodeDirectiveCollection.cs
- View.cs
- BinaryFormatter.cs
- FormsAuthenticationUserCollection.cs
- SqlClientFactory.cs
- AdCreatedEventArgs.cs
- Buffer.cs
- GcHandle.cs
- DataSourceXmlAttributeAttribute.cs
- XmlSortKeyAccumulator.cs
- ActivityExecutorOperation.cs
- TextElementAutomationPeer.cs
- DateTimeUtil.cs
- OutKeywords.cs
- GraphicsState.cs
- StaticContext.cs
- AttachedPropertyMethodSelector.cs
- RootProfilePropertySettingsCollection.cs
- FileSecurity.cs
- EdmError.cs
- DataGridViewToolTip.cs
- VirtualPathUtility.cs
- ViewManager.cs
- CriticalFinalizerObject.cs
- TextUtf8RawTextWriter.cs
- TransformerTypeCollection.cs
- ApplicationTrust.cs
- FrameDimension.cs
- PackagePartCollection.cs
- RoutedPropertyChangedEventArgs.cs
- TransactionFlowOption.cs
- StandardCommandToolStripMenuItem.cs
- ListenerSessionConnection.cs
- EventsTab.cs
- HtmlGenericControl.cs
- PixelFormatConverter.cs
- EnvelopedSignatureTransform.cs
- RowUpdatingEventArgs.cs
- ElementProxy.cs
- XmlRawWriter.cs
- ConfigPathUtility.cs
- OrderByExpression.cs
- MarkerProperties.cs
- XsltQilFactory.cs
- DbProviderFactories.cs
- AttributeEmitter.cs
- MultipartContentParser.cs
- DuplicateDetector.cs
- UpDownBase.cs
- EncryptedType.cs
- Triplet.cs
- PackagePartCollection.cs
- DataGridViewAccessibleObject.cs
- ToolStrip.cs
- coordinatorscratchpad.cs
- SQLMoneyStorage.cs
- EventData.cs
- RoutedPropertyChangedEventArgs.cs
- ProxyGenerator.cs