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
- OdbcConnection.cs
- RepeaterItem.cs
- TimeSpanConverter.cs
- DrawingVisual.cs
- Token.cs
- ColorConvertedBitmap.cs
- RefExpr.cs
- RemoveFromCollection.cs
- TrackingRecordPreFilter.cs
- FlowDecisionDesigner.xaml.cs
- CreateRefExpr.cs
- ResourceType.cs
- ServiceEndpointCollection.cs
- HtmlImageAdapter.cs
- StringReader.cs
- TerminateWorkflow.cs
- TextTreeNode.cs
- FileIOPermission.cs
- AutomationIdentifier.cs
- FrameworkRichTextComposition.cs
- SourceElementsCollection.cs
- Formatter.cs
- AsyncContentLoadedEventArgs.cs
- TreeNodeMouseHoverEvent.cs
- ListChangedEventArgs.cs
- TextLine.cs
- ExpressionNode.cs
- UpDownBase.cs
- WebPartEditorCancelVerb.cs
- Vector3DCollectionConverter.cs
- SetMemberBinder.cs
- Encoder.cs
- DesignerRegionMouseEventArgs.cs
- LexicalChunk.cs
- KnownBoxes.cs
- BinaryOperationBinder.cs
- TimeZone.cs
- WriteableBitmap.cs
- View.cs
- PeerCollaboration.cs
- SubMenuStyle.cs
- PageThemeBuildProvider.cs
- HandledEventArgs.cs
- ArrayTypeMismatchException.cs
- SwitchElementsCollection.cs
- NameValueSectionHandler.cs
- DataGridBeginningEditEventArgs.cs
- TableProviderWrapper.cs
- Point4DConverter.cs
- MemberRelationshipService.cs
- ExpandCollapsePatternIdentifiers.cs
- NamespaceCollection.cs
- ApplicationTrust.cs
- ConstructorNeedsTagAttribute.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- PartBasedPackageProperties.cs
- EUCJPEncoding.cs
- DataPointer.cs
- SoapAttributes.cs
- ActivityCodeDomReferenceService.cs
- ValidatorCompatibilityHelper.cs
- Size3D.cs
- SelectionGlyph.cs
- DocumentAutomationPeer.cs
- DataExpression.cs
- Model3DGroup.cs
- XmlReflectionMember.cs
- ListBase.cs
- OutOfMemoryException.cs
- TraceHwndHost.cs
- XmlUtil.cs
- StreamSecurityUpgradeInitiatorBase.cs
- DispatcherEventArgs.cs
- DesignerTextViewAdapter.cs
- CapabilitiesPattern.cs
- TcpSocketManager.cs
- ResourceExpressionBuilder.cs
- MimePart.cs
- DataServiceKeyAttribute.cs
- TextRunCacheImp.cs
- XmlQualifiedName.cs
- DataGridLength.cs
- ButtonBase.cs
- RepeatBehavior.cs
- XmlILTrace.cs
- AttachInfo.cs
- MultiSelectRootGridEntry.cs
- PropertyEntry.cs
- FormClosedEvent.cs
- TextRangeProviderWrapper.cs
- IPeerNeighbor.cs
- LocalFileSettingsProvider.cs
- KeyGesture.cs
- FormViewCommandEventArgs.cs
- TemplateControl.cs
- CaseCqlBlock.cs
- DbMetaDataFactory.cs
- ValueUtilsSmi.cs
- MetadataSerializer.cs
- TransformProviderWrapper.cs