1 //------------------------------------------------------------------------------
2 // <copyright file="EntityFunctions.cs company="Microsoft">
3 // Copyright (c) Microsoft Corporation. All rights reserved.
7 // This code was generated by a tool.
8 // Generation date and time : 5/13/2011 12:53:13.2245698
10 // Changes to this file will be lost if the code is regenerated.
14 // @backupOwner Microsoft
15 //------------------------------------------------------------------------------
17 using System.Collections.Generic;
18 using System.Data.Objects;
19 using System.Data.Objects.DataClasses;
21 using System.Linq.Expressions;
22 using System.Reflection;
24 namespace System.Data.Objects
27 /// Contains function stubs that expose Edm methods in Linq to Entities.
29 public static partial class EntityFunctions
32 /// Proxy for the function Edm.StDev
34 [EdmFunction("Edm", "StDev")]
35 public static System.Double? StandardDeviation(IEnumerable<System.Decimal> collection)
37 ObjectQuery<System.Decimal> objectQuerySource = collection as ObjectQuery<System.Decimal>;
38 if (objectQuerySource != null)
40 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
42 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
46 /// Proxy for the function Edm.StDev
48 [EdmFunction("Edm", "StDev")]
49 public static System.Double? StandardDeviation(IEnumerable<System.Decimal?> collection)
51 ObjectQuery<System.Decimal?> objectQuerySource = collection as ObjectQuery<System.Decimal?>;
52 if (objectQuerySource != null)
54 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
56 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
60 /// Proxy for the function Edm.StDev
62 [EdmFunction("Edm", "StDev")]
63 public static System.Double? StandardDeviation(IEnumerable<System.Double> collection)
65 ObjectQuery<System.Double> objectQuerySource = collection as ObjectQuery<System.Double>;
66 if (objectQuerySource != null)
68 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
70 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
74 /// Proxy for the function Edm.StDev
76 [EdmFunction("Edm", "StDev")]
77 public static System.Double? StandardDeviation(IEnumerable<System.Double?> collection)
79 ObjectQuery<System.Double?> objectQuerySource = collection as ObjectQuery<System.Double?>;
80 if (objectQuerySource != null)
82 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
84 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
88 /// Proxy for the function Edm.StDev
90 [EdmFunction("Edm", "StDev")]
91 public static System.Double? StandardDeviation(IEnumerable<System.Int32> collection)
93 ObjectQuery<System.Int32> objectQuerySource = collection as ObjectQuery<System.Int32>;
94 if (objectQuerySource != null)
96 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
98 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
102 /// Proxy for the function Edm.StDev
104 [EdmFunction("Edm", "StDev")]
105 public static System.Double? StandardDeviation(IEnumerable<System.Int32?> collection)
107 ObjectQuery<System.Int32?> objectQuerySource = collection as ObjectQuery<System.Int32?>;
108 if (objectQuerySource != null)
110 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
112 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
116 /// Proxy for the function Edm.StDev
118 [EdmFunction("Edm", "StDev")]
119 public static System.Double? StandardDeviation(IEnumerable<System.Int64> collection)
121 ObjectQuery<System.Int64> objectQuerySource = collection as ObjectQuery<System.Int64>;
122 if (objectQuerySource != null)
124 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
126 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
130 /// Proxy for the function Edm.StDev
132 [EdmFunction("Edm", "StDev")]
133 public static System.Double? StandardDeviation(IEnumerable<System.Int64?> collection)
135 ObjectQuery<System.Int64?> objectQuerySource = collection as ObjectQuery<System.Int64?>;
136 if (objectQuerySource != null)
138 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
140 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
144 /// Proxy for the function Edm.StDevP
146 [EdmFunction("Edm", "StDevP")]
147 public static System.Double? StandardDeviationP(IEnumerable<System.Decimal> collection)
149 ObjectQuery<System.Decimal> objectQuerySource = collection as ObjectQuery<System.Decimal>;
150 if (objectQuerySource != null)
152 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
154 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
158 /// Proxy for the function Edm.StDevP
160 [EdmFunction("Edm", "StDevP")]
161 public static System.Double? StandardDeviationP(IEnumerable<System.Decimal?> collection)
163 ObjectQuery<System.Decimal?> objectQuerySource = collection as ObjectQuery<System.Decimal?>;
164 if (objectQuerySource != null)
166 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
168 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
172 /// Proxy for the function Edm.StDevP
174 [EdmFunction("Edm", "StDevP")]
175 public static System.Double? StandardDeviationP(IEnumerable<System.Double> collection)
177 ObjectQuery<System.Double> objectQuerySource = collection as ObjectQuery<System.Double>;
178 if (objectQuerySource != null)
180 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
182 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
186 /// Proxy for the function Edm.StDevP
188 [EdmFunction("Edm", "StDevP")]
189 public static System.Double? StandardDeviationP(IEnumerable<System.Double?> collection)
191 ObjectQuery<System.Double?> objectQuerySource = collection as ObjectQuery<System.Double?>;
192 if (objectQuerySource != null)
194 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
196 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
200 /// Proxy for the function Edm.StDevP
202 [EdmFunction("Edm", "StDevP")]
203 public static System.Double? StandardDeviationP(IEnumerable<System.Int32> collection)
205 ObjectQuery<System.Int32> objectQuerySource = collection as ObjectQuery<System.Int32>;
206 if (objectQuerySource != null)
208 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
210 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
214 /// Proxy for the function Edm.StDevP
216 [EdmFunction("Edm", "StDevP")]
217 public static System.Double? StandardDeviationP(IEnumerable<System.Int32?> collection)
219 ObjectQuery<System.Int32?> objectQuerySource = collection as ObjectQuery<System.Int32?>;
220 if (objectQuerySource != null)
222 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
224 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
228 /// Proxy for the function Edm.StDevP
230 [EdmFunction("Edm", "StDevP")]
231 public static System.Double? StandardDeviationP(IEnumerable<System.Int64> collection)
233 ObjectQuery<System.Int64> objectQuerySource = collection as ObjectQuery<System.Int64>;
234 if (objectQuerySource != null)
236 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
238 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
242 /// Proxy for the function Edm.StDevP
244 [EdmFunction("Edm", "StDevP")]
245 public static System.Double? StandardDeviationP(IEnumerable<System.Int64?> collection)
247 ObjectQuery<System.Int64?> objectQuerySource = collection as ObjectQuery<System.Int64?>;
248 if (objectQuerySource != null)
250 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
252 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
256 /// Proxy for the function Edm.Var
258 [EdmFunction("Edm", "Var")]
259 public static System.Double? Var(IEnumerable<System.Decimal> collection)
261 ObjectQuery<System.Decimal> objectQuerySource = collection as ObjectQuery<System.Decimal>;
262 if (objectQuerySource != null)
264 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
266 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
270 /// Proxy for the function Edm.Var
272 [EdmFunction("Edm", "Var")]
273 public static System.Double? Var(IEnumerable<System.Decimal?> collection)
275 ObjectQuery<System.Decimal?> objectQuerySource = collection as ObjectQuery<System.Decimal?>;
276 if (objectQuerySource != null)
278 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
280 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
284 /// Proxy for the function Edm.Var
286 [EdmFunction("Edm", "Var")]
287 public static System.Double? Var(IEnumerable<System.Double> collection)
289 ObjectQuery<System.Double> objectQuerySource = collection as ObjectQuery<System.Double>;
290 if (objectQuerySource != null)
292 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
294 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
298 /// Proxy for the function Edm.Var
300 [EdmFunction("Edm", "Var")]
301 public static System.Double? Var(IEnumerable<System.Double?> collection)
303 ObjectQuery<System.Double?> objectQuerySource = collection as ObjectQuery<System.Double?>;
304 if (objectQuerySource != null)
306 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
308 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
312 /// Proxy for the function Edm.Var
314 [EdmFunction("Edm", "Var")]
315 public static System.Double? Var(IEnumerable<System.Int32> collection)
317 ObjectQuery<System.Int32> objectQuerySource = collection as ObjectQuery<System.Int32>;
318 if (objectQuerySource != null)
320 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
322 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
326 /// Proxy for the function Edm.Var
328 [EdmFunction("Edm", "Var")]
329 public static System.Double? Var(IEnumerable<System.Int32?> collection)
331 ObjectQuery<System.Int32?> objectQuerySource = collection as ObjectQuery<System.Int32?>;
332 if (objectQuerySource != null)
334 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
336 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
340 /// Proxy for the function Edm.Var
342 [EdmFunction("Edm", "Var")]
343 public static System.Double? Var(IEnumerable<System.Int64> collection)
345 ObjectQuery<System.Int64> objectQuerySource = collection as ObjectQuery<System.Int64>;
346 if (objectQuerySource != null)
348 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
350 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
354 /// Proxy for the function Edm.Var
356 [EdmFunction("Edm", "Var")]
357 public static System.Double? Var(IEnumerable<System.Int64?> collection)
359 ObjectQuery<System.Int64?> objectQuerySource = collection as ObjectQuery<System.Int64?>;
360 if (objectQuerySource != null)
362 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
364 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
368 /// Proxy for the function Edm.VarP
370 [EdmFunction("Edm", "VarP")]
371 public static System.Double? VarP(IEnumerable<System.Decimal> collection)
373 ObjectQuery<System.Decimal> objectQuerySource = collection as ObjectQuery<System.Decimal>;
374 if (objectQuerySource != null)
376 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
378 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
382 /// Proxy for the function Edm.VarP
384 [EdmFunction("Edm", "VarP")]
385 public static System.Double? VarP(IEnumerable<System.Decimal?> collection)
387 ObjectQuery<System.Decimal?> objectQuerySource = collection as ObjectQuery<System.Decimal?>;
388 if (objectQuerySource != null)
390 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
392 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
396 /// Proxy for the function Edm.VarP
398 [EdmFunction("Edm", "VarP")]
399 public static System.Double? VarP(IEnumerable<System.Double> collection)
401 ObjectQuery<System.Double> objectQuerySource = collection as ObjectQuery<System.Double>;
402 if (objectQuerySource != null)
404 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
406 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
410 /// Proxy for the function Edm.VarP
412 [EdmFunction("Edm", "VarP")]
413 public static System.Double? VarP(IEnumerable<System.Double?> collection)
415 ObjectQuery<System.Double?> objectQuerySource = collection as ObjectQuery<System.Double?>;
416 if (objectQuerySource != null)
418 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
420 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
424 /// Proxy for the function Edm.VarP
426 [EdmFunction("Edm", "VarP")]
427 public static System.Double? VarP(IEnumerable<System.Int32> collection)
429 ObjectQuery<System.Int32> objectQuerySource = collection as ObjectQuery<System.Int32>;
430 if (objectQuerySource != null)
432 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
434 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
438 /// Proxy for the function Edm.VarP
440 [EdmFunction("Edm", "VarP")]
441 public static System.Double? VarP(IEnumerable<System.Int32?> collection)
443 ObjectQuery<System.Int32?> objectQuerySource = collection as ObjectQuery<System.Int32?>;
444 if (objectQuerySource != null)
446 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
448 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
452 /// Proxy for the function Edm.VarP
454 [EdmFunction("Edm", "VarP")]
455 public static System.Double? VarP(IEnumerable<System.Int64> collection)
457 ObjectQuery<System.Int64> objectQuerySource = collection as ObjectQuery<System.Int64>;
458 if (objectQuerySource != null)
460 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
462 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
466 /// Proxy for the function Edm.VarP
468 [EdmFunction("Edm", "VarP")]
469 public static System.Double? VarP(IEnumerable<System.Int64?> collection)
471 ObjectQuery<System.Int64?> objectQuerySource = collection as ObjectQuery<System.Int64?>;
472 if (objectQuerySource != null)
474 return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
476 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
480 /// Proxy for the function Edm.Left
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)
486 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
490 /// Proxy for the function Edm.Right
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)
496 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
500 /// Proxy for the function Edm.Reverse
502 [EdmFunction("Edm", "Reverse")]
503 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", MessageId = "string")]
504 public static System.String Reverse(System.String stringArgument)
506 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
510 /// Proxy for the function Edm.GetTotalOffsetMinutes
512 [EdmFunction("Edm", "GetTotalOffsetMinutes")]
513 public static System.Int32? GetTotalOffsetMinutes(System.DateTimeOffset? dateTimeOffsetArgument)
515 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
519 /// Proxy for the function Edm.TruncateTime
521 [EdmFunction("Edm", "TruncateTime")]
522 public static System.DateTimeOffset? TruncateTime(System.DateTimeOffset? dateValue)
524 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
528 /// Proxy for the function Edm.TruncateTime
530 [EdmFunction("Edm", "TruncateTime")]
531 public static System.DateTime? TruncateTime(System.DateTime? dateValue)
533 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
537 /// Proxy for the function Edm.CreateDateTime
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)
542 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
546 /// Proxy for the function Edm.CreateDateTimeOffset
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)
551 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
555 /// Proxy for the function Edm.CreateTime
557 [EdmFunction("Edm", "CreateTime")]
558 public static System.TimeSpan? CreateTime(System.Int32? hour, System.Int32? minute, System.Double? second)
560 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
564 /// Proxy for the function Edm.AddYears
566 [EdmFunction("Edm", "AddYears")]
567 public static System.DateTimeOffset? AddYears(System.DateTimeOffset? dateValue, System.Int32? addValue)
569 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
573 /// Proxy for the function Edm.AddYears
575 [EdmFunction("Edm", "AddYears")]
576 public static System.DateTime? AddYears(System.DateTime? dateValue, System.Int32? addValue)
578 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
582 /// Proxy for the function Edm.AddMonths
584 [EdmFunction("Edm", "AddMonths")]
585 public static System.DateTimeOffset? AddMonths(System.DateTimeOffset? dateValue, System.Int32? addValue)
587 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
591 /// Proxy for the function Edm.AddMonths
593 [EdmFunction("Edm", "AddMonths")]
594 public static System.DateTime? AddMonths(System.DateTime? dateValue, System.Int32? addValue)
596 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
600 /// Proxy for the function Edm.AddDays
602 [EdmFunction("Edm", "AddDays")]
603 public static System.DateTimeOffset? AddDays(System.DateTimeOffset? dateValue, System.Int32? addValue)
605 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
609 /// Proxy for the function Edm.AddDays
611 [EdmFunction("Edm", "AddDays")]
612 public static System.DateTime? AddDays(System.DateTime? dateValue, System.Int32? addValue)
614 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
618 /// Proxy for the function Edm.AddHours
620 [EdmFunction("Edm", "AddHours")]
621 public static System.DateTimeOffset? AddHours(System.DateTimeOffset? timeValue, System.Int32? addValue)
623 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
627 /// Proxy for the function Edm.AddHours
629 [EdmFunction("Edm", "AddHours")]
630 public static System.DateTime? AddHours(System.DateTime? timeValue, System.Int32? addValue)
632 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
636 /// Proxy for the function Edm.AddHours
638 [EdmFunction("Edm", "AddHours")]
639 public static System.TimeSpan? AddHours(System.TimeSpan? timeValue, System.Int32? addValue)
641 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
645 /// Proxy for the function Edm.AddMinutes
647 [EdmFunction("Edm", "AddMinutes")]
648 public static System.DateTimeOffset? AddMinutes(System.DateTimeOffset? timeValue, System.Int32? addValue)
650 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
654 /// Proxy for the function Edm.AddMinutes
656 [EdmFunction("Edm", "AddMinutes")]
657 public static System.DateTime? AddMinutes(System.DateTime? timeValue, System.Int32? addValue)
659 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
663 /// Proxy for the function Edm.AddMinutes
665 [EdmFunction("Edm", "AddMinutes")]
666 public static System.TimeSpan? AddMinutes(System.TimeSpan? timeValue, System.Int32? addValue)
668 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
672 /// Proxy for the function Edm.AddSeconds
674 [EdmFunction("Edm", "AddSeconds")]
675 public static System.DateTimeOffset? AddSeconds(System.DateTimeOffset? timeValue, System.Int32? addValue)
677 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
681 /// Proxy for the function Edm.AddSeconds
683 [EdmFunction("Edm", "AddSeconds")]
684 public static System.DateTime? AddSeconds(System.DateTime? timeValue, System.Int32? addValue)
686 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
690 /// Proxy for the function Edm.AddSeconds
692 [EdmFunction("Edm", "AddSeconds")]
693 public static System.TimeSpan? AddSeconds(System.TimeSpan? timeValue, System.Int32? addValue)
695 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
699 /// Proxy for the function Edm.AddMilliseconds
701 [EdmFunction("Edm", "AddMilliseconds")]
702 public static System.DateTimeOffset? AddMilliseconds(System.DateTimeOffset? timeValue, System.Int32? addValue)
704 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
708 /// Proxy for the function Edm.AddMilliseconds
710 [EdmFunction("Edm", "AddMilliseconds")]
711 public static System.DateTime? AddMilliseconds(System.DateTime? timeValue, System.Int32? addValue)
713 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
717 /// Proxy for the function Edm.AddMilliseconds
719 [EdmFunction("Edm", "AddMilliseconds")]
720 public static System.TimeSpan? AddMilliseconds(System.TimeSpan? timeValue, System.Int32? addValue)
722 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
726 /// Proxy for the function Edm.AddMicroseconds
728 [EdmFunction("Edm", "AddMicroseconds")]
729 public static System.DateTimeOffset? AddMicroseconds(System.DateTimeOffset? timeValue, System.Int32? addValue)
731 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
735 /// Proxy for the function Edm.AddMicroseconds
737 [EdmFunction("Edm", "AddMicroseconds")]
738 public static System.DateTime? AddMicroseconds(System.DateTime? timeValue, System.Int32? addValue)
740 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
744 /// Proxy for the function Edm.AddMicroseconds
746 [EdmFunction("Edm", "AddMicroseconds")]
747 public static System.TimeSpan? AddMicroseconds(System.TimeSpan? timeValue, System.Int32? addValue)
749 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
753 /// Proxy for the function Edm.AddNanoseconds
755 [EdmFunction("Edm", "AddNanoseconds")]
756 public static System.DateTimeOffset? AddNanoseconds(System.DateTimeOffset? timeValue, System.Int32? addValue)
758 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
762 /// Proxy for the function Edm.AddNanoseconds
764 [EdmFunction("Edm", "AddNanoseconds")]
765 public static System.DateTime? AddNanoseconds(System.DateTime? timeValue, System.Int32? addValue)
767 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
771 /// Proxy for the function Edm.AddNanoseconds
773 [EdmFunction("Edm", "AddNanoseconds")]
774 public static System.TimeSpan? AddNanoseconds(System.TimeSpan? timeValue, System.Int32? addValue)
776 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
780 /// Proxy for the function Edm.DiffYears
782 [EdmFunction("Edm", "DiffYears")]
783 public static System.Int32? DiffYears(System.DateTimeOffset? dateValue1, System.DateTimeOffset? dateValue2)
785 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
789 /// Proxy for the function Edm.DiffYears
791 [EdmFunction("Edm", "DiffYears")]
792 public static System.Int32? DiffYears(System.DateTime? dateValue1, System.DateTime? dateValue2)
794 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
798 /// Proxy for the function Edm.DiffMonths
800 [EdmFunction("Edm", "DiffMonths")]
801 public static System.Int32? DiffMonths(System.DateTimeOffset? dateValue1, System.DateTimeOffset? dateValue2)
803 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
807 /// Proxy for the function Edm.DiffMonths
809 [EdmFunction("Edm", "DiffMonths")]
810 public static System.Int32? DiffMonths(System.DateTime? dateValue1, System.DateTime? dateValue2)
812 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
816 /// Proxy for the function Edm.DiffDays
818 [EdmFunction("Edm", "DiffDays")]
819 public static System.Int32? DiffDays(System.DateTimeOffset? dateValue1, System.DateTimeOffset? dateValue2)
821 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
825 /// Proxy for the function Edm.DiffDays
827 [EdmFunction("Edm", "DiffDays")]
828 public static System.Int32? DiffDays(System.DateTime? dateValue1, System.DateTime? dateValue2)
830 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
834 /// Proxy for the function Edm.DiffHours
836 [EdmFunction("Edm", "DiffHours")]
837 public static System.Int32? DiffHours(System.DateTimeOffset? timeValue1, System.DateTimeOffset? timeValue2)
839 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
843 /// Proxy for the function Edm.DiffHours
845 [EdmFunction("Edm", "DiffHours")]
846 public static System.Int32? DiffHours(System.DateTime? timeValue1, System.DateTime? timeValue2)
848 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
852 /// Proxy for the function Edm.DiffHours
854 [EdmFunction("Edm", "DiffHours")]
855 public static System.Int32? DiffHours(System.TimeSpan? timeValue1, System.TimeSpan? timeValue2)
857 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
861 /// Proxy for the function Edm.DiffMinutes
863 [EdmFunction("Edm", "DiffMinutes")]
864 public static System.Int32? DiffMinutes(System.DateTimeOffset? timeValue1, System.DateTimeOffset? timeValue2)
866 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
870 /// Proxy for the function Edm.DiffMinutes
872 [EdmFunction("Edm", "DiffMinutes")]
873 public static System.Int32? DiffMinutes(System.DateTime? timeValue1, System.DateTime? timeValue2)
875 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
879 /// Proxy for the function Edm.DiffMinutes
881 [EdmFunction("Edm", "DiffMinutes")]
882 public static System.Int32? DiffMinutes(System.TimeSpan? timeValue1, System.TimeSpan? timeValue2)
884 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
888 /// Proxy for the function Edm.DiffSeconds
890 [EdmFunction("Edm", "DiffSeconds")]
891 public static System.Int32? DiffSeconds(System.DateTimeOffset? timeValue1, System.DateTimeOffset? timeValue2)
893 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
897 /// Proxy for the function Edm.DiffSeconds
899 [EdmFunction("Edm", "DiffSeconds")]
900 public static System.Int32? DiffSeconds(System.DateTime? timeValue1, System.DateTime? timeValue2)
902 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
906 /// Proxy for the function Edm.DiffSeconds
908 [EdmFunction("Edm", "DiffSeconds")]
909 public static System.Int32? DiffSeconds(System.TimeSpan? timeValue1, System.TimeSpan? timeValue2)
911 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
915 /// Proxy for the function Edm.DiffMilliseconds
917 [EdmFunction("Edm", "DiffMilliseconds")]
918 public static System.Int32? DiffMilliseconds(System.DateTimeOffset? timeValue1, System.DateTimeOffset? timeValue2)
920 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
924 /// Proxy for the function Edm.DiffMilliseconds
926 [EdmFunction("Edm", "DiffMilliseconds")]
927 public static System.Int32? DiffMilliseconds(System.DateTime? timeValue1, System.DateTime? timeValue2)
929 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
933 /// Proxy for the function Edm.DiffMilliseconds
935 [EdmFunction("Edm", "DiffMilliseconds")]
936 public static System.Int32? DiffMilliseconds(System.TimeSpan? timeValue1, System.TimeSpan? timeValue2)
938 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
942 /// Proxy for the function Edm.DiffMicroseconds
944 [EdmFunction("Edm", "DiffMicroseconds")]
945 public static System.Int32? DiffMicroseconds(System.DateTimeOffset? timeValue1, System.DateTimeOffset? timeValue2)
947 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
951 /// Proxy for the function Edm.DiffMicroseconds
953 [EdmFunction("Edm", "DiffMicroseconds")]
954 public static System.Int32? DiffMicroseconds(System.DateTime? timeValue1, System.DateTime? timeValue2)
956 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
960 /// Proxy for the function Edm.DiffMicroseconds
962 [EdmFunction("Edm", "DiffMicroseconds")]
963 public static System.Int32? DiffMicroseconds(System.TimeSpan? timeValue1, System.TimeSpan? timeValue2)
965 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
969 /// Proxy for the function Edm.DiffNanoseconds
971 [EdmFunction("Edm", "DiffNanoseconds")]
972 public static System.Int32? DiffNanoseconds(System.DateTimeOffset? timeValue1, System.DateTimeOffset? timeValue2)
974 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
978 /// Proxy for the function Edm.DiffNanoseconds
980 [EdmFunction("Edm", "DiffNanoseconds")]
981 public static System.Int32? DiffNanoseconds(System.DateTime? timeValue1, System.DateTime? timeValue2)
983 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
987 /// Proxy for the function Edm.DiffNanoseconds
989 [EdmFunction("Edm", "DiffNanoseconds")]
990 public static System.Int32? DiffNanoseconds(System.TimeSpan? timeValue1, System.TimeSpan? timeValue2)
992 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
996 /// Proxy for the function Edm.Truncate
998 [EdmFunction("Edm", "Truncate")]
999 public static System.Double? Truncate(System.Double? value, System.Int32? digits)
1001 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
1005 /// Proxy for the function Edm.Truncate
1007 [EdmFunction("Edm", "Truncate")]
1008 public static System.Decimal? Truncate(System.Decimal? value, System.Int32? digits)
1010 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);