CreateRefExpr.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataEntity / System / Data / Common / EntitySql / CreateRefExpr.cs / 1 / CreateRefExpr.cs

                            //---------------------------------------------------------------------- 
// 
//      Copyproperty (c) Microsoft Corporation.  All propertys reserved.
// 
// 
// @owner  [....]
// @backup [....] 
//--------------------------------------------------------------------- 

 
namespace System.Data.Common.EntitySql
{
    using System;
    using System.Globalization; 
    using System.Collections;
    using System.Collections.Generic; 
 

    ///  
    /// Represents CREATEREF expression
    ///     createref( entitySet, keys )
    /// 
    internal sealed class CreateRefExpr : Expr 
    {
        private Expr _entitySet; 
        private Expr _keys; 
        private Expr _typeIdentifier;
 
        /// 
        /// Initializes CreateRefExpr
        /// 
        /// expression representing the entity set 
        /// 
        internal CreateRefExpr( Expr entitySet, Expr keys ) 
        { 
            _entitySet = entitySet;
            _keys = keys; 
        }

        /// 
        /// Initializes CreateRefExpr 
        /// 
        ///  
        ///  
        /// 
        internal CreateRefExpr(Expr entitySet, Expr keys, Expr typeIdentifier ) 
        {
            _entitySet = entitySet;
            _keys = keys;
            _typeIdentifier = typeIdentifier; 
        }
 
        ///  
        /// return the expression for the entity set
        ///  
        internal Expr EntitySet
        {
            get { return _entitySet; }
        } 

        ///  
        /// returns the expression for the keys 
        /// 
        internal Expr Keys 
        {
            get { return _keys; }
        }
 
        /// 
        /// gets typeidentifier if exists 
        ///  
        internal Expr TypeIdentifier
        { 
            get { return _typeIdentifier; }
        }

    } 

 
 
    /// 
    /// Represents KEY expression 
    ///     key( expr )
    /// 
    internal class KeyExpr : Expr
    { 
        private Expr _refExpr;
 
        ///  
        /// initializes KEY expression
        ///  
        /// 
        internal KeyExpr( Expr refExpr )
        {
            _refExpr = refExpr; 
        }
 
        ///  
        /// returns ref inner expression
        ///  
        internal Expr RefExpr
        {
            get { return _refExpr; }
        } 
    }
 
} 

 

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
//---------------------------------------------------------------------- 
// 
//      Copyproperty (c) Microsoft Corporation.  All propertys reserved.
// 
// 
// @owner  [....]
// @backup [....] 
//--------------------------------------------------------------------- 

 
namespace System.Data.Common.EntitySql
{
    using System;
    using System.Globalization; 
    using System.Collections;
    using System.Collections.Generic; 
 

    ///  
    /// Represents CREATEREF expression
    ///     createref( entitySet, keys )
    /// 
    internal sealed class CreateRefExpr : Expr 
    {
        private Expr _entitySet; 
        private Expr _keys; 
        private Expr _typeIdentifier;
 
        /// 
        /// Initializes CreateRefExpr
        /// 
        /// expression representing the entity set 
        /// 
        internal CreateRefExpr( Expr entitySet, Expr keys ) 
        { 
            _entitySet = entitySet;
            _keys = keys; 
        }

        /// 
        /// Initializes CreateRefExpr 
        /// 
        ///  
        ///  
        /// 
        internal CreateRefExpr(Expr entitySet, Expr keys, Expr typeIdentifier ) 
        {
            _entitySet = entitySet;
            _keys = keys;
            _typeIdentifier = typeIdentifier; 
        }
 
        ///  
        /// return the expression for the entity set
        ///  
        internal Expr EntitySet
        {
            get { return _entitySet; }
        } 

        ///  
        /// returns the expression for the keys 
        /// 
        internal Expr Keys 
        {
            get { return _keys; }
        }
 
        /// 
        /// gets typeidentifier if exists 
        ///  
        internal Expr TypeIdentifier
        { 
            get { return _typeIdentifier; }
        }

    } 

 
 
    /// 
    /// Represents KEY expression 
    ///     key( expr )
    /// 
    internal class KeyExpr : Expr
    { 
        private Expr _refExpr;
 
        ///  
        /// initializes KEY expression
        ///  
        /// 
        internal KeyExpr( Expr refExpr )
        {
            _refExpr = refExpr; 
        }
 
        ///  
        /// returns ref inner expression
        ///  
        internal Expr RefExpr
        {
            get { return _refExpr; }
        } 
    }
 
} 

 

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
                        

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