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
- DataKeyPropertyAttribute.cs
- FrameworkTemplate.cs
- ConnectorRouter.cs
- XmlIterators.cs
- Events.cs
- SerializationAttributes.cs
- QuotaExceededException.cs
- TableCellAutomationPeer.cs
- Int64.cs
- DataControlFieldCollection.cs
- BindingEditor.xaml.cs
- WmpBitmapDecoder.cs
- CollectionType.cs
- _AutoWebProxyScriptHelper.cs
- TypeDefinition.cs
- FrameworkContentElementAutomationPeer.cs
- BindableAttribute.cs
- SqlPersonalizationProvider.cs
- FakeModelItemImpl.cs
- TableRowCollection.cs
- FastPropertyAccessor.cs
- RijndaelManagedTransform.cs
- ToolStripPanelRow.cs
- SizeFConverter.cs
- FixedTextView.cs
- RepeaterItemCollection.cs
- ComponentCommands.cs
- ControlType.cs
- DoubleKeyFrameCollection.cs
- EmptyReadOnlyDictionaryInternal.cs
- SafePEFileHandle.cs
- ProgressBarAutomationPeer.cs
- TypeNameConverter.cs
- PrintSystemException.cs
- cookieexception.cs
- HwndTarget.cs
- GridPatternIdentifiers.cs
- RemotingConfigParser.cs
- CatalogZone.cs
- XmlQueryOutput.cs
- ConfigurationLocation.cs
- IProducerConsumerCollection.cs
- FormConverter.cs
- ActivityInstanceMap.cs
- BinaryFormatter.cs
- StyleXamlParser.cs
- OperationResponse.cs
- Clock.cs
- AsymmetricKeyExchangeFormatter.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- XmlSchemaObjectTable.cs
- WindowsScroll.cs
- StylusPointPropertyUnit.cs
- FrameworkElement.cs
- WindowsFormsHelpers.cs
- DateTimeFormatInfo.cs
- ListViewUpdatedEventArgs.cs
- SessionStateModule.cs
- XmlStringTable.cs
- ValidatingCollection.cs
- sortedlist.cs
- FontStretch.cs
- ObjectDataSourceMethodEventArgs.cs
- OutputCacheSettingsSection.cs
- MemberRelationshipService.cs
- XmlNamedNodeMap.cs
- SQLSingleStorage.cs
- FontDialog.cs
- Claim.cs
- Activator.cs
- RenderTargetBitmap.cs
- QueryConverter.cs
- _RegBlobWebProxyDataBuilder.cs
- SafeLibraryHandle.cs
- EndPoint.cs
- DataBoundControl.cs
- Stylus.cs
- BinaryObjectWriter.cs
- BindableTemplateBuilder.cs
- X509CertificateCollection.cs
- MailWriter.cs
- COM2ExtendedUITypeEditor.cs
- CssTextWriter.cs
- Stroke2.cs
- TagMapCollection.cs
- XmlSchemaGroup.cs
- CacheChildrenQuery.cs
- TypedTableGenerator.cs
- HttpHandlerActionCollection.cs
- CalloutQueueItem.cs
- Descriptor.cs
- ClientRoleProvider.cs
- DataBindingCollectionConverter.cs
- TreeViewDesigner.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- DivideByZeroException.cs
- PropertyOrder.cs
- PhysicalOps.cs
- WindowsFormsSectionHandler.cs
- FormViewPagerRow.cs