Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataWeb / Client / System / Data / Services / Client / ALinq / QueryOptionExpression.cs / 1305376 / QueryOptionExpression.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // //// Respresents a query option in resource bound expression tree. // // // @owner [....] //--------------------------------------------------------------------- namespace System.Data.Services.Client { using System; using System.Diagnostics; using System.Linq.Expressions; ////// An resource specific expression representing a query option. /// internal abstract class QueryOptionExpression : Expression { ////// Creates a QueryOptionExpression expression /// /// expression node type /// the return type of the expression #pragma warning disable 618 internal QueryOptionExpression(ExpressionType nodeType, Type type) : base(nodeType, type) { } #pragma warning restore 618 ////// Composes the ///expression with this one when it's specified multiple times. /// to compose. /// /// The expression that results from composing the internal virtual QueryOptionExpression ComposeMultipleSpecification(QueryOptionExpression previous) { Debug.Assert(previous != null, "other != null"); Debug.Assert(previous.GetType() == this.GetType(), "other.GetType == this.GetType() -- otherwise it's not the same specification"); return this; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------- //expression with this one. /// // Copyright (c) Microsoft Corporation. All rights reserved. // //// Respresents a query option in resource bound expression tree. // // // @owner [....] //--------------------------------------------------------------------- namespace System.Data.Services.Client { using System; using System.Diagnostics; using System.Linq.Expressions; ////// An resource specific expression representing a query option. /// internal abstract class QueryOptionExpression : Expression { ////// Creates a QueryOptionExpression expression /// /// expression node type /// the return type of the expression #pragma warning disable 618 internal QueryOptionExpression(ExpressionType nodeType, Type type) : base(nodeType, type) { } #pragma warning restore 618 ////// Composes the ///expression with this one when it's specified multiple times. /// to compose. /// /// The expression that results from composing the internal virtual QueryOptionExpression ComposeMultipleSpecification(QueryOptionExpression previous) { Debug.Assert(previous != null, "other != null"); Debug.Assert(previous.GetType() == this.GetType(), "other.GetType == this.GetType() -- otherwise it's not the same specification"); return this; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.expression with this one. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SHA1CryptoServiceProvider.cs
- ConfigurationCollectionAttribute.cs
- SoapIncludeAttribute.cs
- cache.cs
- Row.cs
- _Win32.cs
- XmlMapping.cs
- UidManager.cs
- Polygon.cs
- SchemaElementLookUpTableEnumerator.cs
- XmlSchemaCompilationSettings.cs
- Application.cs
- Path.cs
- RecognitionResult.cs
- MailWebEventProvider.cs
- WizardStepBase.cs
- FamilyTypefaceCollection.cs
- SafeHandles.cs
- SourceLineInfo.cs
- XslTransform.cs
- GridViewEditEventArgs.cs
- SerializationInfo.cs
- ColumnPropertiesGroup.cs
- Errors.cs
- DynamicMetaObjectBinder.cs
- SupportsEventValidationAttribute.cs
- Byte.cs
- StatusBarDrawItemEvent.cs
- MemoryResponseElement.cs
- SpinWait.cs
- GeometryGroup.cs
- SqlEnums.cs
- XmlMtomReader.cs
- LinkArea.cs
- PixelShader.cs
- Operand.cs
- ClientUtils.cs
- PropertyAccessVisitor.cs
- EntitySetBaseCollection.cs
- QuaternionAnimationBase.cs
- DataRelation.cs
- SystemGatewayIPAddressInformation.cs
- UnicodeEncoding.cs
- FixedStringLookup.cs
- ScrollPattern.cs
- WebScriptMetadataMessageEncoderFactory.cs
- LinqDataSourceValidationException.cs
- Annotation.cs
- AppSettings.cs
- DataGridItemCollection.cs
- JumpItem.cs
- SqlResolver.cs
- DirectoryNotFoundException.cs
- ByteAnimationUsingKeyFrames.cs
- ReadContentAsBinaryHelper.cs
- ObjectPropertyMapping.cs
- Timeline.cs
- InputLangChangeEvent.cs
- CharacterHit.cs
- OpenTypeCommon.cs
- FontSizeConverter.cs
- GetLastErrorDetailsRequest.cs
- AlphabetConverter.cs
- XmlAtomicValue.cs
- DataObjectAttribute.cs
- Transform3D.cs
- OracleSqlParser.cs
- AutomationTextAttribute.cs
- CursorConverter.cs
- IERequestCache.cs
- KeyGesture.cs
- CollectionView.cs
- GridViewPageEventArgs.cs
- ContractUtils.cs
- MaterialGroup.cs
- FixedFlowMap.cs
- RectangleGeometry.cs
- ActivationArguments.cs
- DataSourceExpression.cs
- SectionInformation.cs
- EntityClassGenerator.cs
- ReverseQueryOperator.cs
- ObjectTypeMapping.cs
- BinaryFormatterWriter.cs
- Dictionary.cs
- ExceptionValidationRule.cs
- XMLSyntaxException.cs
- ApplicationServiceManager.cs
- HyperLinkField.cs
- ReturnType.cs
- PageBuildProvider.cs
- PrimitiveXmlSerializers.cs
- WebPartCatalogCloseVerb.cs
- QilInvokeEarlyBound.cs
- DesignerDataView.cs
- Int32Converter.cs
- ClientOperationFormatterProvider.cs
- TypeUtil.cs
- DiscoveryDocumentSerializer.cs
- BindingContext.cs