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
- DefaultAssemblyResolver.cs
- PreservationFileReader.cs
- WebControlAdapter.cs
- XmlReflectionImporter.cs
- IndexedWhereQueryOperator.cs
- Ref.cs
- XPathNodeInfoAtom.cs
- InvalidContentTypeException.cs
- ComboBoxItem.cs
- MouseEvent.cs
- RawStylusInputCustomData.cs
- GridViewColumn.cs
- XXXOnTypeBuilderInstantiation.cs
- StandardCommands.cs
- StaticExtension.cs
- TreeWalkHelper.cs
- UnmanagedMemoryStream.cs
- StorageEndPropertyMapping.cs
- UnsafeNativeMethods.cs
- PointAnimationClockResource.cs
- AxImporter.cs
- ProfilePropertyNameValidator.cs
- StatusBar.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- ParseChildrenAsPropertiesAttribute.cs
- Nodes.cs
- AttachmentCollection.cs
- MaskPropertyEditor.cs
- Material.cs
- DefinitionUpdate.cs
- MaterialGroup.cs
- WindowInteropHelper.cs
- InkCollectionBehavior.cs
- TopClause.cs
- ProcessingInstructionAction.cs
- FunctionImportElement.cs
- ScriptReferenceBase.cs
- XmlReader.cs
- ContextStaticAttribute.cs
- OpCopier.cs
- MethodExpression.cs
- _NativeSSPI.cs
- XsdBuildProvider.cs
- UrlPath.cs
- PolyBezierSegment.cs
- SamlSecurityTokenAuthenticator.cs
- ProjectionCamera.cs
- Dictionary.cs
- WriteableOnDemandPackagePart.cs
- WindowsIdentity.cs
- PeerNameRegistration.cs
- OleCmdHelper.cs
- SQLInt16.cs
- Pens.cs
- CommandLibraryHelper.cs
- BrushValueSerializer.cs
- ReadOnlyObservableCollection.cs
- Mutex.cs
- Image.cs
- XamlFrame.cs
- CapabilitiesSection.cs
- HttpBrowserCapabilitiesWrapper.cs
- ImageField.cs
- ActivityExecutorDelegateInfo.cs
- FrameworkElementFactory.cs
- XmlWriterSettings.cs
- X509IssuerSerialKeyIdentifierClause.cs
- KeyToListMap.cs
- EngineSiteSapi.cs
- RtfControls.cs
- AttachmentService.cs
- odbcmetadatafactory.cs
- CodeBinaryOperatorExpression.cs
- XmlSchemaSimpleTypeList.cs
- TerminatorSinks.cs
- IImplicitResourceProvider.cs
- NameService.cs
- ActiveXContainer.cs
- AttributeData.cs
- PartitionResolver.cs
- CollectionChangedEventManager.cs
- MorphHelper.cs
- ListBoxItemWrapperAutomationPeer.cs
- ToolStripSystemRenderer.cs
- ProcessHostFactoryHelper.cs
- SoapExtensionTypeElement.cs
- IgnoreDeviceFilterElementCollection.cs
- HttpCachePolicyWrapper.cs
- WindowsToolbarItemAsMenuItem.cs
- _Semaphore.cs
- WindowsFormsSynchronizationContext.cs
- SqlDataSourceCommandEventArgs.cs
- EpmSyndicationContentSerializer.cs
- TemplateXamlTreeBuilder.cs
- IndicCharClassifier.cs
- RemotingAttributes.cs
- IfAction.cs
- EntitySqlQueryBuilder.cs
- _TimerThread.cs
- TogglePattern.cs