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
- FileNotFoundException.cs
- TimelineClockCollection.cs
- DataGridViewLinkCell.cs
- EntitySqlQueryState.cs
- NamespaceDecl.cs
- AssemblyInfo.cs
- ProfileProvider.cs
- SafeCryptoHandles.cs
- ResourcePermissionBase.cs
- XappLauncher.cs
- PerformanceCounterPermissionAttribute.cs
- GeometryModel3D.cs
- ContentTextAutomationPeer.cs
- IdentityModelStringsVersion1.cs
- CodeCastExpression.cs
- URLIdentityPermission.cs
- ToolStripContextMenu.cs
- OdbcParameter.cs
- StylusShape.cs
- ContextMarshalException.cs
- InternalDispatchObject.cs
- SharedStream.cs
- ConfigurationSettings.cs
- ParentQuery.cs
- Helper.cs
- GlobalizationSection.cs
- NamespaceCollection.cs
- ResourcePropertyMemberCodeDomSerializer.cs
- MarkupCompiler.cs
- KeySplineConverter.cs
- RecognizedAudio.cs
- SQLBinaryStorage.cs
- PropertyItem.cs
- StaticFileHandler.cs
- BindingMAnagerBase.cs
- ListBox.cs
- DataGridToolTip.cs
- ListViewDataItem.cs
- ProgressBarRenderer.cs
- Typography.cs
- GatewayDefinition.cs
- CryptoConfig.cs
- SelectionGlyph.cs
- CodeCompileUnit.cs
- RangeValuePatternIdentifiers.cs
- FilterableAttribute.cs
- SQLMoney.cs
- Point3DKeyFrameCollection.cs
- SqlDataSource.cs
- MethodAccessException.cs
- Permission.cs
- SplitterCancelEvent.cs
- URL.cs
- InheritablePropertyChangeInfo.cs
- SelectionProviderWrapper.cs
- HttpRuntimeSection.cs
- Cell.cs
- HttpClientCertificate.cs
- ExtensibleSyndicationObject.cs
- CompositeFontFamily.cs
- ObjectContext.cs
- OutgoingWebResponseContext.cs
- PasswordRecoveryAutoFormat.cs
- DBConnectionString.cs
- BodyGlyph.cs
- MessageDescriptionCollection.cs
- FileChangeNotifier.cs
- GridViewEditEventArgs.cs
- CodeAttachEventStatement.cs
- DispatcherExceptionFilterEventArgs.cs
- AppendHelper.cs
- ZipIOBlockManager.cs
- ContentPathSegment.cs
- XhtmlTextWriter.cs
- ObjectDataSourceView.cs
- TextRenderer.cs
- WebResponse.cs
- FtpWebResponse.cs
- PasswordPropertyTextAttribute.cs
- ArcSegment.cs
- DataObjectEventArgs.cs
- FacetEnabledSchemaElement.cs
- ReferenceConverter.cs
- AuthenticationModuleElementCollection.cs
- ToolStripCustomTypeDescriptor.cs
- SqlCacheDependencyDatabase.cs
- MenuEventArgs.cs
- BitmapEffectGroup.cs
- DataBinding.cs
- RSAPKCS1SignatureFormatter.cs
- SamlAttribute.cs
- SortQuery.cs
- HistoryEventArgs.cs
- ImageSourceConverter.cs
- XmlDeclaration.cs
- ApplyImportsAction.cs
- ListBase.cs
- VirtualDirectoryMappingCollection.cs
- ValueProviderWrapper.cs
- SafeMILHandle.cs