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
- _Semaphore.cs
- XmlProcessingInstruction.cs
- UInt64Storage.cs
- OleDbReferenceCollection.cs
- NativeWindow.cs
- ReversePositionQuery.cs
- SqlParameterCollection.cs
- WindowsMenu.cs
- mediaeventshelper.cs
- HandlerWithFactory.cs
- JpegBitmapDecoder.cs
- DynamicExpression.cs
- ScalarConstant.cs
- EntityDataSourceContextCreatedEventArgs.cs
- DefaultParameterValueAttribute.cs
- DispatcherExceptionEventArgs.cs
- EventLogEntry.cs
- UnsafeNativeMethods.cs
- BindingValueChangedEventArgs.cs
- MgmtResManager.cs
- Attributes.cs
- ExceptionCollection.cs
- SolidBrush.cs
- CodeTypeDelegate.cs
- NullableDecimalMinMaxAggregationOperator.cs
- RouteTable.cs
- FamilyMap.cs
- CodeConditionStatement.cs
- CodeParameterDeclarationExpression.cs
- __Filters.cs
- RtfToken.cs
- EventDrivenDesigner.cs
- Char.cs
- DesignerToolboxInfo.cs
- TextOnlyOutput.cs
- FixedSOMTableRow.cs
- DSASignatureFormatter.cs
- AppDomainProtocolHandler.cs
- PersonalizationDictionary.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- OleDbConnection.cs
- MenuItemBindingCollection.cs
- ImageKeyConverter.cs
- ProcessThread.cs
- ConnectionManagementElement.cs
- ContextDataSourceView.cs
- WindowsIdentity.cs
- bidPrivateBase.cs
- JavaScriptObjectDeserializer.cs
- TextInfo.cs
- PropertyFilter.cs
- DynamicILGenerator.cs
- Bits.cs
- DeleteWorkflowOwnerCommand.cs
- counter.cs
- MasterPageBuildProvider.cs
- SliderAutomationPeer.cs
- ProviderConnectionPointCollection.cs
- HandlerFactoryCache.cs
- XmlWriter.cs
- CellQuery.cs
- ScriptResourceHandler.cs
- DockAndAnchorLayout.cs
- DbgUtil.cs
- TreeViewImageIndexConverter.cs
- OutputCacheModule.cs
- XmlSerializerOperationFormatter.cs
- PointUtil.cs
- PrimitiveType.cs
- EntityDataSourceDesignerHelper.cs
- SQLDecimalStorage.cs
- IdentitySection.cs
- SqlCacheDependencyDatabaseCollection.cs
- QuadraticBezierSegment.cs
- ObjectAnimationBase.cs
- IISMapPath.cs
- DrawingBrush.cs
- ApplicationServiceHelper.cs
- DataSourceExpressionCollection.cs
- InvalidOperationException.cs
- BookmarkManager.cs
- GenericsInstances.cs
- NullReferenceException.cs
- KeyTime.cs
- LocalizabilityAttribute.cs
- QualifierSet.cs
- DocumentScope.cs
- SafePointer.cs
- UnSafeCharBuffer.cs
- DataGridViewColumnEventArgs.cs
- COM2EnumConverter.cs
- ContextMenuStripActionList.cs
- ComboBox.cs
- AnnotationObservableCollection.cs
- ClientScriptManager.cs
- DBPropSet.cs
- Int32.cs
- LazyTextWriterCreator.cs
- HttpFormatExtensions.cs
- MultiTrigger.cs