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
- ExtractCollection.cs
- RSAOAEPKeyExchangeDeformatter.cs
- BaseHashHelper.cs
- EventListenerClientSide.cs
- SchemaDeclBase.cs
- CommandEventArgs.cs
- TimelineClockCollection.cs
- SHA512.cs
- WindowInteractionStateTracker.cs
- WebPartCancelEventArgs.cs
- ErrorFormatter.cs
- WebPartConnectionsDisconnectVerb.cs
- Grid.cs
- MethodToken.cs
- UnsafeNativeMethods.cs
- HttpApplicationStateWrapper.cs
- EdmItemError.cs
- RangeEnumerable.cs
- XmlSerializableReader.cs
- HierarchicalDataTemplate.cs
- Propagator.JoinPropagator.SubstitutingCloneVisitor.cs
- HttpProcessUtility.cs
- String.cs
- ToolStripContainerDesigner.cs
- TextDpi.cs
- PropertyExpression.cs
- BindingSource.cs
- QueryableDataSourceView.cs
- Int64KeyFrameCollection.cs
- JsonDataContract.cs
- PropertyInformationCollection.cs
- Completion.cs
- SerTrace.cs
- ReadOnlyHierarchicalDataSourceView.cs
- ToolStripItemEventArgs.cs
- RenderingEventArgs.cs
- EventProxy.cs
- DataBinder.cs
- OperationAbortedException.cs
- Object.cs
- SessionState.cs
- ScriptResourceHandler.cs
- ControlTemplate.cs
- WeakReferenceKey.cs
- ReadOnlyDataSource.cs
- ParentUndoUnit.cs
- SmiEventSink_DeferedProcessing.cs
- SchemaTableColumn.cs
- StructuralObject.cs
- HMACMD5.cs
- PropertyChangeTracker.cs
- PrintingPermission.cs
- KernelTypeValidation.cs
- OracleException.cs
- DiscoveryViaBehavior.cs
- CodeSnippetCompileUnit.cs
- RowSpanVector.cs
- UIElementCollection.cs
- sortedlist.cs
- ADMembershipProvider.cs
- XamlTemplateSerializer.cs
- SerializationException.cs
- NotificationContext.cs
- Misc.cs
- SoapException.cs
- sqlcontext.cs
- InputManager.cs
- DataBinding.cs
- ObjectStorage.cs
- SqlRowUpdatingEvent.cs
- RootAction.cs
- ExceptionHandlersDesigner.cs
- GeneralTransform.cs
- GlyphInfoList.cs
- HostingEnvironmentWrapper.cs
- ExpressionBindingCollection.cs
- XmlSortKeyAccumulator.cs
- WorkflowEventArgs.cs
- ListView.cs
- ConfigurationStrings.cs
- CellConstantDomain.cs
- ExpressionPrinter.cs
- ModuleBuilderData.cs
- WhitespaceRuleReader.cs
- RotateTransform3D.cs
- CriticalFinalizerObject.cs
- TemplateControlParser.cs
- Animatable.cs
- SizeIndependentAnimationStorage.cs
- PropertyValue.cs
- TemplateParser.cs
- MachineKeySection.cs
- _ListenerAsyncResult.cs
- ObjectQueryState.cs
- NumberFormatInfo.cs
- PropertyGridView.cs
- DesignerActionTextItem.cs
- coordinator.cs
- Base64Encoding.cs
- dataobject.cs