Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Common / EntitySql / AST / BuiltInExpr.cs / 1305376 / BuiltInExpr.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.Diagnostics; ////// Defines the function class of builtin expressions. /// internal enum BuiltInKind { And, Or, Not, Cast, OfType, Treat, IsOf, Union, UnionAll, Intersect, Overlaps, AnyElement, Element, Except, Exists, Flatten, In, NotIn, Distinct, IsNull, IsNotNull, Like, Equal, NotEqual, LessEqual, LessThan, GreaterThan, GreaterEqual, Plus, Minus, Multiply, Divide, Modulus, UnaryMinus, UnaryPlus, Between, NotBetween } ////// Represents a builtin expression ast node. /// internal sealed class BuiltInExpr : Node { private BuiltInExpr(BuiltInKind kind, string name) { Kind = kind; Name = name.ToUpperInvariant(); } internal BuiltInExpr(BuiltInKind kind, string name, Node arg1) : this(kind, name) { ArgCount = 1; Arg1 = arg1; } internal BuiltInExpr(BuiltInKind kind, string name, Node arg1, Node arg2) : this(kind, name) { ArgCount = 2; Arg1 = arg1; Arg2 = arg2; } internal BuiltInExpr(BuiltInKind kind, string name, Node arg1, Node arg2, Node arg3) : this(kind, name) { ArgCount = 3; Arg1 = arg1; Arg2 = arg2; Arg3 = arg3; } internal BuiltInExpr(BuiltInKind kind, string name, Node arg1, Node arg2, Node arg3, Node arg4) : this(kind, name) { ArgCount = 4; Arg1 = arg1; Arg2 = arg2; Arg3 = arg3; Arg4 = arg4; } internal readonly BuiltInKind Kind; internal readonly string Name; internal readonly int ArgCount; internal readonly Node Arg1; internal readonly Node Arg2; internal readonly Node Arg3; internal readonly Node Arg4; } } // 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
- XappLauncher.cs
- BrowserTree.cs
- Repeater.cs
- UIElementParagraph.cs
- Encoding.cs
- ColumnMapProcessor.cs
- NamedPipeActivation.cs
- FactoryId.cs
- HttpPostedFile.cs
- PrintDocument.cs
- SqlTriggerAttribute.cs
- HttpInputStream.cs
- RelatedCurrencyManager.cs
- PopupControlService.cs
- XmlSchemaComplexContentExtension.cs
- SafeNativeMethodsCLR.cs
- ProfilePropertyNameValidator.cs
- WeakReferenceKey.cs
- AnnotationService.cs
- NCryptNative.cs
- PreviousTrackingServiceAttribute.cs
- TextParagraphProperties.cs
- AttributeTableBuilder.cs
- Expressions.cs
- MethodBuilderInstantiation.cs
- PersonalizationProvider.cs
- SiteMap.cs
- Models.cs
- AppendHelper.cs
- RSAOAEPKeyExchangeDeformatter.cs
- DBSqlParser.cs
- XomlCompilerError.cs
- XmlUtilWriter.cs
- MessageBox.cs
- XmlQueryContext.cs
- TimeEnumHelper.cs
- WpfPayload.cs
- ControlEvent.cs
- Msec.cs
- MimeMapping.cs
- SpeechRecognitionEngine.cs
- SortedDictionary.cs
- LostFocusEventManager.cs
- SplineKeyFrames.cs
- RuleSetReference.cs
- SqlGatherProducedAliases.cs
- MDIClient.cs
- FlowDocumentPageViewerAutomationPeer.cs
- SizeConverter.cs
- PartialList.cs
- PointHitTestResult.cs
- BrowserDefinitionCollection.cs
- FontFamilyValueSerializer.cs
- EastAsianLunisolarCalendar.cs
- BlockUIContainer.cs
- PublisherIdentityPermission.cs
- Walker.cs
- HorizontalAlignConverter.cs
- FrameworkElementFactory.cs
- TabPage.cs
- TextBreakpoint.cs
- MetricEntry.cs
- SortFieldComparer.cs
- CodeDirectiveCollection.cs
- DelegateSerializationHolder.cs
- BufferedOutputStream.cs
- CutCopyPasteHelper.cs
- ComponentGlyph.cs
- TableRowCollection.cs
- SqlStatistics.cs
- DataSource.cs
- SQLCharsStorage.cs
- TransportConfigurationTypeElement.cs
- XmlnsCache.cs
- Predicate.cs
- SessionState.cs
- FileDialogCustomPlace.cs
- RealizationContext.cs
- BufferedStream.cs
- MgmtConfigurationRecord.cs
- LocalizableResourceBuilder.cs
- Icon.cs
- QilChoice.cs
- DefaultValueConverter.cs
- TransformDescriptor.cs
- ToolStripControlHost.cs
- Rfc2898DeriveBytes.cs
- ResourceManagerWrapper.cs
- KoreanLunisolarCalendar.cs
- SettingsBindableAttribute.cs
- GridToolTip.cs
- followingquery.cs
- XsdDataContractExporter.cs
- DecoratedNameAttribute.cs
- AssemblyInfo.cs
- BaseProcessor.cs
- ExceptionRoutedEventArgs.cs
- Renderer.cs
- SqlDataSourceCache.cs
- XmlDictionaryWriter.cs