EntityFunctions.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 / Objects / EntityFunctions.cs / 1305376 / EntityFunctions.cs

                            //------------------------------------------------------------------------------ 
// 
//      Copyright (c) Microsoft Corporation.  All rights reserved.
// 
 
// 
//     This code was generated by a tool. 
//     Generation date and time : 6/1/2009 17:12:49.8051185 
//
//     Changes to this file will be lost if the code is regenerated. 
// 

// @owner    [....]
// @backupOwner [....] 
//-----------------------------------------------------------------------------
 
using System.Collections.Generic; 
using System.Data.Objects;
using System.Data.Objects.DataClasses; 
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
 
namespace System.Data.Objects
{ 
    ///  
    /// Contains function stubs that expose Edm methods in Linq to Entities.
    ///  
    public static partial class EntityFunctions
    {
        /// 
        /// Proxy for the function Edm.StDev 
        /// 
        [EdmFunction("Edm", "StDev")] 
        public static System.Double? StandardDeviation(IEnumerable collection) 
        {
            ObjectQuery objectQuerySource = collection as ObjectQuery; 
            if (objectQuerySource != null)
            {
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
            } 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        } 
 
        /// 
        /// Proxy for the function Edm.StDev 
        /// 
        [EdmFunction("Edm", "StDev")]
        public static System.Double? StandardDeviation(IEnumerable collection)
        { 
            ObjectQuery objectQuerySource = collection as ObjectQuery;
            if (objectQuerySource != null) 
            { 
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
            } 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.StDev
        ///  
        [EdmFunction("Edm", "StDev")] 
        public static System.Double? StandardDeviation(IEnumerable collection)
        { 
            ObjectQuery objectQuerySource = collection as ObjectQuery;
            if (objectQuerySource != null)
            {
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 
            }
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 
        } 

        ///  
        /// Proxy for the function Edm.StDev
        /// 
        [EdmFunction("Edm", "StDev")]
        public static System.Double? StandardDeviation(IEnumerable collection) 
        {
            ObjectQuery objectQuerySource = collection as ObjectQuery; 
            if (objectQuerySource != null) 
            {
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 
            }
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }
 
        /// 
        /// Proxy for the function Edm.StDev 
        ///  
        [EdmFunction("Edm", "StDev")]
        public static System.Double? StandardDeviation(IEnumerable collection) 
        {
            ObjectQuery objectQuerySource = collection as ObjectQuery;
            if (objectQuerySource != null)
            { 
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
            } 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 
        }
 
        /// 
        /// Proxy for the function Edm.StDev
        /// 
        [EdmFunction("Edm", "StDev")] 
        public static System.Double? StandardDeviation(IEnumerable collection)
        { 
            ObjectQuery objectQuerySource = collection as ObjectQuery; 
            if (objectQuerySource != null)
            { 
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
            }
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        } 

        ///  
        /// Proxy for the function Edm.StDev 
        /// 
        [EdmFunction("Edm", "StDev")] 
        public static System.Double? StandardDeviation(IEnumerable collection)
        {
            ObjectQuery objectQuerySource = collection as ObjectQuery;
            if (objectQuerySource != null) 
            {
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 
            } 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        } 

        /// 
        /// Proxy for the function Edm.StDev
        ///  
        [EdmFunction("Edm", "StDev")]
        public static System.Double? StandardDeviation(IEnumerable collection) 
        { 
            ObjectQuery objectQuerySource = collection as ObjectQuery;
            if (objectQuerySource != null) 
            {
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
            }
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 
        }
 
        ///  
        /// Proxy for the function Edm.StDevP
        ///  
        [EdmFunction("Edm", "StDevP")]
        public static System.Double? StandardDeviationP(IEnumerable collection)
        {
            ObjectQuery objectQuerySource = collection as ObjectQuery; 
            if (objectQuerySource != null)
            { 
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 
            }
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 
        }

        /// 
        /// Proxy for the function Edm.StDevP 
        /// 
        [EdmFunction("Edm", "StDevP")] 
        public static System.Double? StandardDeviationP(IEnumerable collection) 
        {
            ObjectQuery objectQuerySource = collection as ObjectQuery; 
            if (objectQuerySource != null)
            {
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
            } 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        } 
 
        /// 
        /// Proxy for the function Edm.StDevP 
        /// 
        [EdmFunction("Edm", "StDevP")]
        public static System.Double? StandardDeviationP(IEnumerable collection)
        { 
            ObjectQuery objectQuerySource = collection as ObjectQuery;
            if (objectQuerySource != null) 
            { 
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
            } 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.StDevP
        ///  
        [EdmFunction("Edm", "StDevP")] 
        public static System.Double? StandardDeviationP(IEnumerable collection)
        { 
            ObjectQuery objectQuerySource = collection as ObjectQuery;
            if (objectQuerySource != null)
            {
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 
            }
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 
        } 

        ///  
        /// Proxy for the function Edm.StDevP
        /// 
        [EdmFunction("Edm", "StDevP")]
        public static System.Double? StandardDeviationP(IEnumerable collection) 
        {
            ObjectQuery objectQuerySource = collection as ObjectQuery; 
            if (objectQuerySource != null) 
            {
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 
            }
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }
 
        /// 
        /// Proxy for the function Edm.StDevP 
        ///  
        [EdmFunction("Edm", "StDevP")]
        public static System.Double? StandardDeviationP(IEnumerable collection) 
        {
            ObjectQuery objectQuerySource = collection as ObjectQuery;
            if (objectQuerySource != null)
            { 
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
            } 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 
        }
 
        /// 
        /// Proxy for the function Edm.StDevP
        /// 
        [EdmFunction("Edm", "StDevP")] 
        public static System.Double? StandardDeviationP(IEnumerable collection)
        { 
            ObjectQuery objectQuerySource = collection as ObjectQuery; 
            if (objectQuerySource != null)
            { 
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
            }
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        } 

        ///  
        /// Proxy for the function Edm.StDevP 
        /// 
        [EdmFunction("Edm", "StDevP")] 
        public static System.Double? StandardDeviationP(IEnumerable collection)
        {
            ObjectQuery objectQuerySource = collection as ObjectQuery;
            if (objectQuerySource != null) 
            {
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 
            } 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        } 

        /// 
        /// Proxy for the function Edm.Var
        ///  
        [EdmFunction("Edm", "Var")]
        public static System.Double? Var(IEnumerable collection) 
        { 
            ObjectQuery objectQuerySource = collection as ObjectQuery;
            if (objectQuerySource != null) 
            {
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
            }
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 
        }
 
        ///  
        /// Proxy for the function Edm.Var
        ///  
        [EdmFunction("Edm", "Var")]
        public static System.Double? Var(IEnumerable collection)
        {
            ObjectQuery objectQuerySource = collection as ObjectQuery; 
            if (objectQuerySource != null)
            { 
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 
            }
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 
        }

        /// 
        /// Proxy for the function Edm.Var 
        /// 
        [EdmFunction("Edm", "Var")] 
        public static System.Double? Var(IEnumerable collection) 
        {
            ObjectQuery objectQuerySource = collection as ObjectQuery; 
            if (objectQuerySource != null)
            {
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
            } 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        } 
 
        /// 
        /// Proxy for the function Edm.Var 
        /// 
        [EdmFunction("Edm", "Var")]
        public static System.Double? Var(IEnumerable collection)
        { 
            ObjectQuery objectQuerySource = collection as ObjectQuery;
            if (objectQuerySource != null) 
            { 
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
            } 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.Var
        ///  
        [EdmFunction("Edm", "Var")] 
        public static System.Double? Var(IEnumerable collection)
        { 
            ObjectQuery objectQuerySource = collection as ObjectQuery;
            if (objectQuerySource != null)
            {
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 
            }
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 
        } 

        ///  
        /// Proxy for the function Edm.Var
        /// 
        [EdmFunction("Edm", "Var")]
        public static System.Double? Var(IEnumerable collection) 
        {
            ObjectQuery objectQuerySource = collection as ObjectQuery; 
            if (objectQuerySource != null) 
            {
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 
            }
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }
 
        /// 
        /// Proxy for the function Edm.Var 
        ///  
        [EdmFunction("Edm", "Var")]
        public static System.Double? Var(IEnumerable collection) 
        {
            ObjectQuery objectQuerySource = collection as ObjectQuery;
            if (objectQuerySource != null)
            { 
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
            } 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 
        }
 
        /// 
        /// Proxy for the function Edm.Var
        /// 
        [EdmFunction("Edm", "Var")] 
        public static System.Double? Var(IEnumerable collection)
        { 
            ObjectQuery objectQuerySource = collection as ObjectQuery; 
            if (objectQuerySource != null)
            { 
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
            }
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        } 

        ///  
        /// Proxy for the function Edm.VarP 
        /// 
        [EdmFunction("Edm", "VarP")] 
        public static System.Double? VarP(IEnumerable collection)
        {
            ObjectQuery objectQuerySource = collection as ObjectQuery;
            if (objectQuerySource != null) 
            {
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 
            } 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        } 

        /// 
        /// Proxy for the function Edm.VarP
        ///  
        [EdmFunction("Edm", "VarP")]
        public static System.Double? VarP(IEnumerable collection) 
        { 
            ObjectQuery objectQuerySource = collection as ObjectQuery;
            if (objectQuerySource != null) 
            {
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
            }
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 
        }
 
        ///  
        /// Proxy for the function Edm.VarP
        ///  
        [EdmFunction("Edm", "VarP")]
        public static System.Double? VarP(IEnumerable collection)
        {
            ObjectQuery objectQuerySource = collection as ObjectQuery; 
            if (objectQuerySource != null)
            { 
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 
            }
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 
        }

        /// 
        /// Proxy for the function Edm.VarP 
        /// 
        [EdmFunction("Edm", "VarP")] 
        public static System.Double? VarP(IEnumerable collection) 
        {
            ObjectQuery objectQuerySource = collection as ObjectQuery; 
            if (objectQuerySource != null)
            {
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
            } 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        } 
 
        /// 
        /// Proxy for the function Edm.VarP 
        /// 
        [EdmFunction("Edm", "VarP")]
        public static System.Double? VarP(IEnumerable collection)
        { 
            ObjectQuery objectQuerySource = collection as ObjectQuery;
            if (objectQuerySource != null) 
            { 
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
            } 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.VarP
        ///  
        [EdmFunction("Edm", "VarP")] 
        public static System.Double? VarP(IEnumerable collection)
        { 
            ObjectQuery objectQuerySource = collection as ObjectQuery;
            if (objectQuerySource != null)
            {
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 
            }
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 
        } 

        ///  
        /// Proxy for the function Edm.VarP
        /// 
        [EdmFunction("Edm", "VarP")]
        public static System.Double? VarP(IEnumerable collection) 
        {
            ObjectQuery objectQuerySource = collection as ObjectQuery; 
            if (objectQuerySource != null) 
            {
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 
            }
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }
 
        /// 
        /// Proxy for the function Edm.VarP 
        ///  
        [EdmFunction("Edm", "VarP")]
        public static System.Double? VarP(IEnumerable collection) 
        {
            ObjectQuery objectQuerySource = collection as ObjectQuery;
            if (objectQuerySource != null)
            { 
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
            } 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 
        }
 
        /// 
        /// Proxy for the function Edm.Left
        /// 
        [EdmFunction("Edm", "Left")] 
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", MessageId = "string")]
        public static System.String Left(System.String stringArgument, System.Int64? length) 
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        } 

        /// 
        /// Proxy for the function Edm.Right
        ///  
        [EdmFunction("Edm", "Right")]
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", MessageId = "string")] 
        public static System.String Right(System.String stringArgument, System.Int64? length) 
        {
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 
        }

        /// 
        /// Proxy for the function Edm.Reverse 
        /// 
        [EdmFunction("Edm", "Reverse")] 
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", MessageId = "string")] 
        public static System.String Reverse(System.String stringArgument)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.GetTotalOffsetMinutes
        ///  
        [EdmFunction("Edm", "GetTotalOffsetMinutes")] 
        public static System.Int32? GetTotalOffsetMinutes(System.DateTimeOffset? dateTimeOffsetArgument)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.TruncateTime
        ///  
        [EdmFunction("Edm", "TruncateTime")] 
        public static System.DateTimeOffset? TruncateTime(System.DateTimeOffset? dateValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.TruncateTime
        ///  
        [EdmFunction("Edm", "TruncateTime")] 
        public static System.DateTime? TruncateTime(System.DateTime? dateValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.CreateDateTime
        ///  
        [EdmFunction("Edm", "CreateDateTime")] 
        public static System.DateTime? CreateDateTime(System.Int32? year, System.Int32? month, System.Int32? day, System.Int32? hour, System.Int32? minute, System.Double? second)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.CreateDateTimeOffset
        ///  
        [EdmFunction("Edm", "CreateDateTimeOffset")] 
        public static System.DateTimeOffset? CreateDateTimeOffset(System.Int32? year, System.Int32? month, System.Int32? day, System.Int32? hour, System.Int32? minute, System.Double? second, System.Int32? timeZoneOffset)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.CreateTime
        ///  
        [EdmFunction("Edm", "CreateTime")] 
        public static System.TimeSpan? CreateTime(System.Int32? hour, System.Int32? minute, System.Double? second)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddYears
        ///  
        [EdmFunction("Edm", "AddYears")] 
        public static System.DateTimeOffset? AddYears(System.DateTimeOffset? dateValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddYears
        ///  
        [EdmFunction("Edm", "AddYears")] 
        public static System.DateTime? AddYears(System.DateTime? dateValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddMonths
        ///  
        [EdmFunction("Edm", "AddMonths")] 
        public static System.DateTimeOffset? AddMonths(System.DateTimeOffset? dateValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddMonths
        ///  
        [EdmFunction("Edm", "AddMonths")] 
        public static System.DateTime? AddMonths(System.DateTime? dateValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddDays
        ///  
        [EdmFunction("Edm", "AddDays")] 
        public static System.DateTimeOffset? AddDays(System.DateTimeOffset? dateValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddDays
        ///  
        [EdmFunction("Edm", "AddDays")] 
        public static System.DateTime? AddDays(System.DateTime? dateValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddHours
        ///  
        [EdmFunction("Edm", "AddHours")] 
        public static System.DateTimeOffset? AddHours(System.DateTimeOffset? timeValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddHours
        ///  
        [EdmFunction("Edm", "AddHours")] 
        public static System.DateTime? AddHours(System.DateTime? timeValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddHours
        ///  
        [EdmFunction("Edm", "AddHours")] 
        public static System.TimeSpan? AddHours(System.TimeSpan? timeValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddMinutes
        ///  
        [EdmFunction("Edm", "AddMinutes")] 
        public static System.DateTimeOffset? AddMinutes(System.DateTimeOffset? timeValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddMinutes
        ///  
        [EdmFunction("Edm", "AddMinutes")] 
        public static System.DateTime? AddMinutes(System.DateTime? timeValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddMinutes
        ///  
        [EdmFunction("Edm", "AddMinutes")] 
        public static System.TimeSpan? AddMinutes(System.TimeSpan? timeValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddSeconds
        ///  
        [EdmFunction("Edm", "AddSeconds")] 
        public static System.DateTimeOffset? AddSeconds(System.DateTimeOffset? timeValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddSeconds
        ///  
        [EdmFunction("Edm", "AddSeconds")] 
        public static System.DateTime? AddSeconds(System.DateTime? timeValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddSeconds
        ///  
        [EdmFunction("Edm", "AddSeconds")] 
        public static System.TimeSpan? AddSeconds(System.TimeSpan? timeValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddMilliseconds
        ///  
        [EdmFunction("Edm", "AddMilliseconds")] 
        public static System.DateTimeOffset? AddMilliseconds(System.DateTimeOffset? timeValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddMilliseconds
        ///  
        [EdmFunction("Edm", "AddMilliseconds")] 
        public static System.DateTime? AddMilliseconds(System.DateTime? timeValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddMilliseconds
        ///  
        [EdmFunction("Edm", "AddMilliseconds")] 
        public static System.TimeSpan? AddMilliseconds(System.TimeSpan? timeValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddMicroseconds
        ///  
        [EdmFunction("Edm", "AddMicroseconds")] 
        public static System.DateTimeOffset? AddMicroseconds(System.DateTimeOffset? timeValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddMicroseconds
        ///  
        [EdmFunction("Edm", "AddMicroseconds")] 
        public static System.DateTime? AddMicroseconds(System.DateTime? timeValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddMicroseconds
        ///  
        [EdmFunction("Edm", "AddMicroseconds")] 
        public static System.TimeSpan? AddMicroseconds(System.TimeSpan? timeValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddNanoseconds
        ///  
        [EdmFunction("Edm", "AddNanoseconds")] 
        public static System.DateTimeOffset? AddNanoseconds(System.DateTimeOffset? timeValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddNanoseconds
        ///  
        [EdmFunction("Edm", "AddNanoseconds")] 
        public static System.DateTime? AddNanoseconds(System.DateTime? timeValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddNanoseconds
        ///  
        [EdmFunction("Edm", "AddNanoseconds")] 
        public static System.TimeSpan? AddNanoseconds(System.TimeSpan? timeValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffYears
        ///  
        [EdmFunction("Edm", "DiffYears")] 
        public static System.Int32? DiffYears(System.DateTimeOffset? dateValue1, System.DateTimeOffset? dateValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffYears
        ///  
        [EdmFunction("Edm", "DiffYears")] 
        public static System.Int32? DiffYears(System.DateTime? dateValue1, System.DateTime? dateValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffMonths
        ///  
        [EdmFunction("Edm", "DiffMonths")] 
        public static System.Int32? DiffMonths(System.DateTimeOffset? dateValue1, System.DateTimeOffset? dateValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffMonths
        ///  
        [EdmFunction("Edm", "DiffMonths")] 
        public static System.Int32? DiffMonths(System.DateTime? dateValue1, System.DateTime? dateValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffDays
        ///  
        [EdmFunction("Edm", "DiffDays")] 
        public static System.Int32? DiffDays(System.DateTimeOffset? dateValue1, System.DateTimeOffset? dateValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffDays
        ///  
        [EdmFunction("Edm", "DiffDays")] 
        public static System.Int32? DiffDays(System.DateTime? dateValue1, System.DateTime? dateValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffHours
        ///  
        [EdmFunction("Edm", "DiffHours")] 
        public static System.Int32? DiffHours(System.DateTimeOffset? timeValue1, System.DateTimeOffset? timeValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffHours
        ///  
        [EdmFunction("Edm", "DiffHours")] 
        public static System.Int32? DiffHours(System.DateTime? timeValue1, System.DateTime? timeValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffHours
        ///  
        [EdmFunction("Edm", "DiffHours")] 
        public static System.Int32? DiffHours(System.TimeSpan? timeValue1, System.TimeSpan? timeValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffMinutes
        ///  
        [EdmFunction("Edm", "DiffMinutes")] 
        public static System.Int32? DiffMinutes(System.DateTimeOffset? timeValue1, System.DateTimeOffset? timeValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffMinutes
        ///  
        [EdmFunction("Edm", "DiffMinutes")] 
        public static System.Int32? DiffMinutes(System.DateTime? timeValue1, System.DateTime? timeValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffMinutes
        ///  
        [EdmFunction("Edm", "DiffMinutes")] 
        public static System.Int32? DiffMinutes(System.TimeSpan? timeValue1, System.TimeSpan? timeValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffSeconds
        ///  
        [EdmFunction("Edm", "DiffSeconds")] 
        public static System.Int32? DiffSeconds(System.DateTimeOffset? timeValue1, System.DateTimeOffset? timeValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffSeconds
        ///  
        [EdmFunction("Edm", "DiffSeconds")] 
        public static System.Int32? DiffSeconds(System.DateTime? timeValue1, System.DateTime? timeValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffSeconds
        ///  
        [EdmFunction("Edm", "DiffSeconds")] 
        public static System.Int32? DiffSeconds(System.TimeSpan? timeValue1, System.TimeSpan? timeValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffMilliseconds
        ///  
        [EdmFunction("Edm", "DiffMilliseconds")] 
        public static System.Int32? DiffMilliseconds(System.DateTimeOffset? timeValue1, System.DateTimeOffset? timeValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffMilliseconds
        ///  
        [EdmFunction("Edm", "DiffMilliseconds")] 
        public static System.Int32? DiffMilliseconds(System.DateTime? timeValue1, System.DateTime? timeValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffMilliseconds
        ///  
        [EdmFunction("Edm", "DiffMilliseconds")] 
        public static System.Int32? DiffMilliseconds(System.TimeSpan? timeValue1, System.TimeSpan? timeValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffMicroseconds
        ///  
        [EdmFunction("Edm", "DiffMicroseconds")] 
        public static System.Int32? DiffMicroseconds(System.DateTimeOffset? timeValue1, System.DateTimeOffset? timeValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffMicroseconds
        ///  
        [EdmFunction("Edm", "DiffMicroseconds")] 
        public static System.Int32? DiffMicroseconds(System.DateTime? timeValue1, System.DateTime? timeValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffMicroseconds
        ///  
        [EdmFunction("Edm", "DiffMicroseconds")] 
        public static System.Int32? DiffMicroseconds(System.TimeSpan? timeValue1, System.TimeSpan? timeValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffNanoseconds
        ///  
        [EdmFunction("Edm", "DiffNanoseconds")] 
        public static System.Int32? DiffNanoseconds(System.DateTimeOffset? timeValue1, System.DateTimeOffset? timeValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffNanoseconds
        ///  
        [EdmFunction("Edm", "DiffNanoseconds")] 
        public static System.Int32? DiffNanoseconds(System.DateTime? timeValue1, System.DateTime? timeValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffNanoseconds
        ///  
        [EdmFunction("Edm", "DiffNanoseconds")] 
        public static System.Int32? DiffNanoseconds(System.TimeSpan? timeValue1, System.TimeSpan? timeValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.Truncate
        ///  
        [EdmFunction("Edm", "Truncate")] 
        public static System.Double? Truncate(System.Double? value, System.Int32? digits)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.Truncate
        ///  
        [EdmFunction("Edm", "Truncate")] 
        public static System.Decimal? Truncate(System.Decimal? value, System.Int32? digits)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

    } 
}

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------ 
// 
//      Copyright (c) Microsoft Corporation.  All rights reserved.
// 
 
// 
//     This code was generated by a tool. 
//     Generation date and time : 6/1/2009 17:12:49.8051185 
//
//     Changes to this file will be lost if the code is regenerated. 
// 

// @owner    [....]
// @backupOwner [....] 
//-----------------------------------------------------------------------------
 
using System.Collections.Generic; 
using System.Data.Objects;
using System.Data.Objects.DataClasses; 
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
 
namespace System.Data.Objects
{ 
    ///  
    /// Contains function stubs that expose Edm methods in Linq to Entities.
    ///  
    public static partial class EntityFunctions
    {
        /// 
        /// Proxy for the function Edm.StDev 
        /// 
        [EdmFunction("Edm", "StDev")] 
        public static System.Double? StandardDeviation(IEnumerable collection) 
        {
            ObjectQuery objectQuerySource = collection as ObjectQuery; 
            if (objectQuerySource != null)
            {
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
            } 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        } 
 
        /// 
        /// Proxy for the function Edm.StDev 
        /// 
        [EdmFunction("Edm", "StDev")]
        public static System.Double? StandardDeviation(IEnumerable collection)
        { 
            ObjectQuery objectQuerySource = collection as ObjectQuery;
            if (objectQuerySource != null) 
            { 
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
            } 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.StDev
        ///  
        [EdmFunction("Edm", "StDev")] 
        public static System.Double? StandardDeviation(IEnumerable collection)
        { 
            ObjectQuery objectQuerySource = collection as ObjectQuery;
            if (objectQuerySource != null)
            {
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 
            }
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 
        } 

        ///  
        /// Proxy for the function Edm.StDev
        /// 
        [EdmFunction("Edm", "StDev")]
        public static System.Double? StandardDeviation(IEnumerable collection) 
        {
            ObjectQuery objectQuerySource = collection as ObjectQuery; 
            if (objectQuerySource != null) 
            {
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 
            }
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }
 
        /// 
        /// Proxy for the function Edm.StDev 
        ///  
        [EdmFunction("Edm", "StDev")]
        public static System.Double? StandardDeviation(IEnumerable collection) 
        {
            ObjectQuery objectQuerySource = collection as ObjectQuery;
            if (objectQuerySource != null)
            { 
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
            } 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 
        }
 
        /// 
        /// Proxy for the function Edm.StDev
        /// 
        [EdmFunction("Edm", "StDev")] 
        public static System.Double? StandardDeviation(IEnumerable collection)
        { 
            ObjectQuery objectQuerySource = collection as ObjectQuery; 
            if (objectQuerySource != null)
            { 
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
            }
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        } 

        ///  
        /// Proxy for the function Edm.StDev 
        /// 
        [EdmFunction("Edm", "StDev")] 
        public static System.Double? StandardDeviation(IEnumerable collection)
        {
            ObjectQuery objectQuerySource = collection as ObjectQuery;
            if (objectQuerySource != null) 
            {
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 
            } 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        } 

        /// 
        /// Proxy for the function Edm.StDev
        ///  
        [EdmFunction("Edm", "StDev")]
        public static System.Double? StandardDeviation(IEnumerable collection) 
        { 
            ObjectQuery objectQuerySource = collection as ObjectQuery;
            if (objectQuerySource != null) 
            {
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
            }
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 
        }
 
        ///  
        /// Proxy for the function Edm.StDevP
        ///  
        [EdmFunction("Edm", "StDevP")]
        public static System.Double? StandardDeviationP(IEnumerable collection)
        {
            ObjectQuery objectQuerySource = collection as ObjectQuery; 
            if (objectQuerySource != null)
            { 
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 
            }
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 
        }

        /// 
        /// Proxy for the function Edm.StDevP 
        /// 
        [EdmFunction("Edm", "StDevP")] 
        public static System.Double? StandardDeviationP(IEnumerable collection) 
        {
            ObjectQuery objectQuerySource = collection as ObjectQuery; 
            if (objectQuerySource != null)
            {
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
            } 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        } 
 
        /// 
        /// Proxy for the function Edm.StDevP 
        /// 
        [EdmFunction("Edm", "StDevP")]
        public static System.Double? StandardDeviationP(IEnumerable collection)
        { 
            ObjectQuery objectQuerySource = collection as ObjectQuery;
            if (objectQuerySource != null) 
            { 
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
            } 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.StDevP
        ///  
        [EdmFunction("Edm", "StDevP")] 
        public static System.Double? StandardDeviationP(IEnumerable collection)
        { 
            ObjectQuery objectQuerySource = collection as ObjectQuery;
            if (objectQuerySource != null)
            {
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 
            }
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 
        } 

        ///  
        /// Proxy for the function Edm.StDevP
        /// 
        [EdmFunction("Edm", "StDevP")]
        public static System.Double? StandardDeviationP(IEnumerable collection) 
        {
            ObjectQuery objectQuerySource = collection as ObjectQuery; 
            if (objectQuerySource != null) 
            {
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 
            }
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }
 
        /// 
        /// Proxy for the function Edm.StDevP 
        ///  
        [EdmFunction("Edm", "StDevP")]
        public static System.Double? StandardDeviationP(IEnumerable collection) 
        {
            ObjectQuery objectQuerySource = collection as ObjectQuery;
            if (objectQuerySource != null)
            { 
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
            } 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 
        }
 
        /// 
        /// Proxy for the function Edm.StDevP
        /// 
        [EdmFunction("Edm", "StDevP")] 
        public static System.Double? StandardDeviationP(IEnumerable collection)
        { 
            ObjectQuery objectQuerySource = collection as ObjectQuery; 
            if (objectQuerySource != null)
            { 
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
            }
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        } 

        ///  
        /// Proxy for the function Edm.StDevP 
        /// 
        [EdmFunction("Edm", "StDevP")] 
        public static System.Double? StandardDeviationP(IEnumerable collection)
        {
            ObjectQuery objectQuerySource = collection as ObjectQuery;
            if (objectQuerySource != null) 
            {
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 
            } 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        } 

        /// 
        /// Proxy for the function Edm.Var
        ///  
        [EdmFunction("Edm", "Var")]
        public static System.Double? Var(IEnumerable collection) 
        { 
            ObjectQuery objectQuerySource = collection as ObjectQuery;
            if (objectQuerySource != null) 
            {
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
            }
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 
        }
 
        ///  
        /// Proxy for the function Edm.Var
        ///  
        [EdmFunction("Edm", "Var")]
        public static System.Double? Var(IEnumerable collection)
        {
            ObjectQuery objectQuerySource = collection as ObjectQuery; 
            if (objectQuerySource != null)
            { 
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 
            }
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 
        }

        /// 
        /// Proxy for the function Edm.Var 
        /// 
        [EdmFunction("Edm", "Var")] 
        public static System.Double? Var(IEnumerable collection) 
        {
            ObjectQuery objectQuerySource = collection as ObjectQuery; 
            if (objectQuerySource != null)
            {
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
            } 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        } 
 
        /// 
        /// Proxy for the function Edm.Var 
        /// 
        [EdmFunction("Edm", "Var")]
        public static System.Double? Var(IEnumerable collection)
        { 
            ObjectQuery objectQuerySource = collection as ObjectQuery;
            if (objectQuerySource != null) 
            { 
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
            } 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.Var
        ///  
        [EdmFunction("Edm", "Var")] 
        public static System.Double? Var(IEnumerable collection)
        { 
            ObjectQuery objectQuerySource = collection as ObjectQuery;
            if (objectQuerySource != null)
            {
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 
            }
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 
        } 

        ///  
        /// Proxy for the function Edm.Var
        /// 
        [EdmFunction("Edm", "Var")]
        public static System.Double? Var(IEnumerable collection) 
        {
            ObjectQuery objectQuerySource = collection as ObjectQuery; 
            if (objectQuerySource != null) 
            {
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 
            }
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }
 
        /// 
        /// Proxy for the function Edm.Var 
        ///  
        [EdmFunction("Edm", "Var")]
        public static System.Double? Var(IEnumerable collection) 
        {
            ObjectQuery objectQuerySource = collection as ObjectQuery;
            if (objectQuerySource != null)
            { 
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
            } 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 
        }
 
        /// 
        /// Proxy for the function Edm.Var
        /// 
        [EdmFunction("Edm", "Var")] 
        public static System.Double? Var(IEnumerable collection)
        { 
            ObjectQuery objectQuerySource = collection as ObjectQuery; 
            if (objectQuerySource != null)
            { 
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
            }
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        } 

        ///  
        /// Proxy for the function Edm.VarP 
        /// 
        [EdmFunction("Edm", "VarP")] 
        public static System.Double? VarP(IEnumerable collection)
        {
            ObjectQuery objectQuerySource = collection as ObjectQuery;
            if (objectQuerySource != null) 
            {
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 
            } 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        } 

        /// 
        /// Proxy for the function Edm.VarP
        ///  
        [EdmFunction("Edm", "VarP")]
        public static System.Double? VarP(IEnumerable collection) 
        { 
            ObjectQuery objectQuerySource = collection as ObjectQuery;
            if (objectQuerySource != null) 
            {
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
            }
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 
        }
 
        ///  
        /// Proxy for the function Edm.VarP
        ///  
        [EdmFunction("Edm", "VarP")]
        public static System.Double? VarP(IEnumerable collection)
        {
            ObjectQuery objectQuerySource = collection as ObjectQuery; 
            if (objectQuerySource != null)
            { 
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 
            }
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 
        }

        /// 
        /// Proxy for the function Edm.VarP 
        /// 
        [EdmFunction("Edm", "VarP")] 
        public static System.Double? VarP(IEnumerable collection) 
        {
            ObjectQuery objectQuerySource = collection as ObjectQuery; 
            if (objectQuerySource != null)
            {
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
            } 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        } 
 
        /// 
        /// Proxy for the function Edm.VarP 
        /// 
        [EdmFunction("Edm", "VarP")]
        public static System.Double? VarP(IEnumerable collection)
        { 
            ObjectQuery objectQuerySource = collection as ObjectQuery;
            if (objectQuerySource != null) 
            { 
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
            } 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.VarP
        ///  
        [EdmFunction("Edm", "VarP")] 
        public static System.Double? VarP(IEnumerable collection)
        { 
            ObjectQuery objectQuerySource = collection as ObjectQuery;
            if (objectQuerySource != null)
            {
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 
            }
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 
        } 

        ///  
        /// Proxy for the function Edm.VarP
        /// 
        [EdmFunction("Edm", "VarP")]
        public static System.Double? VarP(IEnumerable collection) 
        {
            ObjectQuery objectQuerySource = collection as ObjectQuery; 
            if (objectQuerySource != null) 
            {
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 
            }
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }
 
        /// 
        /// Proxy for the function Edm.VarP 
        ///  
        [EdmFunction("Edm", "VarP")]
        public static System.Double? VarP(IEnumerable collection) 
        {
            ObjectQuery objectQuerySource = collection as ObjectQuery;
            if (objectQuerySource != null)
            { 
                return ((IQueryable)objectQuerySource).Provider.Execute(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
            } 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 
        }
 
        /// 
        /// Proxy for the function Edm.Left
        /// 
        [EdmFunction("Edm", "Left")] 
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", MessageId = "string")]
        public static System.String Left(System.String stringArgument, System.Int64? length) 
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        } 

        /// 
        /// Proxy for the function Edm.Right
        ///  
        [EdmFunction("Edm", "Right")]
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", MessageId = "string")] 
        public static System.String Right(System.String stringArgument, System.Int64? length) 
        {
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 
        }

        /// 
        /// Proxy for the function Edm.Reverse 
        /// 
        [EdmFunction("Edm", "Reverse")] 
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", MessageId = "string")] 
        public static System.String Reverse(System.String stringArgument)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.GetTotalOffsetMinutes
        ///  
        [EdmFunction("Edm", "GetTotalOffsetMinutes")] 
        public static System.Int32? GetTotalOffsetMinutes(System.DateTimeOffset? dateTimeOffsetArgument)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.TruncateTime
        ///  
        [EdmFunction("Edm", "TruncateTime")] 
        public static System.DateTimeOffset? TruncateTime(System.DateTimeOffset? dateValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.TruncateTime
        ///  
        [EdmFunction("Edm", "TruncateTime")] 
        public static System.DateTime? TruncateTime(System.DateTime? dateValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.CreateDateTime
        ///  
        [EdmFunction("Edm", "CreateDateTime")] 
        public static System.DateTime? CreateDateTime(System.Int32? year, System.Int32? month, System.Int32? day, System.Int32? hour, System.Int32? minute, System.Double? second)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.CreateDateTimeOffset
        ///  
        [EdmFunction("Edm", "CreateDateTimeOffset")] 
        public static System.DateTimeOffset? CreateDateTimeOffset(System.Int32? year, System.Int32? month, System.Int32? day, System.Int32? hour, System.Int32? minute, System.Double? second, System.Int32? timeZoneOffset)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.CreateTime
        ///  
        [EdmFunction("Edm", "CreateTime")] 
        public static System.TimeSpan? CreateTime(System.Int32? hour, System.Int32? minute, System.Double? second)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddYears
        ///  
        [EdmFunction("Edm", "AddYears")] 
        public static System.DateTimeOffset? AddYears(System.DateTimeOffset? dateValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddYears
        ///  
        [EdmFunction("Edm", "AddYears")] 
        public static System.DateTime? AddYears(System.DateTime? dateValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddMonths
        ///  
        [EdmFunction("Edm", "AddMonths")] 
        public static System.DateTimeOffset? AddMonths(System.DateTimeOffset? dateValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddMonths
        ///  
        [EdmFunction("Edm", "AddMonths")] 
        public static System.DateTime? AddMonths(System.DateTime? dateValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddDays
        ///  
        [EdmFunction("Edm", "AddDays")] 
        public static System.DateTimeOffset? AddDays(System.DateTimeOffset? dateValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddDays
        ///  
        [EdmFunction("Edm", "AddDays")] 
        public static System.DateTime? AddDays(System.DateTime? dateValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddHours
        ///  
        [EdmFunction("Edm", "AddHours")] 
        public static System.DateTimeOffset? AddHours(System.DateTimeOffset? timeValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddHours
        ///  
        [EdmFunction("Edm", "AddHours")] 
        public static System.DateTime? AddHours(System.DateTime? timeValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddHours
        ///  
        [EdmFunction("Edm", "AddHours")] 
        public static System.TimeSpan? AddHours(System.TimeSpan? timeValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddMinutes
        ///  
        [EdmFunction("Edm", "AddMinutes")] 
        public static System.DateTimeOffset? AddMinutes(System.DateTimeOffset? timeValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddMinutes
        ///  
        [EdmFunction("Edm", "AddMinutes")] 
        public static System.DateTime? AddMinutes(System.DateTime? timeValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddMinutes
        ///  
        [EdmFunction("Edm", "AddMinutes")] 
        public static System.TimeSpan? AddMinutes(System.TimeSpan? timeValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddSeconds
        ///  
        [EdmFunction("Edm", "AddSeconds")] 
        public static System.DateTimeOffset? AddSeconds(System.DateTimeOffset? timeValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddSeconds
        ///  
        [EdmFunction("Edm", "AddSeconds")] 
        public static System.DateTime? AddSeconds(System.DateTime? timeValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddSeconds
        ///  
        [EdmFunction("Edm", "AddSeconds")] 
        public static System.TimeSpan? AddSeconds(System.TimeSpan? timeValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddMilliseconds
        ///  
        [EdmFunction("Edm", "AddMilliseconds")] 
        public static System.DateTimeOffset? AddMilliseconds(System.DateTimeOffset? timeValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddMilliseconds
        ///  
        [EdmFunction("Edm", "AddMilliseconds")] 
        public static System.DateTime? AddMilliseconds(System.DateTime? timeValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddMilliseconds
        ///  
        [EdmFunction("Edm", "AddMilliseconds")] 
        public static System.TimeSpan? AddMilliseconds(System.TimeSpan? timeValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddMicroseconds
        ///  
        [EdmFunction("Edm", "AddMicroseconds")] 
        public static System.DateTimeOffset? AddMicroseconds(System.DateTimeOffset? timeValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddMicroseconds
        ///  
        [EdmFunction("Edm", "AddMicroseconds")] 
        public static System.DateTime? AddMicroseconds(System.DateTime? timeValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddMicroseconds
        ///  
        [EdmFunction("Edm", "AddMicroseconds")] 
        public static System.TimeSpan? AddMicroseconds(System.TimeSpan? timeValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddNanoseconds
        ///  
        [EdmFunction("Edm", "AddNanoseconds")] 
        public static System.DateTimeOffset? AddNanoseconds(System.DateTimeOffset? timeValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddNanoseconds
        ///  
        [EdmFunction("Edm", "AddNanoseconds")] 
        public static System.DateTime? AddNanoseconds(System.DateTime? timeValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.AddNanoseconds
        ///  
        [EdmFunction("Edm", "AddNanoseconds")] 
        public static System.TimeSpan? AddNanoseconds(System.TimeSpan? timeValue, System.Int32? addValue)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffYears
        ///  
        [EdmFunction("Edm", "DiffYears")] 
        public static System.Int32? DiffYears(System.DateTimeOffset? dateValue1, System.DateTimeOffset? dateValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffYears
        ///  
        [EdmFunction("Edm", "DiffYears")] 
        public static System.Int32? DiffYears(System.DateTime? dateValue1, System.DateTime? dateValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffMonths
        ///  
        [EdmFunction("Edm", "DiffMonths")] 
        public static System.Int32? DiffMonths(System.DateTimeOffset? dateValue1, System.DateTimeOffset? dateValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffMonths
        ///  
        [EdmFunction("Edm", "DiffMonths")] 
        public static System.Int32? DiffMonths(System.DateTime? dateValue1, System.DateTime? dateValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffDays
        ///  
        [EdmFunction("Edm", "DiffDays")] 
        public static System.Int32? DiffDays(System.DateTimeOffset? dateValue1, System.DateTimeOffset? dateValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffDays
        ///  
        [EdmFunction("Edm", "DiffDays")] 
        public static System.Int32? DiffDays(System.DateTime? dateValue1, System.DateTime? dateValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffHours
        ///  
        [EdmFunction("Edm", "DiffHours")] 
        public static System.Int32? DiffHours(System.DateTimeOffset? timeValue1, System.DateTimeOffset? timeValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffHours
        ///  
        [EdmFunction("Edm", "DiffHours")] 
        public static System.Int32? DiffHours(System.DateTime? timeValue1, System.DateTime? timeValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffHours
        ///  
        [EdmFunction("Edm", "DiffHours")] 
        public static System.Int32? DiffHours(System.TimeSpan? timeValue1, System.TimeSpan? timeValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffMinutes
        ///  
        [EdmFunction("Edm", "DiffMinutes")] 
        public static System.Int32? DiffMinutes(System.DateTimeOffset? timeValue1, System.DateTimeOffset? timeValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffMinutes
        ///  
        [EdmFunction("Edm", "DiffMinutes")] 
        public static System.Int32? DiffMinutes(System.DateTime? timeValue1, System.DateTime? timeValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffMinutes
        ///  
        [EdmFunction("Edm", "DiffMinutes")] 
        public static System.Int32? DiffMinutes(System.TimeSpan? timeValue1, System.TimeSpan? timeValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffSeconds
        ///  
        [EdmFunction("Edm", "DiffSeconds")] 
        public static System.Int32? DiffSeconds(System.DateTimeOffset? timeValue1, System.DateTimeOffset? timeValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffSeconds
        ///  
        [EdmFunction("Edm", "DiffSeconds")] 
        public static System.Int32? DiffSeconds(System.DateTime? timeValue1, System.DateTime? timeValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffSeconds
        ///  
        [EdmFunction("Edm", "DiffSeconds")] 
        public static System.Int32? DiffSeconds(System.TimeSpan? timeValue1, System.TimeSpan? timeValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffMilliseconds
        ///  
        [EdmFunction("Edm", "DiffMilliseconds")] 
        public static System.Int32? DiffMilliseconds(System.DateTimeOffset? timeValue1, System.DateTimeOffset? timeValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffMilliseconds
        ///  
        [EdmFunction("Edm", "DiffMilliseconds")] 
        public static System.Int32? DiffMilliseconds(System.DateTime? timeValue1, System.DateTime? timeValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffMilliseconds
        ///  
        [EdmFunction("Edm", "DiffMilliseconds")] 
        public static System.Int32? DiffMilliseconds(System.TimeSpan? timeValue1, System.TimeSpan? timeValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffMicroseconds
        ///  
        [EdmFunction("Edm", "DiffMicroseconds")] 
        public static System.Int32? DiffMicroseconds(System.DateTimeOffset? timeValue1, System.DateTimeOffset? timeValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffMicroseconds
        ///  
        [EdmFunction("Edm", "DiffMicroseconds")] 
        public static System.Int32? DiffMicroseconds(System.DateTime? timeValue1, System.DateTime? timeValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffMicroseconds
        ///  
        [EdmFunction("Edm", "DiffMicroseconds")] 
        public static System.Int32? DiffMicroseconds(System.TimeSpan? timeValue1, System.TimeSpan? timeValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffNanoseconds
        ///  
        [EdmFunction("Edm", "DiffNanoseconds")] 
        public static System.Int32? DiffNanoseconds(System.DateTimeOffset? timeValue1, System.DateTimeOffset? timeValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffNanoseconds
        ///  
        [EdmFunction("Edm", "DiffNanoseconds")] 
        public static System.Int32? DiffNanoseconds(System.DateTime? timeValue1, System.DateTime? timeValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.DiffNanoseconds
        ///  
        [EdmFunction("Edm", "DiffNanoseconds")] 
        public static System.Int32? DiffNanoseconds(System.TimeSpan? timeValue1, System.TimeSpan? timeValue2)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.Truncate
        ///  
        [EdmFunction("Edm", "Truncate")] 
        public static System.Double? Truncate(System.Double? value, System.Int32? digits)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

        ///  
        /// Proxy for the function Edm.Truncate
        ///  
        [EdmFunction("Edm", "Truncate")] 
        public static System.Decimal? Truncate(System.Decimal? value, System.Int32? digits)
        { 
            throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
        }

    } 
}

// 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