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
- Animatable.cs
- DetailsViewAutoFormat.cs
- WeakReadOnlyCollection.cs
- SymbolType.cs
- httpserverutility.cs
- WebPartManagerInternals.cs
- PickBranch.cs
- SiteMapNodeItem.cs
- ChannelManager.cs
- ToolStripMenuItem.cs
- InsufficientMemoryException.cs
- Adorner.cs
- BuildManager.cs
- MdImport.cs
- DataRelationPropertyDescriptor.cs
- OpCodes.cs
- DrawingVisualDrawingContext.cs
- FragmentQuery.cs
- FactoryRecord.cs
- DataKeyArray.cs
- Setter.cs
- DefaultBindingPropertyAttribute.cs
- CreateUserWizardStep.cs
- CodeArrayCreateExpression.cs
- AtomMaterializerLog.cs
- CommentAction.cs
- PropertyInfoSet.cs
- PageFunction.cs
- CurrencyWrapper.cs
- CharacterMetricsDictionary.cs
- KeyGestureValueSerializer.cs
- ParameterInfo.cs
- Utils.cs
- StreamInfo.cs
- ForwardPositionQuery.cs
- AsyncSerializedWorker.cs
- RootCodeDomSerializer.cs
- connectionpool.cs
- DesignerView.Commands.cs
- ZipPackagePart.cs
- NavigationWindowAutomationPeer.cs
- TemplateParser.cs
- RelationshipConstraintValidator.cs
- OdbcConnectionOpen.cs
- DataGridViewRow.cs
- WebPartEventArgs.cs
- Attributes.cs
- FormatPage.cs
- ChangePasswordAutoFormat.cs
- DrawingContextWalker.cs
- ResourceWriter.cs
- ClockGroup.cs
- ServiceDiscoveryBehavior.cs
- DoubleAverageAggregationOperator.cs
- MatchSingleFxEngineOpcode.cs
- DataService.cs
- DirtyTextRange.cs
- DeclarativeCatalogPart.cs
- DataControlFieldCollection.cs
- BitSet.cs
- DataGridPagerStyle.cs
- ChannelFactoryBase.cs
- RawKeyboardInputReport.cs
- SoapClientMessage.cs
- DefaultEventAttribute.cs
- PackWebRequestFactory.cs
- ChameleonKey.cs
- Utils.cs
- ButtonStandardAdapter.cs
- ClrPerspective.cs
- TextEffect.cs
- MappedMetaModel.cs
- NotifyInputEventArgs.cs
- EntityType.cs
- DataBinding.cs
- EntityContainerAssociationSet.cs
- FilterUserControlBase.cs
- WebPartConnectVerb.cs
- SystemBrushes.cs
- RotateTransform.cs
- SpecularMaterial.cs
- ServicePointManager.cs
- TypedColumnHandler.cs
- GridViewColumnCollection.cs
- ConnectionManagementElement.cs
- Transform.cs
- EmitterCache.cs
- FlowNode.cs
- CompatibleComparer.cs
- GraphicsPathIterator.cs
- OdbcInfoMessageEvent.cs
- NameNode.cs
- COM2ColorConverter.cs
- LinearQuaternionKeyFrame.cs
- ObjectDataSourceDesigner.cs
- OuterGlowBitmapEffect.cs
- _FtpDataStream.cs
- AssociationTypeEmitter.cs
- SqlGenerator.cs
- DrawListViewSubItemEventArgs.cs