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
- DictionaryBase.cs
- UpdateCompiler.cs
- ImageField.cs
- UInt16Storage.cs
- X509Certificate2.cs
- autovalidator.cs
- nulltextcontainer.cs
- ToolStripItemDataObject.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- RowParagraph.cs
- XmlNodeChangedEventArgs.cs
- TreeNodeCollectionEditorDialog.cs
- WebSysDefaultValueAttribute.cs
- CryptoKeySecurity.cs
- MobileTextWriter.cs
- Crc32.cs
- AdCreatedEventArgs.cs
- EntityDataSourceUtil.cs
- _ConnectStream.cs
- SystemPens.cs
- ConfigurationException.cs
- ObjectDisposedException.cs
- Comparer.cs
- CodeRegionDirective.cs
- ComNativeDescriptor.cs
- RegexTree.cs
- RangeBaseAutomationPeer.cs
- SqlDataSourceConnectionPanel.cs
- SafeFileHandle.cs
- SqlDataReader.cs
- IIS7WorkerRequest.cs
- DocumentPageView.cs
- TypeReference.cs
- DirectionalLight.cs
- EditorPartChrome.cs
- XmlValidatingReader.cs
- DispatcherHooks.cs
- BindingEditor.xaml.cs
- SqlDataSourceEnumerator.cs
- CollectionContainer.cs
- HttpStreamFormatter.cs
- DataControlField.cs
- ActivityBindForm.cs
- Resources.Designer.cs
- __Error.cs
- HttpClientProtocol.cs
- DataGridViewButtonCell.cs
- SingleTagSectionHandler.cs
- NativeActivity.cs
- ListViewGroup.cs
- BrowserDefinition.cs
- SortAction.cs
- MessageDroppedTraceRecord.cs
- XmlEntity.cs
- Column.cs
- NotificationContext.cs
- WebPartMenuStyle.cs
- BindingCompleteEventArgs.cs
- TrustLevelCollection.cs
- SQLStringStorage.cs
- TextElementAutomationPeer.cs
- BlockExpression.cs
- PropertyOrder.cs
- UnsafeNativeMethods.cs
- ColorConverter.cs
- XmlQueryContext.cs
- EnumCodeDomSerializer.cs
- SByteStorage.cs
- MsmqIntegrationValidationBehavior.cs
- RepeaterCommandEventArgs.cs
- ExcCanonicalXml.cs
- XmlReturnReader.cs
- MobileSysDescriptionAttribute.cs
- WorkflowDefinitionDispenser.cs
- Brush.cs
- Block.cs
- GridSplitter.cs
- Substitution.cs
- UniqueConstraint.cs
- ListMarkerLine.cs
- COM2ComponentEditor.cs
- RightsManagementEncryptionTransform.cs
- TrackingProvider.cs
- StreamInfo.cs
- InvalidOleVariantTypeException.cs
- RuleProcessor.cs
- NativeRecognizer.cs
- ProcessInfo.cs
- TypefaceCollection.cs
- FileRecordSequenceCompletedAsyncResult.cs
- LayoutEngine.cs
- MenuItemBindingCollection.cs
- HtmlEncodedRawTextWriter.cs
- IconConverter.cs
- SqlDataSource.cs
- ProfileEventArgs.cs
- SqlInfoMessageEvent.cs
- OperationAbortedException.cs
- MultiDataTrigger.cs
- ItemsControl.cs