Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataWeb / Server / System / Data / Services / Providers / OrderingExpression.cs / 1407647 / OrderingExpression.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // //// Describes a single ordering expression with sort order for // $expands for a WCF Data Service. // // // @owner [....] //--------------------------------------------------------------------- namespace System.Data.Services.Providers { #region Namespaces using System.Linq.Expressions; #endregion ////// Describes a single ordering expression along with sort order /// internal sealed class OrderingExpression { ///Ordering expression private readonly Expression orderingExpression; ///Order is ascending or descending private readonly bool isAscending; ////// Constructor /// /// Expression for ordering /// Order by ascending or descending public OrderingExpression(Expression orderingExpression, bool isAscending) { this.orderingExpression = orderingExpression; this.isAscending = isAscending; } ///Ordering expression public Expression Expression { get { return this.orderingExpression; } } ///Ascending or descending public bool IsAscending { get { return this.isAscending; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // //// Describes a single ordering expression with sort order for // $expands for a WCF Data Service. // // // @owner [....] //--------------------------------------------------------------------- namespace System.Data.Services.Providers { #region Namespaces using System.Linq.Expressions; #endregion ////// Describes a single ordering expression along with sort order /// internal sealed class OrderingExpression { ///Ordering expression private readonly Expression orderingExpression; ///Order is ascending or descending private readonly bool isAscending; ////// Constructor /// /// Expression for ordering /// Order by ascending or descending public OrderingExpression(Expression orderingExpression, bool isAscending) { this.orderingExpression = orderingExpression; this.isAscending = isAscending; } ///Ordering expression public Expression Expression { get { return this.orderingExpression; } } ///Ascending or descending public bool IsAscending { get { return this.isAscending; } } } } // 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
- PointUtil.cs
- EmptyStringExpandableObjectConverter.cs
- XmlObjectSerializerContext.cs
- StateManagedCollection.cs
- ValidationHelper.cs
- ImportCatalogPart.cs
- GetPageNumberCompletedEventArgs.cs
- TimerExtension.cs
- CqlLexer.cs
- IntegrationExceptionEventArgs.cs
- JavaScriptSerializer.cs
- DbLambda.cs
- WindowsPrincipal.cs
- JsonMessageEncoderFactory.cs
- DrawingAttributes.cs
- ProfilePropertySettings.cs
- SystemUdpStatistics.cs
- PersonalizableTypeEntry.cs
- RangeValueProviderWrapper.cs
- ToolBarButtonClickEvent.cs
- SimpleExpression.cs
- TransactionsSectionGroup.cs
- ObjectReaderCompiler.cs
- cookie.cs
- DataGridCellItemAutomationPeer.cs
- ApplicationSettingsBase.cs
- CngProperty.cs
- MemberJoinTreeNode.cs
- OdbcParameter.cs
- SqlTopReducer.cs
- RefreshPropertiesAttribute.cs
- MD5CryptoServiceProvider.cs
- TabPage.cs
- CodeIndexerExpression.cs
- ToolStripItemCollection.cs
- RC2CryptoServiceProvider.cs
- MostlySingletonList.cs
- XmlChoiceIdentifierAttribute.cs
- XmlAttributeAttribute.cs
- HttpRequest.cs
- ErrorHandler.cs
- DataKey.cs
- SafeBitVector32.cs
- PointCollectionConverter.cs
- BrowserTree.cs
- UserNamePasswordClientCredential.cs
- VisualBasic.cs
- ComboBoxRenderer.cs
- COM2IDispatchConverter.cs
- ApplicationFileCodeDomTreeGenerator.cs
- IpcPort.cs
- XmlSerializableWriter.cs
- TTSVoice.cs
- CodeCompiler.cs
- XslVisitor.cs
- ServiceProviders.cs
- DataControlField.cs
- GrowingArray.cs
- PlacementWorkspace.cs
- _LocalDataStore.cs
- NumberFormatInfo.cs
- _AcceptOverlappedAsyncResult.cs
- CodeParameterDeclarationExpression.cs
- RectangleGeometry.cs
- FamilyTypefaceCollection.cs
- BamlResourceDeserializer.cs
- StylusCaptureWithinProperty.cs
- MenuEventArgs.cs
- ConditionedDesigner.cs
- ControlDesigner.cs
- ScriptManager.cs
- Cursor.cs
- ISessionStateStore.cs
- BitmapMetadata.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- CompilerGeneratedAttribute.cs
- WebPartConnectionsCloseVerb.cs
- QilChoice.cs
- InputElement.cs
- TemplatedWizardStep.cs
- SocketInformation.cs
- GridViewColumnHeader.cs
- AxisAngleRotation3D.cs
- JoinGraph.cs
- IDReferencePropertyAttribute.cs
- StylusLogic.cs
- EdmFunctionAttribute.cs
- UniqueConstraint.cs
- LastQueryOperator.cs
- MultiTargetingUtil.cs
- HotSpotCollection.cs
- DefaultAutoFieldGenerator.cs
- versioninfo.cs
- XmlEventCache.cs
- CompensationHandlingFilter.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- HttpWriter.cs
- DataBindingList.cs
- TextRunProperties.cs
- TypedReference.cs