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
- AutoResizedEvent.cs
- TextProviderWrapper.cs
- ReachPageContentSerializerAsync.cs
- MeshGeometry3D.cs
- RenderingEventArgs.cs
- DecryptRequest.cs
- ContextConfiguration.cs
- AmbientLight.cs
- EventLogPermissionHolder.cs
- ExceptionUtil.cs
- Adorner.cs
- PermissionSetEnumerator.cs
- ObjectListCommandsPage.cs
- NavigationHelper.cs
- UnitySerializationHolder.cs
- PermissionSetTriple.cs
- MultiTouchSystemGestureLogic.cs
- URIFormatException.cs
- ProfileService.cs
- XmlHierarchicalEnumerable.cs
- Compiler.cs
- Crc32Helper.cs
- TemplateBindingExpression.cs
- GridEntryCollection.cs
- VisualTreeUtils.cs
- GridViewUpdateEventArgs.cs
- BinaryFormatter.cs
- ZipIOCentralDirectoryBlock.cs
- SkipQueryOptionExpression.cs
- HostedHttpTransportManager.cs
- PolicyDesigner.cs
- SoapObjectReader.cs
- TraceContextEventArgs.cs
- Model3D.cs
- RtType.cs
- WebPermission.cs
- DelayedRegex.cs
- ManagementScope.cs
- ItemAutomationPeer.cs
- SpeakInfo.cs
- EventLogPermissionEntry.cs
- WebPartTransformerCollection.cs
- RadioButtonFlatAdapter.cs
- EncryptedType.cs
- ProcessModelSection.cs
- ManagementObjectCollection.cs
- WebServiceResponse.cs
- XmlAnyAttributeAttribute.cs
- RecognizedPhrase.cs
- CharUnicodeInfo.cs
- ExpressionPrinter.cs
- ErrorsHelper.cs
- CuspData.cs
- MarkupProperty.cs
- CompositeActivityTypeDescriptorProvider.cs
- _UriSyntax.cs
- DetailsViewPagerRow.cs
- CalendarButton.cs
- ControlAdapter.cs
- DataStreams.cs
- DeploymentSection.cs
- TextTreeRootTextBlock.cs
- XPathBinder.cs
- UITypeEditor.cs
- ServiceKnownTypeAttribute.cs
- FixedSOMPageConstructor.cs
- FlowNode.cs
- DeploymentSection.cs
- WindowsImpersonationContext.cs
- EnumerationRangeValidationUtil.cs
- ClientFormsIdentity.cs
- AudienceUriMode.cs
- XamlSerializer.cs
- ResourceDescriptionAttribute.cs
- SourceItem.cs
- ObjectIDGenerator.cs
- CellRelation.cs
- Application.cs
- String.cs
- TypeResolvingOptionsAttribute.cs
- LockCookie.cs
- LabelTarget.cs
- WsdlBuildProvider.cs
- LocationUpdates.cs
- AutomationFocusChangedEventArgs.cs
- DataGridViewRowsRemovedEventArgs.cs
- QuaternionKeyFrameCollection.cs
- MetabaseServerConfig.cs
- FolderBrowserDialog.cs
- TrustLevelCollection.cs
- DbUpdateCommandTree.cs
- NavigationWindowAutomationPeer.cs
- PerformanceCounterCategory.cs
- XmlSortKeyAccumulator.cs
- PeerContact.cs
- ButtonStandardAdapter.cs
- HTTPAPI_VERSION.cs
- StylusShape.cs
- EditorAttributeInfo.cs
- FixedBufferAttribute.cs