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
- DESCryptoServiceProvider.cs
- ReaderOutput.cs
- ActivityStateQuery.cs
- SharedStatics.cs
- UnmanagedHandle.cs
- CalendarKeyboardHelper.cs
- HexParser.cs
- ListManagerBindingsCollection.cs
- OperationResponse.cs
- FrameworkName.cs
- GradientSpreadMethodValidation.cs
- MarkupExtensionParser.cs
- _ServiceNameStore.cs
- mediapermission.cs
- KerberosSecurityTokenAuthenticator.cs
- ButtonField.cs
- ExtensionDataObject.cs
- Lookup.cs
- InputEventArgs.cs
- UnknownExceptionActionHelper.cs
- DataKey.cs
- TerminatingOperationBehavior.cs
- PartialList.cs
- SecureConversationServiceCredential.cs
- ProviderUtil.cs
- EmbeddedObject.cs
- XmlWriterTraceListener.cs
- EventDescriptorCollection.cs
- FreezableCollection.cs
- ApplicationTrust.cs
- EntityTypeBase.cs
- TraceListener.cs
- PreservationFileWriter.cs
- BaseHashHelper.cs
- TextServicesProperty.cs
- Assembly.cs
- DependencyPropertyConverter.cs
- RuntimeConfig.cs
- UDPClient.cs
- Queue.cs
- dtdvalidator.cs
- Logging.cs
- TextRunProperties.cs
- DateTime.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- ObjectStateEntryDbDataRecord.cs
- ArgumentNullException.cs
- _AutoWebProxyScriptHelper.cs
- ModuleBuilder.cs
- WebPartConnectionCollection.cs
- EdmPropertyAttribute.cs
- UpdateException.cs
- AssemblyName.cs
- ToolStripContextMenu.cs
- WebPartDisplayModeCollection.cs
- ContainerParaClient.cs
- DesignerDataParameter.cs
- NavigationHelper.cs
- LogicalExpr.cs
- DesignerProperties.cs
- _CommandStream.cs
- AutomationTextAttribute.cs
- HostedHttpContext.cs
- DESCryptoServiceProvider.cs
- MsmqSecureHashAlgorithm.cs
- EmbeddedMailObject.cs
- Select.cs
- EventDescriptorCollection.cs
- Vector3DCollection.cs
- LayoutUtils.cs
- SoapSchemaImporter.cs
- TextDecorations.cs
- DataGridBoolColumn.cs
- RegexReplacement.cs
- CompressedStack.cs
- DetailsViewDeleteEventArgs.cs
- AssemblyAttributes.cs
- PageBuildProvider.cs
- EventMappingSettings.cs
- ObjectDataSourceDisposingEventArgs.cs
- TextTreeDeleteContentUndoUnit.cs
- BrowserCapabilitiesCodeGenerator.cs
- MessageProperties.cs
- ConfigsHelper.cs
- DocumentScope.cs
- ETagAttribute.cs
- DataGridCellsPanel.cs
- ToolBarOverflowPanel.cs
- PolicyImporterElementCollection.cs
- ObjectFullSpanRewriter.cs
- ClientRuntimeConfig.cs
- XpsFont.cs
- MaskedTextProvider.cs
- SimpleParser.cs
- recordstatefactory.cs
- DataGridTextBoxColumn.cs
- Journaling.cs
- ListItemsCollectionEditor.cs
- UIElement.cs
- TextBoxBaseDesigner.cs