Code:
/ 4.0 / 4.0 / 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. //---------------------------------------------------------------------- //// 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
- NativeMethods.cs
- ServiceDescriptionSerializer.cs
- ImageSource.cs
- CompModSwitches.cs
- MarshalByValueComponent.cs
- TcpChannelFactory.cs
- MembershipPasswordException.cs
- SignatureDescription.cs
- Mapping.cs
- DisplayToken.cs
- WebMessageEncodingBindingElement.cs
- PersonalizableTypeEntry.cs
- XmlILModule.cs
- Lasso.cs
- SqlClientWrapperSmiStreamChars.cs
- AbandonedMutexException.cs
- ManipulationDeltaEventArgs.cs
- ExtendedProtectionPolicyTypeConverter.cs
- FreeFormPanel.cs
- ObjectParameter.cs
- HuffCodec.cs
- DefaultEvaluationContext.cs
- ChangePassword.cs
- TreeNodeConverter.cs
- SafeSecurityHelper.cs
- COM2ExtendedUITypeEditor.cs
- DocumentPage.cs
- BuildProviderAppliesToAttribute.cs
- DeploymentExceptionMapper.cs
- FontDriver.cs
- PolicyStatement.cs
- AuthenticationModulesSection.cs
- XmlSchema.cs
- SiteOfOriginContainer.cs
- SqlError.cs
- BasicViewGenerator.cs
- ToolStripPanelRow.cs
- DataSourceHelper.cs
- Globals.cs
- MediaPlayer.cs
- EnumUnknown.cs
- SqlXmlStorage.cs
- GrammarBuilder.cs
- GrammarBuilderRuleRef.cs
- Transform.cs
- CharacterBufferReference.cs
- Events.cs
- SemaphoreSecurity.cs
- DiscardableAttribute.cs
- QuotedPrintableStream.cs
- MouseDevice.cs
- ColorContextHelper.cs
- SequenceNumber.cs
- CustomError.cs
- DrawingCollection.cs
- WSFederationHttpSecurity.cs
- QueryResponse.cs
- QueryStringParameter.cs
- PropertyInformationCollection.cs
- sqlcontext.cs
- AttachedAnnotation.cs
- DirectoryNotFoundException.cs
- IdentityNotMappedException.cs
- COMException.cs
- DataGrid.cs
- OdbcConnectionStringbuilder.cs
- TokenBasedSetEnumerator.cs
- ValidationResults.cs
- HyperLinkStyle.cs
- AttributeEmitter.cs
- CheckBox.cs
- SHA384.cs
- OrderedDictionary.cs
- GridItem.cs
- CommandHelper.cs
- DataGridRelationshipRow.cs
- Item.cs
- DataListItemEventArgs.cs
- ColumnResizeUndoUnit.cs
- ObjectListComponentEditor.cs
- path.cs
- TextCompositionManager.cs
- WebHttpBindingElement.cs
- SafeBitVector32.cs
- PersonalizablePropertyEntry.cs
- RtfControlWordInfo.cs
- MiniConstructorInfo.cs
- MinimizableAttributeTypeConverter.cs
- Helpers.cs
- ImageField.cs
- IncrementalHitTester.cs
- ToolConsole.cs
- DataException.cs
- PriorityChain.cs
- GridSplitter.cs
- TableLayoutSettings.cs
- TaskbarItemInfo.cs
- DataBoundControl.cs
- PropertyMetadata.cs
- InputDevice.cs