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
- DataBindingHandlerAttribute.cs
- SqlConnectionFactory.cs
- XmlILOptimizerVisitor.cs
- WebPartConnectionCollection.cs
- BrowserDefinitionCollection.cs
- ConsoleCancelEventArgs.cs
- LinkButton.cs
- ListenerElementsCollection.cs
- PropertyCondition.cs
- OleDbRowUpdatingEvent.cs
- StrongName.cs
- OdbcException.cs
- EventProxy.cs
- HwndAppCommandInputProvider.cs
- XPathParser.cs
- ActiveDocumentEvent.cs
- MDIControlStrip.cs
- XmlSchemaSequence.cs
- MultipleCopiesCollection.cs
- Image.cs
- TextReturnReader.cs
- ConsoleKeyInfo.cs
- ArrayHelper.cs
- EmptyEnumerator.cs
- WebPartEditorOkVerb.cs
- RenameRuleObjectDialog.Designer.cs
- SmuggledIUnknown.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- ExpressionWriter.cs
- XmlQueryTypeFactory.cs
- OneOf.cs
- FileNotFoundException.cs
- BaseDataBoundControl.cs
- GeometryConverter.cs
- HelloOperationAsyncResult.cs
- LocalTransaction.cs
- indexingfiltermarshaler.cs
- X509CertificateStore.cs
- WebOperationContext.cs
- LogRestartAreaEnumerator.cs
- EntityCollection.cs
- LineVisual.cs
- ConfigurationLockCollection.cs
- PageContentCollection.cs
- OleDbConnectionFactory.cs
- XPathParser.cs
- DataControlLinkButton.cs
- EntityDataSourceWizardForm.cs
- ArgumentDirectionHelper.cs
- AttributeData.cs
- PixelShader.cs
- DataSpaceManager.cs
- SqlPersonalizationProvider.cs
- AddIn.cs
- ComboBoxAutomationPeer.cs
- VisualTarget.cs
- DefaultAsyncDataDispatcher.cs
- CryptoHandle.cs
- TraceUtils.cs
- PtsHost.cs
- TextEditorCharacters.cs
- DebugTraceHelper.cs
- GACIdentityPermission.cs
- ParserContext.cs
- StylusDevice.cs
- GroupBox.cs
- PrintEvent.cs
- RTLAwareMessageBox.cs
- ResetableIterator.cs
- graph.cs
- SqlDependency.cs
- DataGridViewCellCancelEventArgs.cs
- Duration.cs
- RuleSettings.cs
- BitmapEffectRenderDataResource.cs
- WebHttpBindingCollectionElement.cs
- PageThemeCodeDomTreeGenerator.cs
- ProvideValueServiceProvider.cs
- ClientTargetSection.cs
- TemplatePagerField.cs
- DefaultTraceListener.cs
- Identity.cs
- MetadataArtifactLoaderComposite.cs
- BamlTreeMap.cs
- DataPager.cs
- UrlPath.cs
- AuditLog.cs
- FeatureSupport.cs
- PassportIdentity.cs
- categoryentry.cs
- TerminatorSinks.cs
- ISAPIRuntime.cs
- Walker.cs
- DeviceFiltersSection.cs
- TcpClientCredentialType.cs
- VisualStyleInformation.cs
- XmlHelper.cs
- XmlQualifiedName.cs
- DataKey.cs
- OpenTypeCommon.cs