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
- RawStylusSystemGestureInputReport.cs
- ConsoleTraceListener.cs
- CorePropertiesFilter.cs
- SqlAliasesReferenced.cs
- AssemblyBuilder.cs
- ServiceRouteHandler.cs
- WindowsRegion.cs
- TableCell.cs
- HtmlControl.cs
- InfoCardRSACryptoProvider.cs
- NodeFunctions.cs
- Validator.cs
- ThreadAbortException.cs
- EntityContainerEmitter.cs
- XmlValueConverter.cs
- PathFigure.cs
- Win32PrintDialog.cs
- ViewBox.cs
- PageContentCollection.cs
- GenericPrincipal.cs
- WebContext.cs
- XmlCharCheckingWriter.cs
- SystemIPInterfaceStatistics.cs
- XamlWriter.cs
- FontEmbeddingManager.cs
- XmlSchemaExporter.cs
- BamlBinaryWriter.cs
- WebInvokeAttribute.cs
- DesignerLoader.cs
- WorkflowDesignerMessageFilter.cs
- SmiEventSink_DeferedProcessing.cs
- cookie.cs
- oledbconnectionstring.cs
- ToolStripDropDownButton.cs
- AssemblyResourceLoader.cs
- SoapConverter.cs
- HtmlControlDesigner.cs
- EpmSyndicationContentDeSerializer.cs
- DataSetSchema.cs
- RenderCapability.cs
- OrderedHashRepartitionEnumerator.cs
- ServiceDeploymentInfo.cs
- StringFunctions.cs
- DeviceSpecific.cs
- WebPartEditorCancelVerb.cs
- Binding.cs
- SystemColors.cs
- SafeCryptoHandles.cs
- Guid.cs
- DetailsViewRow.cs
- TypeConstant.cs
- SourceElementsCollection.cs
- OleDbInfoMessageEvent.cs
- FormViewPagerRow.cs
- ProviderIncompatibleException.cs
- MultiPageTextView.cs
- DataIdProcessor.cs
- ToolStripDesignerUtils.cs
- wgx_exports.cs
- Int32CollectionValueSerializer.cs
- SystemSounds.cs
- TdsParserStaticMethods.cs
- FlowDocumentReader.cs
- WebBrowserUriTypeConverter.cs
- DbConnectionPool.cs
- Style.cs
- XmlIlVisitor.cs
- TreeViewDesigner.cs
- TypefaceMetricsCache.cs
- Control.cs
- ColumnHeader.cs
- NCryptNative.cs
- IPGlobalProperties.cs
- SystemWebSectionGroup.cs
- SmtpException.cs
- Atom10FormatterFactory.cs
- CodeIndexerExpression.cs
- XmlElementCollection.cs
- RowVisual.cs
- MailAddress.cs
- PointCollection.cs
- HitTestDrawingContextWalker.cs
- PolicyException.cs
- UIElementParaClient.cs
- ColorAnimation.cs
- UserControlCodeDomTreeGenerator.cs
- EndpointAddressAugust2004.cs
- NativeObjectSecurity.cs
- XamlReader.cs
- PersonalizationEntry.cs
- BitmapEffectDrawingContextWalker.cs
- ButtonColumn.cs
- ParallelTimeline.cs
- DataGridViewRowConverter.cs
- HitTestWithGeometryDrawingContextWalker.cs
- ArrangedElement.cs
- PropertyPath.cs
- ResourcePermissionBaseEntry.cs
- ISessionStateStore.cs
- RawContentTypeMapper.cs