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
- DtdParser.cs
- DataSpaceManager.cs
- SchemaNamespaceManager.cs
- TypeDelegator.cs
- FixedSOMFixedBlock.cs
- GridViewRowEventArgs.cs
- panel.cs
- RectangleGeometry.cs
- Matrix.cs
- BuildTopDownAttribute.cs
- DesignRelationCollection.cs
- DataAdapter.cs
- SqlError.cs
- WebPartsPersonalization.cs
- Int32RectValueSerializer.cs
- DiscreteKeyFrames.cs
- PropertyManager.cs
- XmlFormatMapping.cs
- SafeHandles.cs
- MsmqIntegrationBinding.cs
- DoubleCollection.cs
- RemoteDebugger.cs
- Activity.cs
- ImageConverter.cs
- WebControl.cs
- InProcStateClientManager.cs
- TreeViewBindingsEditorForm.cs
- Util.cs
- AuthStoreRoleProvider.cs
- ValidationErrorCollection.cs
- StandardBindingReliableSessionElement.cs
- ClientRoleProvider.cs
- TextTreeUndoUnit.cs
- Convert.cs
- AppDomainManager.cs
- ComponentResourceManager.cs
- DataTableCollection.cs
- DetailsViewUpdateEventArgs.cs
- ManagementScope.cs
- Size.cs
- ToolStripItemTextRenderEventArgs.cs
- HwndProxyElementProvider.cs
- DbFunctionCommandTree.cs
- PauseStoryboard.cs
- RequestStatusBarUpdateEventArgs.cs
- ApplicationServicesHostFactory.cs
- DataGridViewSortCompareEventArgs.cs
- HttpProfileBase.cs
- ISO2022Encoding.cs
- TypedReference.cs
- ToolStripOverflow.cs
- SecurityPolicySection.cs
- SymDocumentType.cs
- IDispatchConstantAttribute.cs
- PermissionSet.cs
- CodeBlockBuilder.cs
- XPathDocument.cs
- Expander.cs
- CalendarKeyboardHelper.cs
- ListChangedEventArgs.cs
- TextElementCollection.cs
- InteropBitmapSource.cs
- DataGridCheckBoxColumn.cs
- CheckBoxFlatAdapter.cs
- DbProviderServices.cs
- WSSecurityPolicy.cs
- ConfigurationElementProperty.cs
- AssemblyBuilderData.cs
- WorkflowRuntimeServiceElement.cs
- ModuleBuilder.cs
- SerializableAttribute.cs
- XmlSchemaInfo.cs
- RefreshPropertiesAttribute.cs
- BackgroundWorker.cs
- iisPickupDirectory.cs
- StrokeCollectionConverter.cs
- RangeBaseAutomationPeer.cs
- CodeGenerator.cs
- TypeConverter.cs
- ForEachAction.cs
- StringWriter.cs
- DataGridViewComboBoxEditingControl.cs
- MetafileHeaderWmf.cs
- XmlAttributeCache.cs
- BinaryMethodMessage.cs
- WebBrowsableAttribute.cs
- Grammar.cs
- ChildChangedEventArgs.cs
- DriveInfo.cs
- FixedTextContainer.cs
- EntityContainer.cs
- RuleConditionDialog.Designer.cs
- FacetChecker.cs
- PropVariant.cs
- RegexCompiler.cs
- RedistVersionInfo.cs
- AlternationConverter.cs
- wmiprovider.cs
- X509Certificate.cs
- RootBuilder.cs