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
- EditorZoneAutoFormat.cs
- MouseDevice.cs
- HttpProfileGroupBase.cs
- EntityClientCacheEntry.cs
- SemanticAnalyzer.cs
- RetrieveVirtualItemEventArgs.cs
- NameValueSectionHandler.cs
- MergePropertyDescriptor.cs
- DataViewSetting.cs
- DesignerVerb.cs
- ProcessHostConfigUtils.cs
- ComponentResourceManager.cs
- TypeConverter.cs
- TrustManagerPromptUI.cs
- EncryptedReference.cs
- EventDescriptor.cs
- FieldNameLookup.cs
- SchemaHelper.cs
- TextureBrush.cs
- _Semaphore.cs
- ExceptionUtil.cs
- Comparer.cs
- TypeUsage.cs
- ExpressionEditorAttribute.cs
- EUCJPEncoding.cs
- StringConverter.cs
- TemplateBindingExtension.cs
- GuidelineCollection.cs
- SmiXetterAccessMap.cs
- AsymmetricAlgorithm.cs
- LiteralControl.cs
- SettingsSavedEventArgs.cs
- HttpModule.cs
- RawUIStateInputReport.cs
- XmlSchemaComplexType.cs
- CommandBinding.cs
- SafeBitVector32.cs
- UnicastIPAddressInformationCollection.cs
- HttpDictionary.cs
- Vector.cs
- FormsAuthenticationModule.cs
- BitStream.cs
- WindowsRebar.cs
- TemplateBamlRecordReader.cs
- PnrpPermission.cs
- CodeTypeReferenceCollection.cs
- StringArrayConverter.cs
- SubMenuStyleCollection.cs
- OrderedDictionary.cs
- UidManager.cs
- HybridDictionary.cs
- TickBar.cs
- PeerTransportSecurityElement.cs
- SystemResources.cs
- XmlDownloadManager.cs
- WebBrowserEvent.cs
- BitmapDownload.cs
- UIInitializationException.cs
- SectionXmlInfo.cs
- PkcsUtils.cs
- ProfileParameter.cs
- RemotingException.cs
- TrustDriver.cs
- TextRangeEdit.cs
- DataGridPageChangedEventArgs.cs
- ObjectNavigationPropertyMapping.cs
- QuaternionKeyFrameCollection.cs
- ToolStripItemTextRenderEventArgs.cs
- ColorConverter.cs
- Vector3DCollection.cs
- HandlerBase.cs
- HtmlInputHidden.cs
- EncryptedPackageFilter.cs
- CodeGeneratorAttribute.cs
- SqlHelper.cs
- VirtualDirectoryMappingCollection.cs
- Latin1Encoding.cs
- SqlXmlStorage.cs
- XamlStyleSerializer.cs
- HyperlinkAutomationPeer.cs
- MemberJoinTreeNode.cs
- XmlHelper.cs
- TimeoutStream.cs
- GCHandleCookieTable.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- Dispatcher.cs
- TransactionException.cs
- FixedDocument.cs
- CaretElement.cs
- WrapPanel.cs
- TraceContextRecord.cs
- GridViewUpdatedEventArgs.cs
- ManagedCodeMarkers.cs
- KeyboardNavigation.cs
- InputProcessorProfiles.cs
- EventProvider.cs
- AutoResizedEvent.cs
- MediaElement.cs
- XslCompiledTransform.cs
- Globals.cs