Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Common / EntitySql / AST / MethodExpr.cs / 1305376 / MethodExpr.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- namespace System.Data.Common.EntitySql.AST { using System; using System.Globalization; using System.Collections; using System.Collections.Generic; using System.Data.Common.CommandTrees; using System.Diagnostics; ////// Represents invocation expression: expr(...) /// internal sealed class MethodExpr : GroupAggregateExpr { private readonly Node _expr; private readonly NodeList_args; private readonly NodeList _relationships; /// /// Initializes method ast node. /// internal MethodExpr(Node expr, DistinctKind distinctKind, NodeListargs) : this (expr, distinctKind, args, null) { } /// /// Intializes a method ast node with relationships. /// internal MethodExpr(Node expr, DistinctKind distinctKind, NodeListargs, NodeList relationships) : base(distinctKind) { Debug.Assert(expr != null, "expr != null"); Debug.Assert(args == null || args.Count > 0, "args must be null or a non-empty list"); _expr = expr; _args = args; _relationships = relationships; } /// /// For the following expression: "a.b.c.Foo()", returns "a.b.c.Foo". /// internal Node Expr { get { return _expr; } } ////// Argument list. /// internal NodeListArgs { get { return _args; } } /// /// True if there are associated relationship expressions. /// internal bool HasRelationships { get { return null != _relationships && _relationships.Count > 0; } } ////// Optional relationship list. /// internal NodeListRelationships { get { return _relationships; } } } } // 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
- CodeGroup.cs
- OpenFileDialog.cs
- TextPointer.cs
- BinaryVersion.cs
- Int32.cs
- DeclarativeCatalogPartDesigner.cs
- DataGridViewCellConverter.cs
- TemplateControlParser.cs
- TransactionScope.cs
- ExpressionCopier.cs
- UnionExpr.cs
- DynamicActionMessageFilter.cs
- ExecutionEngineException.cs
- SchemaElementLookUpTable.cs
- TrackingLocationCollection.cs
- WebHostScriptMappingsInstallComponent.cs
- SchemaContext.cs
- Descriptor.cs
- ToolStripManager.cs
- TextAdaptor.cs
- RegistryKey.cs
- InternalTypeHelper.cs
- ThreadPool.cs
- PointCollection.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- DataControlField.cs
- CompiledIdentityConstraint.cs
- GridViewCommandEventArgs.cs
- ErrorProvider.cs
- IgnoreFileBuildProvider.cs
- DecimalAnimationUsingKeyFrames.cs
- ConnectionStringSettingsCollection.cs
- XmlDataSource.cs
- CustomPopupPlacement.cs
- Propagator.JoinPropagator.SubstitutingCloneVisitor.cs
- FrameworkElement.cs
- TransportationConfigurationTypeInstallComponent.cs
- StrokeNodeEnumerator.cs
- GridProviderWrapper.cs
- RichTextBox.cs
- HtmlInputButton.cs
- CompositeCollectionView.cs
- CrossAppDomainChannel.cs
- ImageKeyConverter.cs
- SQLSingle.cs
- TreeIterator.cs
- ComponentEditorPage.cs
- WebServiceBindingAttribute.cs
- BindStream.cs
- SharedDp.cs
- BrowserCapabilitiesFactoryBase.cs
- SiteMapNodeCollection.cs
- Regex.cs
- storepermissionattribute.cs
- HandledMouseEvent.cs
- SharedPersonalizationStateInfo.cs
- SequentialActivityDesigner.cs
- PersistStreamTypeWrapper.cs
- WebPartZoneBase.cs
- StylusPointDescription.cs
- webbrowsersite.cs
- ToolStripSettings.cs
- MembershipValidatePasswordEventArgs.cs
- TraceUtility.cs
- MembershipAdapter.cs
- EmbeddedObject.cs
- TextModifierScope.cs
- HtmlControl.cs
- FunctionGenerator.cs
- TextEditor.cs
- XmlJsonWriter.cs
- SafeCertificateStore.cs
- WebConfigurationHostFileChange.cs
- DataGridCell.cs
- NativeMethods.cs
- Transactions.cs
- DbConnectionFactory.cs
- CngAlgorithm.cs
- PropertyEmitterBase.cs
- OdbcCommandBuilder.cs
- QuarticEase.cs
- PageBreakRecord.cs
- MaskedTextProvider.cs
- ThreadAbortException.cs
- PersonalizationStateQuery.cs
- FileDialogCustomPlace.cs
- LinqToSqlWrapper.cs
- NestPullup.cs
- RightNameExpirationInfoPair.cs
- ExceptionTrace.cs
- ISAPIRuntime.cs
- SupportedAddressingMode.cs
- WebSysDisplayNameAttribute.cs
- FormViewPageEventArgs.cs
- EditCommandColumn.cs
- EmbossBitmapEffect.cs
- TagMapCollection.cs
- SystemInfo.cs
- TrackBar.cs
- DataExpression.cs