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
- SiteMap.cs
- GridViewRowEventArgs.cs
- GeneralTransformGroup.cs
- BindingListCollectionView.cs
- EntityDataReader.cs
- ProbeMatchesMessage11.cs
- ActivityStateRecord.cs
- IgnoreFileBuildProvider.cs
- EmbossBitmapEffect.cs
- WebContentFormatHelper.cs
- TransformValueSerializer.cs
- TableRowGroup.cs
- DataPager.cs
- UIElementHelper.cs
- MouseBinding.cs
- PhysicalAddress.cs
- SecurityUniqueId.cs
- ChtmlImageAdapter.cs
- XmlEncoding.cs
- SimpleLine.cs
- TypedDataSetSchemaImporterExtensionFx35.cs
- ObjectContext.cs
- PartialArray.cs
- URIFormatException.cs
- FindCompletedEventArgs.cs
- CommonObjectSecurity.cs
- DependencyProperty.cs
- BufferedWebEventProvider.cs
- DependencyPropertyKey.cs
- DataRowView.cs
- RawMouseInputReport.cs
- Opcode.cs
- CodeTypeParameter.cs
- Region.cs
- RelationshipConverter.cs
- XmlExpressionDumper.cs
- BaseHashHelper.cs
- TextEffect.cs
- Int32RectValueSerializer.cs
- HashHelper.cs
- InvalidOperationException.cs
- ConfigurationProperty.cs
- Stackframe.cs
- mediaclock.cs
- SqlInternalConnectionTds.cs
- uribuilder.cs
- WebBrowserNavigatingEventHandler.cs
- UnsafeNativeMethods.cs
- RoleManagerModule.cs
- PerspectiveCamera.cs
- MdImport.cs
- InvalidCommandTreeException.cs
- MethodResolver.cs
- DataGridViewCellMouseEventArgs.cs
- KeyMatchBuilder.cs
- HeaderPanel.cs
- WindowsTooltip.cs
- URLString.cs
- ObjectStorage.cs
- ToolStripDropDownItem.cs
- WebPartConnectionsDisconnectVerb.cs
- ReadOnlyDictionary.cs
- AppliedDeviceFiltersDialog.cs
- RefreshEventArgs.cs
- ProtocolElement.cs
- FloaterBaseParaClient.cs
- ServiceNotStartedException.cs
- WebControlParameterProxy.cs
- SignatureDescription.cs
- EventLog.cs
- PersistenceMetadataNamespace.cs
- WebPartConnectionsDisconnectVerb.cs
- AutomationAttributeInfo.cs
- CompiledQuery.cs
- ReachDocumentPageSerializer.cs
- WebConfigurationFileMap.cs
- CodeStatementCollection.cs
- QuotedStringWriteStateInfo.cs
- ObjectComplexPropertyMapping.cs
- MetadataItemEmitter.cs
- ManagementObjectSearcher.cs
- SmtpNtlmAuthenticationModule.cs
- DrawItemEvent.cs
- ZipIOBlockManager.cs
- DataError.cs
- GetIndexBinder.cs
- StylusOverProperty.cs
- CodeIdentifiers.cs
- SqlExpressionNullability.cs
- ConfigXmlElement.cs
- ObjectTag.cs
- DisplayNameAttribute.cs
- StylusPlugInCollection.cs
- SubMenuStyle.cs
- WmlPanelAdapter.cs
- ContentOperations.cs
- TextTrailingWordEllipsis.cs
- GeometryGroup.cs
- MultiTargetingUtil.cs
- GeneralTransform.cs