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
- ButtonFlatAdapter.cs
- MatrixUtil.cs
- CommandBinding.cs
- DataGridColumnHeaderItemAutomationPeer.cs
- RangeValueProviderWrapper.cs
- HtmlHead.cs
- ToolStripContainerActionList.cs
- Property.cs
- WebPartCloseVerb.cs
- SelectionHighlightInfo.cs
- GenerateTemporaryTargetAssembly.cs
- AutomationPatternInfo.cs
- TextRangeBase.cs
- NativeMethods.cs
- ExpressionBindings.cs
- InterleavedZipPartStream.cs
- XmlChoiceIdentifierAttribute.cs
- SingleQueryOperator.cs
- ExpressionBinding.cs
- GatewayDefinition.cs
- RangeBaseAutomationPeer.cs
- FlowDocumentReader.cs
- ObjectHelper.cs
- EntityDataSourceContextCreatingEventArgs.cs
- TrustLevel.cs
- TableItemStyle.cs
- SqlNotificationRequest.cs
- Formatter.cs
- WeakHashtable.cs
- GridViewPageEventArgs.cs
- SqlConnection.cs
- XamlTreeBuilder.cs
- DecoratedNameAttribute.cs
- SourceChangedEventArgs.cs
- ImageSource.cs
- RenderCapability.cs
- ProtocolsConfigurationEntry.cs
- DataBindingValueUIHandler.cs
- PathFigure.cs
- ErasingStroke.cs
- DefaultBindingPropertyAttribute.cs
- DataGridTextBoxColumn.cs
- GlobalAclOperationRequirement.cs
- XamlTypeMapperSchemaContext.cs
- SafeLibraryHandle.cs
- IntPtr.cs
- HierarchicalDataBoundControl.cs
- LoadRetryHandler.cs
- ColorConverter.cs
- SqlPersistenceProviderFactory.cs
- TextServicesCompartment.cs
- TreeViewAutomationPeer.cs
- SelectionItemProviderWrapper.cs
- Grid.cs
- ChameleonKey.cs
- RelationshipEnd.cs
- Context.cs
- InvalidPrinterException.cs
- InputQueue.cs
- StrokeCollectionConverter.cs
- XhtmlBasicFormAdapter.cs
- FontConverter.cs
- XmlStreamStore.cs
- RelationalExpressions.cs
- SiteMapDataSource.cs
- IconHelper.cs
- EventDescriptor.cs
- MouseBinding.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- Triplet.cs
- WindowsGraphicsCacheManager.cs
- BitmapEffectvisualstate.cs
- SizeAnimationUsingKeyFrames.cs
- ScriptControl.cs
- PngBitmapDecoder.cs
- CounterNameConverter.cs
- PropertyGeneratedEventArgs.cs
- SynchronousChannelMergeEnumerator.cs
- UnmanagedMemoryStreamWrapper.cs
- Assembly.cs
- PathFigure.cs
- AudioBase.cs
- FormsAuthenticationEventArgs.cs
- ProfilePropertyMetadata.cs
- PageVisual.cs
- DropAnimation.xaml.cs
- HtmlInputButton.cs
- SingleAnimationBase.cs
- FileStream.cs
- FunctionParameter.cs
- hebrewshape.cs
- ListBindingHelper.cs
- FileLevelControlBuilderAttribute.cs
- Registry.cs
- SuppressMergeCheckAttribute.cs
- TextDecorationLocationValidation.cs
- ArgumentDirectionHelper.cs
- Imaging.cs
- XPathSelfQuery.cs
- TextElement.cs