87 references to MethodSupport
System.Data.Linq (87)
SqlClient\Query\SqlMethodCallConverter.cs (87)
41
if (mc != null && (GetMethodSupport(mc) ==
MethodSupport
.Method)) {
109
private static
MethodSupport
GetMethodSupport(SqlMethodCall mc) {
111
MethodSupport
best =
MethodSupport
.None;
112
MethodSupport
ms = GetSqlMethodsMethodSupport(mc);
168
private static
MethodSupport
GetCoercionMethodSupport(SqlMethodCall mc) {
172
return
MethodSupport
.Method;
174
return
MethodSupport
.None;
177
private static
MethodSupport
GetComparisonMethodSupport(SqlMethodCall mc) {
179
return
MethodSupport
.Method;
181
return
MethodSupport
.None;
184
private static
MethodSupport
GetObjectMethodSupport(SqlMethodCall mc) {
188
return
MethodSupport
.Method;
191
return
MethodSupport
.Method;
193
return
MethodSupport
.None;
196
return
MethodSupport
.Method;
198
return
MethodSupport
.None;
201
return
MethodSupport
.None;
204
private static
MethodSupport
GetNullableMethodSupport(SqlMethodCall mc) {
206
return
MethodSupport
.Method;
208
return
MethodSupport
.None;
214
private static
MethodSupport
GetSqlMethodsMethodSupport(SqlMethodCall mc) {
220
return
MethodSupport
.Method;
222
return
MethodSupport
.MethodGroup;
229
return
MethodSupport
.Method;
232
return
MethodSupport
.Method;
234
return
MethodSupport
.MethodGroup;
237
return
MethodSupport
.Method;
240
return
MethodSupport
.None;
243
private static
MethodSupport
GetDateTimeMethodSupport(SqlMethodCall mc) {
255
return
MethodSupport
.Method;
258
return
MethodSupport
.Method;
260
return
MethodSupport
.MethodGroup;
264
return
MethodSupport
.None;
267
private static
MethodSupport
GetDateTimeOffsetMethodSupport(SqlMethodCall mc) {
279
return
MethodSupport
.Method;
282
return
MethodSupport
.Method;
285
return
MethodSupport
.MethodGroup;
289
return
MethodSupport
.None;
292
private static
MethodSupport
GetTimeSpanMethodSupport(SqlMethodCall mc) {
300
return
MethodSupport
.Method;
303
return
MethodSupport
.None;
306
private static
MethodSupport
GetConvertMethodSupport(SqlMethodCall mc) {
319
return
MethodSupport
.Method;
322
return
MethodSupport
.Method;
324
return
MethodSupport
.MethodGroup;
328
return
MethodSupport
.None;
331
private static
MethodSupport
GetDecimalMethodSupport(SqlMethodCall mc) {
341
return
MethodSupport
.Method;
350
return
MethodSupport
.Method;
353
return
MethodSupport
.Method;
359
return
MethodSupport
.None;
362
private static
MethodSupport
GetStringMethodSupport(SqlMethodCall mc) {
366
return
MethodSupport
.Method;
375
return
MethodSupport
.Method;
377
return
MethodSupport
.MethodGroup;
383
return
MethodSupport
.Method;
385
return
MethodSupport
.MethodGroup;
388
return
MethodSupport
.Method;
390
return
MethodSupport
.MethodGroup;
397
return
MethodSupport
.Method;
399
return
MethodSupport
.MethodGroup;
401
return
MethodSupport
.Method;
406
return
MethodSupport
.Method;
408
return
MethodSupport
.MethodGroup;
412
return
MethodSupport
.Method;
414
return
MethodSupport
.MethodGroup;
418
return
MethodSupport
.None;
421
private static
MethodSupport
GetMathMethodSupport(SqlMethodCall mc) {
435
return
MethodSupport
.Method;
437
return
MethodSupport
.MethodGroup;
440
return
MethodSupport
.Method;
442
return
MethodSupport
.MethodGroup;
449
return
MethodSupport
.Method;
451
return
MethodSupport
.MethodGroup;
455
return
MethodSupport
.Method;
457
return
MethodSupport
.MethodGroup;
466
return
MethodSupport
.Method;
468
return
MethodSupport
.MethodGroup;
471
return
MethodSupport
.None;
474
private static
MethodSupport
GetVbHelperMethodSupport(SqlMethodCall mc) {
478
return
MethodSupport
.Method;
480
return
MethodSupport
.None;
944
Debug.Assert(GetMethodSupport(mc) ==
MethodSupport
.Method);
978
Debug.Assert(GetMethodSupport(mc) ==
MethodSupport
.Method);
986
MethodSupport
ms = GetMethodSupport(mc);
987
if (ms ==
MethodSupport
.MethodGroup) {