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
- LockedActivityGlyph.cs
- TextServicesCompartmentEventSink.cs
- SafeNativeMethods.cs
- COM2TypeInfoProcessor.cs
- XPathSingletonIterator.cs
- FastPropertyAccessor.cs
- ScrollData.cs
- ResumeStoryboard.cs
- TimeIntervalCollection.cs
- ElementHostAutomationPeer.cs
- BreakRecordTable.cs
- PageClientProxyGenerator.cs
- LedgerEntryCollection.cs
- ConnectionConsumerAttribute.cs
- UpDownBaseDesigner.cs
- ReadWriteSpinLock.cs
- ThreadExceptionEvent.cs
- AppDomainAttributes.cs
- Pkcs9Attribute.cs
- EmptyReadOnlyDictionaryInternal.cs
- DetailsViewModeEventArgs.cs
- LoginCancelEventArgs.cs
- StrongNameSignatureInformation.cs
- CryptoApi.cs
- WebControlsSection.cs
- TypeSystem.cs
- SmiTypedGetterSetter.cs
- URI.cs
- StringWriter.cs
- SortKey.cs
- RenderTargetBitmap.cs
- Thumb.cs
- Decoder.cs
- WmlObjectListAdapter.cs
- TemplatePagerField.cs
- HashHelper.cs
- OrderedDictionaryStateHelper.cs
- BinaryParser.cs
- MediaElementAutomationPeer.cs
- GroupBoxDesigner.cs
- DockProviderWrapper.cs
- SystemResources.cs
- Visitor.cs
- XmlAggregates.cs
- DockProviderWrapper.cs
- ShaderRenderModeValidation.cs
- PrimitiveType.cs
- IdentifierCreationService.cs
- DataServiceRequestException.cs
- DataPager.cs
- BinaryCommonClasses.cs
- _FixedSizeReader.cs
- XmlTextReaderImplHelpers.cs
- LinearKeyFrames.cs
- _DomainName.cs
- ConfigurationLocationCollection.cs
- AssertFilter.cs
- MonikerSyntaxException.cs
- MappingException.cs
- ToolStripPanelCell.cs
- XsltConvert.cs
- AttachmentService.cs
- TakeOrSkipWhileQueryOperator.cs
- AuthenticationException.cs
- SecurityAlgorithmSuiteConverter.cs
- WebControl.cs
- ResourceLoader.cs
- FileSystemEventArgs.cs
- EnumConverter.cs
- WindowsEditBoxRange.cs
- RelatedImageListAttribute.cs
- BindingParameterCollection.cs
- Collection.cs
- CssTextWriter.cs
- CodeConditionStatement.cs
- DesignParameter.cs
- StylusShape.cs
- MarginsConverter.cs
- SizeAnimationClockResource.cs
- Variant.cs
- IsolatedStorageFileStream.cs
- StrictAndMessageFilter.cs
- HtmlGenericControl.cs
- SafeProcessHandle.cs
- ControlFilterExpression.cs
- EventProviderWriter.cs
- QilSortKey.cs
- Fx.cs
- PageTheme.cs
- WebBrowserHelper.cs
- PhysicalFontFamily.cs
- XPathMultyIterator.cs
- GridViewColumnHeaderAutomationPeer.cs
- HttpRawResponse.cs
- WindowsSpinner.cs
- ServicesUtilities.cs
- ArcSegment.cs
- TdsEnums.cs
- DiscoveryClientDocuments.cs
- Keyboard.cs