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
- Help.cs
- TextMetrics.cs
- MsmqInputChannelBase.cs
- UdpTransportSettingsElement.cs
- ResourceWriter.cs
- OdbcFactory.cs
- controlskin.cs
- HandlerBase.cs
- LicFileLicenseProvider.cs
- DesignerAdapterUtil.cs
- SqlExpressionNullability.cs
- WindowsButton.cs
- WhereaboutsReader.cs
- FontCacheUtil.cs
- HMACSHA512.cs
- CompiledQuery.cs
- ListViewDeleteEventArgs.cs
- ObjectDataSourceDesigner.cs
- Serializer.cs
- ExecutionTracker.cs
- SafeLocalMemHandle.cs
- CommonRemoteMemoryBlock.cs
- VerticalAlignConverter.cs
- SqlVisitor.cs
- NetworkInformationException.cs
- TaiwanLunisolarCalendar.cs
- TableCellCollection.cs
- CustomSignedXml.cs
- SQLDecimalStorage.cs
- ArgIterator.cs
- LineGeometry.cs
- CodeValidator.cs
- FacetDescriptionElement.cs
- ToolStripArrowRenderEventArgs.cs
- UnmanagedHandle.cs
- OuterGlowBitmapEffect.cs
- DefaultPrintController.cs
- BindToObject.cs
- ErrorHandler.cs
- FlowDocumentView.cs
- ObjectDataSourceChooseTypePanel.cs
- FixedSOMPageConstructor.cs
- TreeViewImageIndexConverter.cs
- SmtpNtlmAuthenticationModule.cs
- StringDictionary.cs
- NonSerializedAttribute.cs
- PeerResolverMode.cs
- EntityContainer.cs
- DataGridViewColumnHeaderCell.cs
- Expression.cs
- RegexInterpreter.cs
- SmtpDigestAuthenticationModule.cs
- RadioButtonFlatAdapter.cs
- AuthorizationRuleCollection.cs
- WriteableBitmap.cs
- ExceptionUtil.cs
- RuntimeConfigLKG.cs
- DoubleUtil.cs
- StandardMenuStripVerb.cs
- TypeListConverter.cs
- ProxyHelper.cs
- FixedHyperLink.cs
- TableChangeProcessor.cs
- ColumnTypeConverter.cs
- MenuTracker.cs
- SqlBuffer.cs
- ConcurrentDictionary.cs
- COM2TypeInfoProcessor.cs
- IDQuery.cs
- StyleSelector.cs
- ResourcePermissionBase.cs
- EntityContainer.cs
- HierarchicalDataBoundControl.cs
- XmlFormatExtensionPrefixAttribute.cs
- SmtpReplyReaderFactory.cs
- SrgsRuleRef.cs
- HttpRuntime.cs
- InvokeWebService.cs
- AccessDataSourceView.cs
- AnnotationComponentChooser.cs
- OletxTransactionFormatter.cs
- CommandHelpers.cs
- Model3DGroup.cs
- TemplateControlBuildProvider.cs
- NotFiniteNumberException.cs
- CounterCreationDataConverter.cs
- ConfigXmlReader.cs
- VersionedStream.cs
- ContentType.cs
- TrustLevelCollection.cs
- DefaultMemberAttribute.cs
- DefaultTraceListener.cs
- LogAppendAsyncResult.cs
- RegexRunnerFactory.cs
- RuleInfoComparer.cs
- XamlTreeBuilderBamlRecordWriter.cs
- AssertFilter.cs
- BasePropertyDescriptor.cs
- UriScheme.cs
- PtsContext.cs