Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataWeb / Client / System / Data / Services / Client / ALinq / QueryComponents.cs / 1305376 / QueryComponents.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // //// The result from a expression to query components translation // // // @owner [....] //--------------------------------------------------------------------- namespace System.Data.Services.Client { #region Namespaces. using System; using System.Collections.Generic; using System.Linq.Expressions; #endregion Namespaces. ///Represents the components of query. internal class QueryComponents { #region Private fields. ///URI for query private readonly Uri uri; ///type private readonly Type lastSegmentType; ///Records the generated-to-source rewrites created. private readonly DictionarynormalizerRewrites; /// selector Lambda Expression private readonly LambdaExpression projection; ///Version for query private Version version; #endregion Private fields. ////// Constructs a container for query components /// /// URI for the query /// Version for the query /// Element type for the query /// selector Lambda Expression /// Records the generated-to-source rewrites created (possibly null). internal QueryComponents(Uri uri, Version version, Type lastSegmentType, LambdaExpression projection, DictionarynormalizerRewrites) { this.projection = projection; this.normalizerRewrites = normalizerRewrites; this.lastSegmentType = lastSegmentType; this.uri = uri; this.version = version; } #region Internal properties. /// The translated uri for a query internal Uri Uri { get { return this.uri; } } ///Records the generated-to-source rewrites created. internal DictionaryNormalizerRewrites { get { return this.normalizerRewrites; } } /// The projection expression for a query internal LambdaExpression Projection { get { return this.projection; } } ///The last segment type for query internal Type LastSegmentType { get { return this.lastSegmentType; } } ///The data service version associated with the uri internal Version Version { get { return this.version; } #if !ASTORIA_LIGHT // Synchronous methods not available set { this.version = value; } #endif } #endregion Internal properties. } } // 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
- Executor.cs
- InstanceOwnerException.cs
- TreeNodeConverter.cs
- SiteMapDataSource.cs
- HttpRequestMessageProperty.cs
- NavigationWindow.cs
- FactoryGenerator.cs
- DefaultAssemblyResolver.cs
- GeneralTransform2DTo3D.cs
- DesignBindingConverter.cs
- NumberSubstitution.cs
- Asn1IntegerConverter.cs
- OutOfMemoryException.cs
- SelectionHighlightInfo.cs
- PreservationFileWriter.cs
- RoleGroupCollectionEditor.cs
- InfoCardPolicy.cs
- SecurityTokenAuthenticator.cs
- CustomActivityDesigner.cs
- WSDualHttpBinding.cs
- PasswordBoxAutomationPeer.cs
- HashSetEqualityComparer.cs
- ErrorTableItemStyle.cs
- SuppressIldasmAttribute.cs
- ProfilePropertySettings.cs
- UrlSyndicationContent.cs
- WindowsListViewGroupHelper.cs
- Timer.cs
- PropertyDescriptorGridEntry.cs
- KeyValueConfigurationCollection.cs
- ContentFilePart.cs
- ExportOptions.cs
- Closure.cs
- WebBrowsableAttribute.cs
- XmlNodeList.cs
- StylusCaptureWithinProperty.cs
- TableProviderWrapper.cs
- AnalyzedTree.cs
- Converter.cs
- SecurityTokenTypes.cs
- SerializationInfoEnumerator.cs
- UnlockCardRequest.cs
- SelectorItemAutomationPeer.cs
- EventMap.cs
- IsolatedStorageException.cs
- TextTreeNode.cs
- BigInt.cs
- ComEventsMethod.cs
- SmiXetterAccessMap.cs
- CapabilitiesUse.cs
- TransformProviderWrapper.cs
- ListMarkerLine.cs
- Model3DGroup.cs
- ReflectionPermission.cs
- XmlNamespaceDeclarationsAttribute.cs
- EastAsianLunisolarCalendar.cs
- ManipulationStartedEventArgs.cs
- WindowsGraphics.cs
- QuadraticBezierSegment.cs
- AppDomainInstanceProvider.cs
- DataServiceKeyAttribute.cs
- UInt64.cs
- MailWebEventProvider.cs
- Atom10FormatterFactory.cs
- ResXResourceReader.cs
- XmlSchemaAnnotated.cs
- ScriptControlDescriptor.cs
- Mutex.cs
- ArithmeticException.cs
- WebPartMenu.cs
- DataGridPageChangedEventArgs.cs
- DataGridPagerStyle.cs
- XPathNodeInfoAtom.cs
- BaseAppDomainProtocolHandler.cs
- AnnotationAdorner.cs
- TransformGroup.cs
- ContentType.cs
- Switch.cs
- Visual3D.cs
- Mouse.cs
- IndexOutOfRangeException.cs
- ExpressionBuilder.cs
- SafeSecurityHandles.cs
- EncoderBestFitFallback.cs
- ReversePositionQuery.cs
- View.cs
- HttpRequest.cs
- StateMachineDesignerPaint.cs
- Pair.cs
- WebBrowsableAttribute.cs
- ControlCachePolicy.cs
- TextRangeBase.cs
- DataGridGeneralPage.cs
- EventLogConfiguration.cs
- SerializerDescriptor.cs
- ObjectPersistData.cs
- BitmapImage.cs
- ForceCopyBuildProvider.cs
- xmlformatgeneratorstatics.cs
- XslAstAnalyzer.cs