QueryStatement.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Common / EntitySql / AST / QueryStatement.cs / 1305376 / QueryStatement.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;
 
    ///  
    /// Represents query statement AST.
    ///  
    internal sealed class QueryStatement : Statement
    {
        private readonly NodeList _functionDefList;
        private readonly Node _expr; 

        ///  
        /// Initializes query statement. 
        /// 
        /// optional function definitions 
        /// query top level expression
        internal QueryStatement(NodeList functionDefList, Node expr)
        {
            _functionDefList = functionDefList; 
            _expr = expr;
        } 
 
        /// 
        /// Returns optional function defintions. May be null. 
        /// 
        internal NodeList FunctionDefList
        {
            get { return _functionDefList; } 
        }
 
        ///  
        /// Returns query top-level expression.
        ///  
        internal Node Expr
        {
            get { return _expr; }
        } 
    }
} 

// 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;
 
    ///  
    /// Represents query statement AST.
    ///  
    internal sealed class QueryStatement : Statement
    {
        private readonly NodeList _functionDefList;
        private readonly Node _expr; 

        ///  
        /// Initializes query statement. 
        /// 
        /// optional function definitions 
        /// query top level expression
        internal QueryStatement(NodeList functionDefList, Node expr)
        {
            _functionDefList = functionDefList; 
            _expr = expr;
        } 
 
        /// 
        /// Returns optional function defintions. May be null. 
        /// 
        internal NodeList FunctionDefList
        {
            get { return _functionDefList; } 
        }
 
        ///  
        /// Returns query top-level expression.
        ///  
        internal Node Expr
        {
            get { return _expr; }
        } 
    }
} 

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK