Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SqlConnectionFactory.cs
- TypeDescriptionProvider.cs
- TextBreakpoint.cs
- IndicCharClassifier.cs
- TextRangeEdit.cs
- WebPartsSection.cs
- HttpWebRequestElement.cs
- RuleSettingsCollection.cs
- GestureRecognitionResult.cs
- SqlConnectionStringBuilder.cs
- While.cs
- XpsFilter.cs
- GridViewRowPresenterBase.cs
- DetailsViewInsertEventArgs.cs
- JumpTask.cs
- RuntimeEnvironment.cs
- FilterQueryOptionExpression.cs
- BamlRecordWriter.cs
- AnnotationComponentChooser.cs
- SafeNativeMethods.cs
- ParagraphVisual.cs
- CultureSpecificCharacterBufferRange.cs
- CookieHandler.cs
- WebPartAddingEventArgs.cs
- BooleanFunctions.cs
- DockPanel.cs
- MessageSecurityOverHttpElement.cs
- SerTrace.cs
- Hash.cs
- Header.cs
- SemanticBasicElement.cs
- RegexCode.cs
- ProcessStartInfo.cs
- ProxyWebPartManagerDesigner.cs
- SqlDataSourceFilteringEventArgs.cs
- Point4DValueSerializer.cs
- Paragraph.cs
- ScrollChrome.cs
- PageTheme.cs
- EntityUtil.cs
- _OverlappedAsyncResult.cs
- DataSourceConverter.cs
- AsmxEndpointPickerExtension.cs
- SQLInt64.cs
- ControlCollection.cs
- RemoteWebConfigurationHostStream.cs
- DataGridHelper.cs
- DataSourceControlBuilder.cs
- DataTableMapping.cs
- EFDataModelProvider.cs
- TriggerCollection.cs
- CodeVariableReferenceExpression.cs
- NotConverter.cs
- XmlSchemaCompilationSettings.cs
- LocalizableResourceBuilder.cs
- FixedSOMTableRow.cs
- XmlSchemaChoice.cs
- Geometry3D.cs
- QilScopedVisitor.cs
- CustomValidator.cs
- DataGridViewButtonCell.cs
- SocketAddress.cs
- TransformDescriptor.cs
- Operators.cs
- TreeViewTemplateSelector.cs
- SqlTriggerContext.cs
- DefaultPrintController.cs
- ComponentChangedEvent.cs
- PersonalizationState.cs
- MexTcpBindingElement.cs
- PeerNearMe.cs
- UserInitiatedNavigationPermission.cs
- WebOperationContext.cs
- PermissionSetTriple.cs
- QueryAccessibilityHelpEvent.cs
- CodeCastExpression.cs
- DefaultProxySection.cs
- SrgsElementFactoryCompiler.cs
- DataIdProcessor.cs
- SqlDataSourceView.cs
- xmlglyphRunInfo.cs
- CompilerParameters.cs
- AsyncPostBackTrigger.cs
- SwitchElementsCollection.cs
- TdsParser.cs
- URLAttribute.cs
- ConnectionInterfaceCollection.cs
- HttpListenerRequest.cs
- ToolStripInSituService.cs
- AttributeExtensions.cs
- TreeBuilder.cs
- BoundPropertyEntry.cs
- ReadOnlyHierarchicalDataSource.cs
- RectAnimationClockResource.cs
- ListBoxAutomationPeer.cs
- JsonReaderDelegator.cs
- PropertyInformationCollection.cs
- AVElementHelper.cs
- PerformanceCounterManager.cs
- StaticDataManager.cs