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
- DataControlCommands.cs
- GenericTypeParameterBuilder.cs
- CrossSiteScriptingValidation.cs
- ResXResourceSet.cs
- System.Data_BID.cs
- XamlReaderHelper.cs
- WsdlExporter.cs
- XXXOnTypeBuilderInstantiation.cs
- MenuAutomationPeer.cs
- ListViewTableCell.cs
- SoapMessage.cs
- XmlToDatasetMap.cs
- HyperLinkStyle.cs
- TemplatePartAttribute.cs
- HttpsTransportElement.cs
- ServiceXNameTypeConverter.cs
- SecurityCookieModeValidator.cs
- ItemDragEvent.cs
- PenThreadPool.cs
- Block.cs
- SQLCharsStorage.cs
- ResolveDuplex11AsyncResult.cs
- SizeF.cs
- PartialCachingAttribute.cs
- _OverlappedAsyncResult.cs
- DbParameterCollectionHelper.cs
- ComponentFactoryHelpers.cs
- ClientRuntimeConfig.cs
- BaseAppDomainProtocolHandler.cs
- _IPv6Address.cs
- ConfigXmlWhitespace.cs
- MainMenu.cs
- LocatorBase.cs
- CodeEntryPointMethod.cs
- XmlSecureResolver.cs
- RotateTransform.cs
- VectorCollectionValueSerializer.cs
- ObjectViewFactory.cs
- PageThemeCodeDomTreeGenerator.cs
- ActivityMarkupSerializationProvider.cs
- MenuRendererStandards.cs
- KoreanLunisolarCalendar.cs
- ToolStripOverflow.cs
- MyContact.cs
- RunWorkerCompletedEventArgs.cs
- SmtpNegotiateAuthenticationModule.cs
- ObjectStorage.cs
- DebugHandleTracker.cs
- ADMembershipUser.cs
- ClaimTypes.cs
- PngBitmapDecoder.cs
- DataRowChangeEvent.cs
- DoWorkEventArgs.cs
- TraceListener.cs
- Animatable.cs
- AccessibleObject.cs
- PageAsyncTask.cs
- SetterTriggerConditionValueConverter.cs
- TableLayout.cs
- SHA384.cs
- ProtocolsConfiguration.cs
- SwitchLevelAttribute.cs
- StylusPointPropertyId.cs
- SamlEvidence.cs
- SocketStream.cs
- RegistrySecurity.cs
- SByteStorage.cs
- Point3DAnimation.cs
- DataServiceResponse.cs
- embossbitmapeffect.cs
- ArrangedElementCollection.cs
- CustomError.cs
- Matrix3DConverter.cs
- XmlSchemaDocumentation.cs
- ParsedAttributeCollection.cs
- OleDbPermission.cs
- ZeroOpNode.cs
- Guid.cs
- IFlowDocumentViewer.cs
- SapiRecognizer.cs
- Stack.cs
- SrgsSubset.cs
- Repeater.cs
- TagMapCollection.cs
- ColumnWidthChangingEvent.cs
- RectAnimationClockResource.cs
- StreamInfo.cs
- ResourceContainer.cs
- DecimalSumAggregationOperator.cs
- NamespaceDecl.cs
- ConnectionPointCookie.cs
- DbDataRecord.cs
- PointCollection.cs
- LeaseManager.cs
- QuaternionKeyFrameCollection.cs
- UInt32Converter.cs
- PageCatalogPart.cs
- MediaTimeline.cs
- PostBackOptions.cs
- ToolStripDropDownItem.cs