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
- SqlCacheDependencyDatabaseCollection.cs
- WebPartUserCapability.cs
- GenericTypeParameterBuilder.cs
- ClipboardProcessor.cs
- AlphaSortedEnumConverter.cs
- MultiBindingExpression.cs
- BooleanProjectedSlot.cs
- FamilyTypeface.cs
- RealProxy.cs
- HttpHeaderCollection.cs
- DataGridHeaderBorder.cs
- StorageMappingItemCollection.cs
- ColumnWidthChangingEvent.cs
- TextComposition.cs
- DataBinder.cs
- EmulateRecognizeCompletedEventArgs.cs
- ListSourceHelper.cs
- UrlPropertyAttribute.cs
- DbConnectionPool.cs
- BamlRecords.cs
- HostedNamedPipeTransportManager.cs
- XPathException.cs
- TextHidden.cs
- ListControl.cs
- StyleCollectionEditor.cs
- ToolBarButtonClickEvent.cs
- Int32KeyFrameCollection.cs
- ParserHooks.cs
- SeverityFilter.cs
- RectConverter.cs
- ContentOperations.cs
- AnonymousIdentificationSection.cs
- UnsafeNativeMethodsTablet.cs
- Int64.cs
- ColumnWidthChangingEvent.cs
- BuildManagerHost.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- BitmapEffectRenderDataResource.cs
- SQLSingle.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- PolyBezierSegment.cs
- ListViewCommandEventArgs.cs
- DecoderFallback.cs
- TextDecorationCollectionConverter.cs
- ConfigXmlSignificantWhitespace.cs
- IndentedTextWriter.cs
- BaseWebProxyFinder.cs
- TableRowGroup.cs
- DrawingAttributeSerializer.cs
- ParameterCollectionEditor.cs
- SizeConverter.cs
- DataGridViewCheckBoxCell.cs
- HttpCapabilitiesBase.cs
- Security.cs
- XmlTextReader.cs
- ToolStripDropDownButton.cs
- IgnorePropertiesAttribute.cs
- RegexCompilationInfo.cs
- SHA1.cs
- QilXmlWriter.cs
- ServiceEndpointElement.cs
- SmtpAuthenticationManager.cs
- SkipQueryOptionExpression.cs
- MailWriter.cs
- NativeMethods.cs
- UnionCodeGroup.cs
- X509CertificateValidator.cs
- HttpResponse.cs
- IItemContainerGenerator.cs
- TdsParserHelperClasses.cs
- ClientCultureInfo.cs
- MemoryFailPoint.cs
- XhtmlBasicPanelAdapter.cs
- Message.cs
- MouseWheelEventArgs.cs
- WebPartEditorCancelVerb.cs
- CodeGenerator.cs
- SchemaConstraints.cs
- DeflateEmulationStream.cs
- GeometryCollection.cs
- TripleDES.cs
- Button.cs
- SelectedGridItemChangedEvent.cs
- GenericWebPart.cs
- FunctionImportMapping.ReturnTypeRenameMapping.cs
- CardSpaceException.cs
- ModelTreeEnumerator.cs
- QueryAccessibilityHelpEvent.cs
- EnumValAlphaComparer.cs
- FigureParagraph.cs
- ConstraintManager.cs
- WebPartConnectVerb.cs
- SqlBulkCopyColumnMappingCollection.cs
- MD5.cs
- storepermission.cs
- Block.cs
- SqlRemoveConstantOrderBy.cs
- XmlLanguageConverter.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- TypeConverterHelper.cs