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
- EdmItemCollection.OcAssemblyCache.cs
- SimpleHandlerFactory.cs
- ConvertersCollection.cs
- Compilation.cs
- CompiledRegexRunnerFactory.cs
- GroupBoxDesigner.cs
- ObjectSpanRewriter.cs
- TextEditorContextMenu.cs
- PrintPreviewGraphics.cs
- AppSettingsReader.cs
- ScrollableControl.cs
- ToolStripGripRenderEventArgs.cs
- ButtonRenderer.cs
- AvtEvent.cs
- MemoryRecordBuffer.cs
- IListConverters.cs
- PenCursorManager.cs
- SqlConnectionPoolGroupProviderInfo.cs
- SettingsPropertyWrongTypeException.cs
- LocatorBase.cs
- ISAPIRuntime.cs
- FrameSecurityDescriptor.cs
- MemberRelationshipService.cs
- GetLedgerEntryForRecipientRequest.cs
- AttributeProviderAttribute.cs
- SystemIcmpV6Statistics.cs
- FlowDocumentView.cs
- NavigationProgressEventArgs.cs
- XmlHelper.cs
- FormsAuthenticationEventArgs.cs
- EntityStoreSchemaFilterEntry.cs
- GradientStopCollection.cs
- CustomSignedXml.cs
- HtmlElementErrorEventArgs.cs
- RuleValidation.cs
- XmlSchemaSimpleType.cs
- PrintPreviewDialog.cs
- StringComparer.cs
- SystemTcpStatistics.cs
- CalendarItem.cs
- LinkedList.cs
- FieldMetadata.cs
- CompoundFileStorageReference.cs
- SoapIncludeAttribute.cs
- ScrollItemProviderWrapper.cs
- DefaultTraceListener.cs
- PageHandlerFactory.cs
- HttpStreams.cs
- MergeFilterQuery.cs
- Internal.cs
- Effect.cs
- TableItemProviderWrapper.cs
- TextTreeUndo.cs
- VectorCollectionValueSerializer.cs
- ProfileInfo.cs
- ResolveMatchesApril2005.cs
- NetCodeGroup.cs
- ForwardPositionQuery.cs
- ExpressionPrefixAttribute.cs
- Vector3DAnimationBase.cs
- CalendarData.cs
- ImageListStreamer.cs
- DefaultSettingsSection.cs
- HtmlSelect.cs
- Latin1Encoding.cs
- SchemaObjectWriter.cs
- SystemSounds.cs
- ImmComposition.cs
- CqlParserHelpers.cs
- PermissionSetTriple.cs
- PersistencePipeline.cs
- HealthMonitoringSection.cs
- _KerberosClient.cs
- InfoCardTrace.cs
- ListControlDesigner.cs
- __Filters.cs
- UndoManager.cs
- StopRoutingHandler.cs
- HighlightComponent.cs
- EditorPartChrome.cs
- SqlClientWrapperSmiStreamChars.cs
- __Error.cs
- GridViewCommandEventArgs.cs
- DataGridViewCellMouseEventArgs.cs
- CacheDict.cs
- EdmConstants.cs
- ReachUIElementCollectionSerializerAsync.cs
- MSAAEventDispatcher.cs
- ClientBuildManager.cs
- MasterPageParser.cs
- _NegoState.cs
- SqlCacheDependency.cs
- TextBounds.cs
- DataGridCommandEventArgs.cs
- XmlMembersMapping.cs
- SafeRegistryKey.cs
- DataGridViewCellConverter.cs
- SeparatorAutomationPeer.cs
- WeakHashtable.cs
- TypeToken.cs