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
- TemplateBindingExpressionConverter.cs
- PolyQuadraticBezierSegment.cs
- MouseActionValueSerializer.cs
- HandlerBase.cs
- ApplicationGesture.cs
- StatusBar.cs
- ObjectViewQueryResultData.cs
- WebPartManagerInternals.cs
- ColorTransformHelper.cs
- COM2ICategorizePropertiesHandler.cs
- CheckBoxRenderer.cs
- ContourSegment.cs
- DataObjectPastingEventArgs.cs
- XmlTextReader.cs
- IncrementalReadDecoders.cs
- UrlAuthFailedErrorFormatter.cs
- WebBrowserPermission.cs
- BitmapDownload.cs
- DataControlFieldHeaderCell.cs
- DependentList.cs
- ZipFileInfoCollection.cs
- ListViewCancelEventArgs.cs
- StreamGeometry.cs
- PropertyGridEditorPart.cs
- HyperLinkColumn.cs
- Viewport2DVisual3D.cs
- ContextStaticAttribute.cs
- FolderBrowserDialogDesigner.cs
- CountdownEvent.cs
- UrlParameterReader.cs
- ConnectionsZone.cs
- HealthMonitoringSectionHelper.cs
- EpmContentSerializer.cs
- OutputCacheSettings.cs
- HttpModulesSection.cs
- ComboBoxHelper.cs
- SettingsSection.cs
- ManualResetEvent.cs
- MessageDecoder.cs
- AssemblyInfo.cs
- Cursors.cs
- StringDictionary.cs
- EntitySqlQueryState.cs
- DocumentApplicationDocumentViewer.cs
- TypedRowGenerator.cs
- UrlMappingsModule.cs
- ToolTipService.cs
- FindCriteriaCD1.cs
- VirtualizingStackPanel.cs
- FormsAuthentication.cs
- InstanceData.cs
- ConfigurationValidatorAttribute.cs
- CodeArgumentReferenceExpression.cs
- AccessibleObject.cs
- Int16Storage.cs
- XomlCompilerError.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- RichTextBoxConstants.cs
- followingsibling.cs
- AppDomainFactory.cs
- cache.cs
- TabControlEvent.cs
- Converter.cs
- altserialization.cs
- SchemaTypeEmitter.cs
- XmlILIndex.cs
- DataStreams.cs
- RijndaelManaged.cs
- dbdatarecord.cs
- ObjectResult.cs
- GeneralTransform2DTo3D.cs
- ExceptionUtil.cs
- Control.cs
- WebPartDescriptionCollection.cs
- SecurityKeyUsage.cs
- GroupAggregateExpr.cs
- ApplicationHost.cs
- LineInfo.cs
- ImageMap.cs
- XamlParser.cs
- ChameleonKey.cs
- ToggleProviderWrapper.cs
- FileDialogCustomPlacesCollection.cs
- DataGridTextBoxColumn.cs
- PropertyMapper.cs
- SharedPersonalizationStateInfo.cs
- XmlToDatasetMap.cs
- ItemsControlAutomationPeer.cs
- CodeNamespace.cs
- NativeMethods.cs
- StreamGeometryContext.cs
- BinaryCommonClasses.cs
- BasePattern.cs
- RuleInfoComparer.cs
- MonikerUtility.cs
- RuleSettingsCollection.cs
- NamespaceList.cs
- ColumnMapTranslator.cs
- WebEventCodes.cs
- BitStack.cs