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
- TemplatedAdorner.cs
- DocumentViewerAutomationPeer.cs
- basemetadatamappingvisitor.cs
- WorkflowTimerService.cs
- WindowsProgressbar.cs
- VisualTransition.cs
- CodeAttributeArgumentCollection.cs
- RadioButtonFlatAdapter.cs
- InputReferenceExpression.cs
- IDQuery.cs
- DBCommand.cs
- ParameterElement.cs
- HyperLinkStyle.cs
- OutputBuffer.cs
- BinaryObjectInfo.cs
- ItemCheckEvent.cs
- GridViewSelectEventArgs.cs
- X509Utils.cs
- DocumentPaginator.cs
- ToolboxService.cs
- __TransparentProxy.cs
- KnownTypesHelper.cs
- DrawingBrush.cs
- FontUnit.cs
- CacheChildrenQuery.cs
- HorizontalAlignConverter.cs
- DuplicateWaitObjectException.cs
- BaseValidator.cs
- DataBoundControlHelper.cs
- DynamicValidatorEventArgs.cs
- DependencyObjectCodeDomSerializer.cs
- AliasedSlot.cs
- DataGridAutomationPeer.cs
- SwitchElementsCollection.cs
- UITypeEditor.cs
- InvokeWebService.cs
- SystemIcons.cs
- ToolTip.cs
- MetadataItemCollectionFactory.cs
- ExternalFile.cs
- SQLByteStorage.cs
- TransformGroup.cs
- TypeHelper.cs
- PcmConverter.cs
- GifBitmapDecoder.cs
- CapabilitiesState.cs
- EncoderExceptionFallback.cs
- DeviceContext2.cs
- DataObjectSettingDataEventArgs.cs
- _Semaphore.cs
- DocumentXPathNavigator.cs
- StyleSheet.cs
- ApplicationManager.cs
- RIPEMD160.cs
- GZipStream.cs
- IPipelineRuntime.cs
- ExecutionContext.cs
- ContractNamespaceAttribute.cs
- EventSetterHandlerConverter.cs
- ChtmlLinkAdapter.cs
- ValueQuery.cs
- SectionRecord.cs
- xdrvalidator.cs
- SqlStatistics.cs
- RadioButtonList.cs
- ConfigurationValidatorBase.cs
- Substitution.cs
- ChainOfDependencies.cs
- XsdCachingReader.cs
- BrowserInteropHelper.cs
- RegionInfo.cs
- UserControl.cs
- SQLInt32Storage.cs
- ResourceSetExpression.cs
- AttributeProviderAttribute.cs
- RegistrationServices.cs
- MSHTMLHost.cs
- PocoPropertyAccessorStrategy.cs
- SettingsContext.cs
- TransactionFlowOption.cs
- IdSpace.cs
- AdornerDecorator.cs
- RadioButtonBaseAdapter.cs
- HttpGetClientProtocol.cs
- DataFormat.cs
- ApplicationDirectoryMembershipCondition.cs
- CallbackDebugElement.cs
- TemplateInstanceAttribute.cs
- NameScopePropertyAttribute.cs
- DataControlFieldCollection.cs
- DataServiceClientException.cs
- RelAssertionDirectKeyIdentifierClause.cs
- SemaphoreFullException.cs
- PointAnimationBase.cs
- EventKeyword.cs
- WebMessageFormatHelper.cs
- DelayDesigner.cs
- DataGridViewCellEventArgs.cs
- TypeConstant.cs
- WindowsRichEditRange.cs