51a6eea6aabce17916b621dd46323f17ee41c688
[mono.git] / mcs / class / referencesource / System.Data.Entity / System / Data / Objects / EntityFunctions.cs
1 //------------------------------------------------------------------------------
2 // <copyright file="EntityFunctions.cs company="Microsoft">
3 //      Copyright (c) Microsoft Corporation.  All rights reserved.
4 // </copyright>
5
6 // <auto-generated>
7 //     This code was generated by a tool.
8 //     Generation date and time : 5/13/2011 12:53:13.2245698
9 //
10 //     Changes to this file will be lost if the code is regenerated.
11 // </auto-generated>
12
13 // @owner    Microsoft
14 // @backupOwner Microsoft
15 //------------------------------------------------------------------------------
16
17 using System.Collections.Generic;
18 using System.Data.Objects;
19 using System.Data.Objects.DataClasses;
20 using System.Linq;
21 using System.Linq.Expressions;
22 using System.Reflection;
23
24 namespace System.Data.Objects
25 {
26     /// <summary>
27     /// Contains function stubs that expose Edm methods in Linq to Entities.
28     /// </summary>
29     public static partial class EntityFunctions
30     {
31         /// <summary>
32         /// Proxy for the function Edm.StDev
33         /// </summary>
34         [EdmFunction("Edm", "StDev")]
35         public static System.Double? StandardDeviation(IEnumerable<System.Decimal> collection)
36         {
37             ObjectQuery<System.Decimal> objectQuerySource = collection as ObjectQuery<System.Decimal>;
38             if (objectQuerySource != null)
39             {
40                 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
41             }
42             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
43         }
44
45         /// <summary>
46         /// Proxy for the function Edm.StDev
47         /// </summary>
48         [EdmFunction("Edm", "StDev")]
49         public static System.Double? StandardDeviation(IEnumerable<System.Decimal?> collection)
50         {
51             ObjectQuery<System.Decimal?> objectQuerySource = collection as ObjectQuery<System.Decimal?>;
52             if (objectQuerySource != null)
53             {
54                 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
55             }
56             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
57         }
58
59         /// <summary>
60         /// Proxy for the function Edm.StDev
61         /// </summary>
62         [EdmFunction("Edm", "StDev")]
63         public static System.Double? StandardDeviation(IEnumerable<System.Double> collection)
64         {
65             ObjectQuery<System.Double> objectQuerySource = collection as ObjectQuery<System.Double>;
66             if (objectQuerySource != null)
67             {
68                 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
69             }
70             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
71         }
72
73         /// <summary>
74         /// Proxy for the function Edm.StDev
75         /// </summary>
76         [EdmFunction("Edm", "StDev")]
77         public static System.Double? StandardDeviation(IEnumerable<System.Double?> collection)
78         {
79             ObjectQuery<System.Double?> objectQuerySource = collection as ObjectQuery<System.Double?>;
80             if (objectQuerySource != null)
81             {
82                 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
83             }
84             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
85         }
86
87         /// <summary>
88         /// Proxy for the function Edm.StDev
89         /// </summary>
90         [EdmFunction("Edm", "StDev")]
91         public static System.Double? StandardDeviation(IEnumerable<System.Int32> collection)
92         {
93             ObjectQuery<System.Int32> objectQuerySource = collection as ObjectQuery<System.Int32>;
94             if (objectQuerySource != null)
95             {
96                 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
97             }
98             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
99         }
100
101         /// <summary>
102         /// Proxy for the function Edm.StDev
103         /// </summary>
104         [EdmFunction("Edm", "StDev")]
105         public static System.Double? StandardDeviation(IEnumerable<System.Int32?> collection)
106         {
107             ObjectQuery<System.Int32?> objectQuerySource = collection as ObjectQuery<System.Int32?>;
108             if (objectQuerySource != null)
109             {
110                 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
111             }
112             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
113         }
114
115         /// <summary>
116         /// Proxy for the function Edm.StDev
117         /// </summary>
118         [EdmFunction("Edm", "StDev")]
119         public static System.Double? StandardDeviation(IEnumerable<System.Int64> collection)
120         {
121             ObjectQuery<System.Int64> objectQuerySource = collection as ObjectQuery<System.Int64>;
122             if (objectQuerySource != null)
123             {
124                 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
125             }
126             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
127         }
128
129         /// <summary>
130         /// Proxy for the function Edm.StDev
131         /// </summary>
132         [EdmFunction("Edm", "StDev")]
133         public static System.Double? StandardDeviation(IEnumerable<System.Int64?> collection)
134         {
135             ObjectQuery<System.Int64?> objectQuerySource = collection as ObjectQuery<System.Int64?>;
136             if (objectQuerySource != null)
137             {
138                 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
139             }
140             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
141         }
142
143         /// <summary>
144         /// Proxy for the function Edm.StDevP
145         /// </summary>
146         [EdmFunction("Edm", "StDevP")]
147         public static System.Double? StandardDeviationP(IEnumerable<System.Decimal> collection)
148         {
149             ObjectQuery<System.Decimal> objectQuerySource = collection as ObjectQuery<System.Decimal>;
150             if (objectQuerySource != null)
151             {
152                 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
153             }
154             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
155         }
156
157         /// <summary>
158         /// Proxy for the function Edm.StDevP
159         /// </summary>
160         [EdmFunction("Edm", "StDevP")]
161         public static System.Double? StandardDeviationP(IEnumerable<System.Decimal?> collection)
162         {
163             ObjectQuery<System.Decimal?> objectQuerySource = collection as ObjectQuery<System.Decimal?>;
164             if (objectQuerySource != null)
165             {
166                 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
167             }
168             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
169         }
170
171         /// <summary>
172         /// Proxy for the function Edm.StDevP
173         /// </summary>
174         [EdmFunction("Edm", "StDevP")]
175         public static System.Double? StandardDeviationP(IEnumerable<System.Double> collection)
176         {
177             ObjectQuery<System.Double> objectQuerySource = collection as ObjectQuery<System.Double>;
178             if (objectQuerySource != null)
179             {
180                 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
181             }
182             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
183         }
184
185         /// <summary>
186         /// Proxy for the function Edm.StDevP
187         /// </summary>
188         [EdmFunction("Edm", "StDevP")]
189         public static System.Double? StandardDeviationP(IEnumerable<System.Double?> collection)
190         {
191             ObjectQuery<System.Double?> objectQuerySource = collection as ObjectQuery<System.Double?>;
192             if (objectQuerySource != null)
193             {
194                 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
195             }
196             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
197         }
198
199         /// <summary>
200         /// Proxy for the function Edm.StDevP
201         /// </summary>
202         [EdmFunction("Edm", "StDevP")]
203         public static System.Double? StandardDeviationP(IEnumerable<System.Int32> collection)
204         {
205             ObjectQuery<System.Int32> objectQuerySource = collection as ObjectQuery<System.Int32>;
206             if (objectQuerySource != null)
207             {
208                 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
209             }
210             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
211         }
212
213         /// <summary>
214         /// Proxy for the function Edm.StDevP
215         /// </summary>
216         [EdmFunction("Edm", "StDevP")]
217         public static System.Double? StandardDeviationP(IEnumerable<System.Int32?> collection)
218         {
219             ObjectQuery<System.Int32?> objectQuerySource = collection as ObjectQuery<System.Int32?>;
220             if (objectQuerySource != null)
221             {
222                 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
223             }
224             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
225         }
226
227         /// <summary>
228         /// Proxy for the function Edm.StDevP
229         /// </summary>
230         [EdmFunction("Edm", "StDevP")]
231         public static System.Double? StandardDeviationP(IEnumerable<System.Int64> collection)
232         {
233             ObjectQuery<System.Int64> objectQuerySource = collection as ObjectQuery<System.Int64>;
234             if (objectQuerySource != null)
235             {
236                 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
237             }
238             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
239         }
240
241         /// <summary>
242         /// Proxy for the function Edm.StDevP
243         /// </summary>
244         [EdmFunction("Edm", "StDevP")]
245         public static System.Double? StandardDeviationP(IEnumerable<System.Int64?> collection)
246         {
247             ObjectQuery<System.Int64?> objectQuerySource = collection as ObjectQuery<System.Int64?>;
248             if (objectQuerySource != null)
249             {
250                 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
251             }
252             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
253         }
254
255         /// <summary>
256         /// Proxy for the function Edm.Var
257         /// </summary>
258         [EdmFunction("Edm", "Var")]
259         public static System.Double? Var(IEnumerable<System.Decimal> collection)
260         {
261             ObjectQuery<System.Decimal> objectQuerySource = collection as ObjectQuery<System.Decimal>;
262             if (objectQuerySource != null)
263             {
264                 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
265             }
266             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
267         }
268
269         /// <summary>
270         /// Proxy for the function Edm.Var
271         /// </summary>
272         [EdmFunction("Edm", "Var")]
273         public static System.Double? Var(IEnumerable<System.Decimal?> collection)
274         {
275             ObjectQuery<System.Decimal?> objectQuerySource = collection as ObjectQuery<System.Decimal?>;
276             if (objectQuerySource != null)
277             {
278                 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
279             }
280             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
281         }
282
283         /// <summary>
284         /// Proxy for the function Edm.Var
285         /// </summary>
286         [EdmFunction("Edm", "Var")]
287         public static System.Double? Var(IEnumerable<System.Double> collection)
288         {
289             ObjectQuery<System.Double> objectQuerySource = collection as ObjectQuery<System.Double>;
290             if (objectQuerySource != null)
291             {
292                 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
293             }
294             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
295         }
296
297         /// <summary>
298         /// Proxy for the function Edm.Var
299         /// </summary>
300         [EdmFunction("Edm", "Var")]
301         public static System.Double? Var(IEnumerable<System.Double?> collection)
302         {
303             ObjectQuery<System.Double?> objectQuerySource = collection as ObjectQuery<System.Double?>;
304             if (objectQuerySource != null)
305             {
306                 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
307             }
308             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
309         }
310
311         /// <summary>
312         /// Proxy for the function Edm.Var
313         /// </summary>
314         [EdmFunction("Edm", "Var")]
315         public static System.Double? Var(IEnumerable<System.Int32> collection)
316         {
317             ObjectQuery<System.Int32> objectQuerySource = collection as ObjectQuery<System.Int32>;
318             if (objectQuerySource != null)
319             {
320                 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
321             }
322             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
323         }
324
325         /// <summary>
326         /// Proxy for the function Edm.Var
327         /// </summary>
328         [EdmFunction("Edm", "Var")]
329         public static System.Double? Var(IEnumerable<System.Int32?> collection)
330         {
331             ObjectQuery<System.Int32?> objectQuerySource = collection as ObjectQuery<System.Int32?>;
332             if (objectQuerySource != null)
333             {
334                 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
335             }
336             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
337         }
338
339         /// <summary>
340         /// Proxy for the function Edm.Var
341         /// </summary>
342         [EdmFunction("Edm", "Var")]
343         public static System.Double? Var(IEnumerable<System.Int64> collection)
344         {
345             ObjectQuery<System.Int64> objectQuerySource = collection as ObjectQuery<System.Int64>;
346             if (objectQuerySource != null)
347             {
348                 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
349             }
350             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
351         }
352
353         /// <summary>
354         /// Proxy for the function Edm.Var
355         /// </summary>
356         [EdmFunction("Edm", "Var")]
357         public static System.Double? Var(IEnumerable<System.Int64?> collection)
358         {
359             ObjectQuery<System.Int64?> objectQuerySource = collection as ObjectQuery<System.Int64?>;
360             if (objectQuerySource != null)
361             {
362                 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
363             }
364             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
365         }
366
367         /// <summary>
368         /// Proxy for the function Edm.VarP
369         /// </summary>
370         [EdmFunction("Edm", "VarP")]
371         public static System.Double? VarP(IEnumerable<System.Decimal> collection)
372         {
373             ObjectQuery<System.Decimal> objectQuerySource = collection as ObjectQuery<System.Decimal>;
374             if (objectQuerySource != null)
375             {
376                 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
377             }
378             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
379         }
380
381         /// <summary>
382         /// Proxy for the function Edm.VarP
383         /// </summary>
384         [EdmFunction("Edm", "VarP")]
385         public static System.Double? VarP(IEnumerable<System.Decimal?> collection)
386         {
387             ObjectQuery<System.Decimal?> objectQuerySource = collection as ObjectQuery<System.Decimal?>;
388             if (objectQuerySource != null)
389             {
390                 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
391             }
392             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
393         }
394
395         /// <summary>
396         /// Proxy for the function Edm.VarP
397         /// </summary>
398         [EdmFunction("Edm", "VarP")]
399         public static System.Double? VarP(IEnumerable<System.Double> collection)
400         {
401             ObjectQuery<System.Double> objectQuerySource = collection as ObjectQuery<System.Double>;
402             if (objectQuerySource != null)
403             {
404                 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
405             }
406             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
407         }
408
409         /// <summary>
410         /// Proxy for the function Edm.VarP
411         /// </summary>
412         [EdmFunction("Edm", "VarP")]
413         public static System.Double? VarP(IEnumerable<System.Double?> collection)
414         {
415             ObjectQuery<System.Double?> objectQuerySource = collection as ObjectQuery<System.Double?>;
416             if (objectQuerySource != null)
417             {
418                 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
419             }
420             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
421         }
422
423         /// <summary>
424         /// Proxy for the function Edm.VarP
425         /// </summary>
426         [EdmFunction("Edm", "VarP")]
427         public static System.Double? VarP(IEnumerable<System.Int32> collection)
428         {
429             ObjectQuery<System.Int32> objectQuerySource = collection as ObjectQuery<System.Int32>;
430             if (objectQuerySource != null)
431             {
432                 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
433             }
434             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
435         }
436
437         /// <summary>
438         /// Proxy for the function Edm.VarP
439         /// </summary>
440         [EdmFunction("Edm", "VarP")]
441         public static System.Double? VarP(IEnumerable<System.Int32?> collection)
442         {
443             ObjectQuery<System.Int32?> objectQuerySource = collection as ObjectQuery<System.Int32?>;
444             if (objectQuerySource != null)
445             {
446                 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
447             }
448             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
449         }
450
451         /// <summary>
452         /// Proxy for the function Edm.VarP
453         /// </summary>
454         [EdmFunction("Edm", "VarP")]
455         public static System.Double? VarP(IEnumerable<System.Int64> collection)
456         {
457             ObjectQuery<System.Int64> objectQuerySource = collection as ObjectQuery<System.Int64>;
458             if (objectQuerySource != null)
459             {
460                 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
461             }
462             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
463         }
464
465         /// <summary>
466         /// Proxy for the function Edm.VarP
467         /// </summary>
468         [EdmFunction("Edm", "VarP")]
469         public static System.Double? VarP(IEnumerable<System.Int64?> collection)
470         {
471             ObjectQuery<System.Int64?> objectQuerySource = collection as ObjectQuery<System.Int64?>;
472             if (objectQuerySource != null)
473             {
474                 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
475             }
476             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
477         }
478
479         /// <summary>
480         /// Proxy for the function Edm.Left
481         /// </summary>
482         [EdmFunction("Edm", "Left")]
483         [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", MessageId = "string")]
484         public static System.String Left(System.String stringArgument, System.Int64? length)
485         {
486             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
487         }
488
489         /// <summary>
490         /// Proxy for the function Edm.Right
491         /// </summary>
492         [EdmFunction("Edm", "Right")]
493         [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", MessageId = "string")]
494         public static System.String Right(System.String stringArgument, System.Int64? length)
495         {
496             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
497         }
498
499         /// <summary>
500         /// Proxy for the function Edm.Reverse
501         /// </summary>
502         [EdmFunction("Edm", "Reverse")]
503         [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", MessageId = "string")]
504         public static System.String Reverse(System.String stringArgument)
505         {
506             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
507         }
508
509         /// <summary>
510         /// Proxy for the function Edm.GetTotalOffsetMinutes
511         /// </summary>
512         [EdmFunction("Edm", "GetTotalOffsetMinutes")]
513         public static System.Int32? GetTotalOffsetMinutes(System.DateTimeOffset? dateTimeOffsetArgument)
514         {
515             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
516         }
517
518         /// <summary>
519         /// Proxy for the function Edm.TruncateTime
520         /// </summary>
521         [EdmFunction("Edm", "TruncateTime")]
522         public static System.DateTimeOffset? TruncateTime(System.DateTimeOffset? dateValue)
523         {
524             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
525         }
526
527         /// <summary>
528         /// Proxy for the function Edm.TruncateTime
529         /// </summary>
530         [EdmFunction("Edm", "TruncateTime")]
531         public static System.DateTime? TruncateTime(System.DateTime? dateValue)
532         {
533             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
534         }
535
536         /// <summary>
537         /// Proxy for the function Edm.CreateDateTime
538         /// </summary>
539         [EdmFunction("Edm", "CreateDateTime")]
540         public static System.DateTime? CreateDateTime(System.Int32? year, System.Int32? month, System.Int32? day, System.Int32? hour, System.Int32? minute, System.Double? second)
541         {
542             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
543         }
544
545         /// <summary>
546         /// Proxy for the function Edm.CreateDateTimeOffset
547         /// </summary>
548         [EdmFunction("Edm", "CreateDateTimeOffset")]
549         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)
550         {
551             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
552         }
553
554         /// <summary>
555         /// Proxy for the function Edm.CreateTime
556         /// </summary>
557         [EdmFunction("Edm", "CreateTime")]
558         public static System.TimeSpan? CreateTime(System.Int32? hour, System.Int32? minute, System.Double? second)
559         {
560             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
561         }
562
563         /// <summary>
564         /// Proxy for the function Edm.AddYears
565         /// </summary>
566         [EdmFunction("Edm", "AddYears")]
567         public static System.DateTimeOffset? AddYears(System.DateTimeOffset? dateValue, System.Int32? addValue)
568         {
569             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
570         }
571
572         /// <summary>
573         /// Proxy for the function Edm.AddYears
574         /// </summary>
575         [EdmFunction("Edm", "AddYears")]
576         public static System.DateTime? AddYears(System.DateTime? dateValue, System.Int32? addValue)
577         {
578             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
579         }
580
581         /// <summary>
582         /// Proxy for the function Edm.AddMonths
583         /// </summary>
584         [EdmFunction("Edm", "AddMonths")]
585         public static System.DateTimeOffset? AddMonths(System.DateTimeOffset? dateValue, System.Int32? addValue)
586         {
587             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
588         }
589
590         /// <summary>
591         /// Proxy for the function Edm.AddMonths
592         /// </summary>
593         [EdmFunction("Edm", "AddMonths")]
594         public static System.DateTime? AddMonths(System.DateTime? dateValue, System.Int32? addValue)
595         {
596             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
597         }
598
599         /// <summary>
600         /// Proxy for the function Edm.AddDays
601         /// </summary>
602         [EdmFunction("Edm", "AddDays")]
603         public static System.DateTimeOffset? AddDays(System.DateTimeOffset? dateValue, System.Int32? addValue)
604         {
605             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
606         }
607
608         /// <summary>
609         /// Proxy for the function Edm.AddDays
610         /// </summary>
611         [EdmFunction("Edm", "AddDays")]
612         public static System.DateTime? AddDays(System.DateTime? dateValue, System.Int32? addValue)
613         {
614             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
615         }
616
617         /// <summary>
618         /// Proxy for the function Edm.AddHours
619         /// </summary>
620         [EdmFunction("Edm", "AddHours")]
621         public static System.DateTimeOffset? AddHours(System.DateTimeOffset? timeValue, System.Int32? addValue)
622         {
623             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
624         }
625
626         /// <summary>
627         /// Proxy for the function Edm.AddHours
628         /// </summary>
629         [EdmFunction("Edm", "AddHours")]
630         public static System.DateTime? AddHours(System.DateTime? timeValue, System.Int32? addValue)
631         {
632             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
633         }
634
635         /// <summary>
636         /// Proxy for the function Edm.AddHours
637         /// </summary>
638         [EdmFunction("Edm", "AddHours")]
639         public static System.TimeSpan? AddHours(System.TimeSpan? timeValue, System.Int32? addValue)
640         {
641             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
642         }
643
644         /// <summary>
645         /// Proxy for the function Edm.AddMinutes
646         /// </summary>
647         [EdmFunction("Edm", "AddMinutes")]
648         public static System.DateTimeOffset? AddMinutes(System.DateTimeOffset? timeValue, System.Int32? addValue)
649         {
650             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
651         }
652
653         /// <summary>
654         /// Proxy for the function Edm.AddMinutes
655         /// </summary>
656         [EdmFunction("Edm", "AddMinutes")]
657         public static System.DateTime? AddMinutes(System.DateTime? timeValue, System.Int32? addValue)
658         {
659             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
660         }
661
662         /// <summary>
663         /// Proxy for the function Edm.AddMinutes
664         /// </summary>
665         [EdmFunction("Edm", "AddMinutes")]
666         public static System.TimeSpan? AddMinutes(System.TimeSpan? timeValue, System.Int32? addValue)
667         {
668             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
669         }
670
671         /// <summary>
672         /// Proxy for the function Edm.AddSeconds
673         /// </summary>
674         [EdmFunction("Edm", "AddSeconds")]
675         public static System.DateTimeOffset? AddSeconds(System.DateTimeOffset? timeValue, System.Int32? addValue)
676         {
677             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
678         }
679
680         /// <summary>
681         /// Proxy for the function Edm.AddSeconds
682         /// </summary>
683         [EdmFunction("Edm", "AddSeconds")]
684         public static System.DateTime? AddSeconds(System.DateTime? timeValue, System.Int32? addValue)
685         {
686             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
687         }
688
689         /// <summary>
690         /// Proxy for the function Edm.AddSeconds
691         /// </summary>
692         [EdmFunction("Edm", "AddSeconds")]
693         public static System.TimeSpan? AddSeconds(System.TimeSpan? timeValue, System.Int32? addValue)
694         {
695             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
696         }
697
698         /// <summary>
699         /// Proxy for the function Edm.AddMilliseconds
700         /// </summary>
701         [EdmFunction("Edm", "AddMilliseconds")]
702         public static System.DateTimeOffset? AddMilliseconds(System.DateTimeOffset? timeValue, System.Int32? addValue)
703         {
704             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
705         }
706
707         /// <summary>
708         /// Proxy for the function Edm.AddMilliseconds
709         /// </summary>
710         [EdmFunction("Edm", "AddMilliseconds")]
711         public static System.DateTime? AddMilliseconds(System.DateTime? timeValue, System.Int32? addValue)
712         {
713             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
714         }
715
716         /// <summary>
717         /// Proxy for the function Edm.AddMilliseconds
718         /// </summary>
719         [EdmFunction("Edm", "AddMilliseconds")]
720         public static System.TimeSpan? AddMilliseconds(System.TimeSpan? timeValue, System.Int32? addValue)
721         {
722             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
723         }
724
725         /// <summary>
726         /// Proxy for the function Edm.AddMicroseconds
727         /// </summary>
728         [EdmFunction("Edm", "AddMicroseconds")]
729         public static System.DateTimeOffset? AddMicroseconds(System.DateTimeOffset? timeValue, System.Int32? addValue)
730         {
731             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
732         }
733
734         /// <summary>
735         /// Proxy for the function Edm.AddMicroseconds
736         /// </summary>
737         [EdmFunction("Edm", "AddMicroseconds")]
738         public static System.DateTime? AddMicroseconds(System.DateTime? timeValue, System.Int32? addValue)
739         {
740             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
741         }
742
743         /// <summary>
744         /// Proxy for the function Edm.AddMicroseconds
745         /// </summary>
746         [EdmFunction("Edm", "AddMicroseconds")]
747         public static System.TimeSpan? AddMicroseconds(System.TimeSpan? timeValue, System.Int32? addValue)
748         {
749             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
750         }
751
752         /// <summary>
753         /// Proxy for the function Edm.AddNanoseconds
754         /// </summary>
755         [EdmFunction("Edm", "AddNanoseconds")]
756         public static System.DateTimeOffset? AddNanoseconds(System.DateTimeOffset? timeValue, System.Int32? addValue)
757         {
758             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
759         }
760
761         /// <summary>
762         /// Proxy for the function Edm.AddNanoseconds
763         /// </summary>
764         [EdmFunction("Edm", "AddNanoseconds")]
765         public static System.DateTime? AddNanoseconds(System.DateTime? timeValue, System.Int32? addValue)
766         {
767             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
768         }
769
770         /// <summary>
771         /// Proxy for the function Edm.AddNanoseconds
772         /// </summary>
773         [EdmFunction("Edm", "AddNanoseconds")]
774         public static System.TimeSpan? AddNanoseconds(System.TimeSpan? timeValue, System.Int32? addValue)
775         {
776             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
777         }
778
779         /// <summary>
780         /// Proxy for the function Edm.DiffYears
781         /// </summary>
782         [EdmFunction("Edm", "DiffYears")]
783         public static System.Int32? DiffYears(System.DateTimeOffset? dateValue1, System.DateTimeOffset? dateValue2)
784         {
785             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
786         }
787
788         /// <summary>
789         /// Proxy for the function Edm.DiffYears
790         /// </summary>
791         [EdmFunction("Edm", "DiffYears")]
792         public static System.Int32? DiffYears(System.DateTime? dateValue1, System.DateTime? dateValue2)
793         {
794             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
795         }
796
797         /// <summary>
798         /// Proxy for the function Edm.DiffMonths
799         /// </summary>
800         [EdmFunction("Edm", "DiffMonths")]
801         public static System.Int32? DiffMonths(System.DateTimeOffset? dateValue1, System.DateTimeOffset? dateValue2)
802         {
803             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
804         }
805
806         /// <summary>
807         /// Proxy for the function Edm.DiffMonths
808         /// </summary>
809         [EdmFunction("Edm", "DiffMonths")]
810         public static System.Int32? DiffMonths(System.DateTime? dateValue1, System.DateTime? dateValue2)
811         {
812             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
813         }
814
815         /// <summary>
816         /// Proxy for the function Edm.DiffDays
817         /// </summary>
818         [EdmFunction("Edm", "DiffDays")]
819         public static System.Int32? DiffDays(System.DateTimeOffset? dateValue1, System.DateTimeOffset? dateValue2)
820         {
821             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
822         }
823
824         /// <summary>
825         /// Proxy for the function Edm.DiffDays
826         /// </summary>
827         [EdmFunction("Edm", "DiffDays")]
828         public static System.Int32? DiffDays(System.DateTime? dateValue1, System.DateTime? dateValue2)
829         {
830             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
831         }
832
833         /// <summary>
834         /// Proxy for the function Edm.DiffHours
835         /// </summary>
836         [EdmFunction("Edm", "DiffHours")]
837         public static System.Int32? DiffHours(System.DateTimeOffset? timeValue1, System.DateTimeOffset? timeValue2)
838         {
839             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
840         }
841
842         /// <summary>
843         /// Proxy for the function Edm.DiffHours
844         /// </summary>
845         [EdmFunction("Edm", "DiffHours")]
846         public static System.Int32? DiffHours(System.DateTime? timeValue1, System.DateTime? timeValue2)
847         {
848             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
849         }
850
851         /// <summary>
852         /// Proxy for the function Edm.DiffHours
853         /// </summary>
854         [EdmFunction("Edm", "DiffHours")]
855         public static System.Int32? DiffHours(System.TimeSpan? timeValue1, System.TimeSpan? timeValue2)
856         {
857             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
858         }
859
860         /// <summary>
861         /// Proxy for the function Edm.DiffMinutes
862         /// </summary>
863         [EdmFunction("Edm", "DiffMinutes")]
864         public static System.Int32? DiffMinutes(System.DateTimeOffset? timeValue1, System.DateTimeOffset? timeValue2)
865         {
866             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
867         }
868
869         /// <summary>
870         /// Proxy for the function Edm.DiffMinutes
871         /// </summary>
872         [EdmFunction("Edm", "DiffMinutes")]
873         public static System.Int32? DiffMinutes(System.DateTime? timeValue1, System.DateTime? timeValue2)
874         {
875             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
876         }
877
878         /// <summary>
879         /// Proxy for the function Edm.DiffMinutes
880         /// </summary>
881         [EdmFunction("Edm", "DiffMinutes")]
882         public static System.Int32? DiffMinutes(System.TimeSpan? timeValue1, System.TimeSpan? timeValue2)
883         {
884             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
885         }
886
887         /// <summary>
888         /// Proxy for the function Edm.DiffSeconds
889         /// </summary>
890         [EdmFunction("Edm", "DiffSeconds")]
891         public static System.Int32? DiffSeconds(System.DateTimeOffset? timeValue1, System.DateTimeOffset? timeValue2)
892         {
893             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
894         }
895
896         /// <summary>
897         /// Proxy for the function Edm.DiffSeconds
898         /// </summary>
899         [EdmFunction("Edm", "DiffSeconds")]
900         public static System.Int32? DiffSeconds(System.DateTime? timeValue1, System.DateTime? timeValue2)
901         {
902             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
903         }
904
905         /// <summary>
906         /// Proxy for the function Edm.DiffSeconds
907         /// </summary>
908         [EdmFunction("Edm", "DiffSeconds")]
909         public static System.Int32? DiffSeconds(System.TimeSpan? timeValue1, System.TimeSpan? timeValue2)
910         {
911             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
912         }
913
914         /// <summary>
915         /// Proxy for the function Edm.DiffMilliseconds
916         /// </summary>
917         [EdmFunction("Edm", "DiffMilliseconds")]
918         public static System.Int32? DiffMilliseconds(System.DateTimeOffset? timeValue1, System.DateTimeOffset? timeValue2)
919         {
920             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
921         }
922
923         /// <summary>
924         /// Proxy for the function Edm.DiffMilliseconds
925         /// </summary>
926         [EdmFunction("Edm", "DiffMilliseconds")]
927         public static System.Int32? DiffMilliseconds(System.DateTime? timeValue1, System.DateTime? timeValue2)
928         {
929             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
930         }
931
932         /// <summary>
933         /// Proxy for the function Edm.DiffMilliseconds
934         /// </summary>
935         [EdmFunction("Edm", "DiffMilliseconds")]
936         public static System.Int32? DiffMilliseconds(System.TimeSpan? timeValue1, System.TimeSpan? timeValue2)
937         {
938             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
939         }
940
941         /// <summary>
942         /// Proxy for the function Edm.DiffMicroseconds
943         /// </summary>
944         [EdmFunction("Edm", "DiffMicroseconds")]
945         public static System.Int32? DiffMicroseconds(System.DateTimeOffset? timeValue1, System.DateTimeOffset? timeValue2)
946         {
947             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
948         }
949
950         /// <summary>
951         /// Proxy for the function Edm.DiffMicroseconds
952         /// </summary>
953         [EdmFunction("Edm", "DiffMicroseconds")]
954         public static System.Int32? DiffMicroseconds(System.DateTime? timeValue1, System.DateTime? timeValue2)
955         {
956             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
957         }
958
959         /// <summary>
960         /// Proxy for the function Edm.DiffMicroseconds
961         /// </summary>
962         [EdmFunction("Edm", "DiffMicroseconds")]
963         public static System.Int32? DiffMicroseconds(System.TimeSpan? timeValue1, System.TimeSpan? timeValue2)
964         {
965             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
966         }
967
968         /// <summary>
969         /// Proxy for the function Edm.DiffNanoseconds
970         /// </summary>
971         [EdmFunction("Edm", "DiffNanoseconds")]
972         public static System.Int32? DiffNanoseconds(System.DateTimeOffset? timeValue1, System.DateTimeOffset? timeValue2)
973         {
974             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
975         }
976
977         /// <summary>
978         /// Proxy for the function Edm.DiffNanoseconds
979         /// </summary>
980         [EdmFunction("Edm", "DiffNanoseconds")]
981         public static System.Int32? DiffNanoseconds(System.DateTime? timeValue1, System.DateTime? timeValue2)
982         {
983             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
984         }
985
986         /// <summary>
987         /// Proxy for the function Edm.DiffNanoseconds
988         /// </summary>
989         [EdmFunction("Edm", "DiffNanoseconds")]
990         public static System.Int32? DiffNanoseconds(System.TimeSpan? timeValue1, System.TimeSpan? timeValue2)
991         {
992             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
993         }
994
995         /// <summary>
996         /// Proxy for the function Edm.Truncate
997         /// </summary>
998         [EdmFunction("Edm", "Truncate")]
999         public static System.Double? Truncate(System.Double? value, System.Int32? digits)
1000         {
1001             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
1002         }
1003
1004         /// <summary>
1005         /// Proxy for the function Edm.Truncate
1006         /// </summary>
1007         [EdmFunction("Edm", "Truncate")]
1008         public static System.Decimal? Truncate(System.Decimal? value, System.Int32? digits)
1009         {
1010             throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
1011         }
1012
1013     }
1014 }