Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataWeb / Client / System / Data / Services / Client / ALinq / ProjectionQueryOptionExpression.cs / 1305376 / ProjectionQueryOptionExpression.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // //// Respresents a projection query option in resource bound expression tree. // // // @owner [....] //--------------------------------------------------------------------- namespace System.Data.Services.Client { #region Namespaces. using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq.Expressions; #endregion Namespaces. ////// An resource specific expression representing a projection query option. /// internal class ProjectionQueryOptionExpression : QueryOptionExpression { #region Private fields. ///projection expression to evaluate on client on results from server to materialize type private readonly LambdaExpression lambda; ///projection paths to send to the server private readonly Listpaths; #endregion Private fields. /// /// Creates a ProjectionQueryOption expression /// /// the return type of the expression /// projection expression /// Projection paths for the query option internal ProjectionQueryOptionExpression(Type type, LambdaExpression lambda, Listpaths) : base((ExpressionType)ResourceExpressionType.ProjectionQueryOption, type) { Debug.Assert(type != null, "type != null"); Debug.Assert(lambda != null, "lambda != null"); Debug.Assert(paths != null, "paths != null"); this.lambda = lambda; this.paths = paths; } #region Internal properties. /// /// expression for the projection /// internal LambdaExpression Selector { get { return this.lambda; } } ////// expression for the projection /// internal ListPaths { get { return this.paths; } } #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
- AsyncOperation.cs
- WebZone.cs
- DbMetaDataFactory.cs
- WebPartCatalogAddVerb.cs
- WebBodyFormatMessageProperty.cs
- ProcessModelSection.cs
- BatchParser.cs
- InheritablePropertyChangeInfo.cs
- ICspAsymmetricAlgorithm.cs
- WindowsTab.cs
- MailBnfHelper.cs
- PropertyNames.cs
- IncrementalCompileAnalyzer.cs
- AspNetHostingPermission.cs
- HandledEventArgs.cs
- PolyLineSegment.cs
- xsdvalidator.cs
- DbUpdateCommandTree.cs
- UseManagedPresentationBindingElementImporter.cs
- KeyedHashAlgorithm.cs
- MatrixConverter.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- RIPEMD160Managed.cs
- ActivitiesCollection.cs
- WindowsUserNameSecurityTokenAuthenticator.cs
- ComNativeDescriptor.cs
- FontSizeConverter.cs
- SecondaryIndexList.cs
- XmlSchemaComplexContent.cs
- Hash.cs
- BitmapEffectDrawingContent.cs
- PassportAuthenticationEventArgs.cs
- _Rfc2616CacheValidators.cs
- HtmlTableCellCollection.cs
- Input.cs
- NativeRecognizer.cs
- BigInt.cs
- HttpListenerTimeoutManager.cs
- LambdaCompiler.cs
- TrackingProfileSerializer.cs
- SafeNativeMethods.cs
- SerialPort.cs
- DefaultProxySection.cs
- CriticalExceptions.cs
- CommandConverter.cs
- DiscoveryClientChannelFactory.cs
- MsmqHostedTransportConfiguration.cs
- VirtualizingPanel.cs
- CustomErrorsSection.cs
- ControllableStoryboardAction.cs
- ProtocolsConfigurationHandler.cs
- SqlBuilder.cs
- PerformanceCounterManager.cs
- Utilities.cs
- Compress.cs
- XmlConverter.cs
- StrongNameIdentityPermission.cs
- AffineTransform3D.cs
- HideDisabledControlAdapter.cs
- SwitchAttribute.cs
- Peer.cs
- HttpPostedFileWrapper.cs
- TransportContext.cs
- DeploymentSectionCache.cs
- TemplateBindingExtensionConverter.cs
- AuthenticationModulesSection.cs
- KeyEvent.cs
- WeakRefEnumerator.cs
- WindowsPrincipal.cs
- MinMaxParagraphWidth.cs
- StdValidatorsAndConverters.cs
- SqlCacheDependencySection.cs
- ThumbAutomationPeer.cs
- DataBindingValueUIHandler.cs
- RightsManagementInformation.cs
- WeakKeyDictionary.cs
- StylusPlugInCollection.cs
- DrawingBrush.cs
- XPathDocumentNavigator.cs
- LogAppendAsyncResult.cs
- WebFaultException.cs
- SamlSecurityToken.cs
- StrongNamePublicKeyBlob.cs
- SoapParser.cs
- WindowsIPAddress.cs
- XmlSchemaCollection.cs
- SynchronizationContext.cs
- CodeStatementCollection.cs
- UrlPath.cs
- MultiBindingExpression.cs
- CustomTypeDescriptor.cs
- SingleSelectRootGridEntry.cs
- TickBar.cs
- DockPanel.cs
- _NestedSingleAsyncResult.cs
- Application.cs
- XmlAttributes.cs
- RowUpdatingEventArgs.cs
- XmlNullResolver.cs
- TimerEventSubscription.cs