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
- UnknownWrapper.cs
- UserControlCodeDomTreeGenerator.cs
- CodeValidator.cs
- IndexedString.cs
- ClientRolePrincipal.cs
- HMACSHA256.cs
- WebConfigurationFileMap.cs
- ProfileParameter.cs
- CodeExporter.cs
- ItemsChangedEventArgs.cs
- FileSystemInfo.cs
- TimeStampChecker.cs
- SqlCacheDependency.cs
- XmlSchemaValidationException.cs
- BeginEvent.cs
- HandlerFactoryCache.cs
- ScriptingSectionGroup.cs
- CodeExpressionStatement.cs
- AppDomainInfo.cs
- Freezable.cs
- ConfigurationManagerHelperFactory.cs
- UmAlQuraCalendar.cs
- Constant.cs
- FigureHelper.cs
- DecoderExceptionFallback.cs
- SolidColorBrush.cs
- TextBoxView.cs
- XmlWrappingReader.cs
- SoapExtensionTypeElement.cs
- MSAANativeProvider.cs
- Point4D.cs
- AsymmetricKeyExchangeFormatter.cs
- SqlProvider.cs
- SaveFileDialog.cs
- DataSourceSerializationException.cs
- LateBoundBitmapDecoder.cs
- XmlConvert.cs
- PersonalizationStateQuery.cs
- CodeIdentifier.cs
- LinqDataView.cs
- SessionStateUtil.cs
- ConnectionPoolManager.cs
- StyleCollection.cs
- BatchStream.cs
- StaticContext.cs
- FontUnit.cs
- StylusEventArgs.cs
- NavigatorOutput.cs
- WebServiceFault.cs
- ThaiBuddhistCalendar.cs
- SqlCacheDependencySection.cs
- FileDialog.cs
- MailBnfHelper.cs
- TextBoxLine.cs
- wmiprovider.cs
- FormViewUpdatedEventArgs.cs
- UpdateProgress.cs
- MergeFilterQuery.cs
- GridViewDeletedEventArgs.cs
- SqlNode.cs
- WebHttpSecurityElement.cs
- _ShellExpression.cs
- ObjectTypeMapping.cs
- LicFileLicenseProvider.cs
- TextEditorTables.cs
- OutputCacheProfileCollection.cs
- TimeSpanMinutesConverter.cs
- SimpleWorkerRequest.cs
- ErrorWebPart.cs
- BaseTreeIterator.cs
- SymmetricAlgorithm.cs
- TemplatePagerField.cs
- ExpressionBuilder.cs
- Vector3DConverter.cs
- XmlDomTextWriter.cs
- FormsAuthenticationTicket.cs
- PtsHelper.cs
- BrowserTree.cs
- UIElementIsland.cs
- _DisconnectOverlappedAsyncResult.cs
- EntityDataSourceEntitySetNameItem.cs
- NativeMethodsOther.cs
- DesignerContextDescriptor.cs
- SerializationInfoEnumerator.cs
- UdpReplyToBehavior.cs
- RuntimeConfigLKG.cs
- FreezableCollection.cs
- CaretElement.cs
- HierarchicalDataSourceControl.cs
- WorkerRequest.cs
- SHA256CryptoServiceProvider.cs
- EdmError.cs
- ParserHooks.cs
- DataControlFieldCollection.cs
- TableItemProviderWrapper.cs
- StoreContentChangedEventArgs.cs
- ChildTable.cs
- TextFormatterImp.cs
- SqlException.cs
- TextUtf8RawTextWriter.cs