Beispiel #1
0
 public static IValueAccessor <GraphQLBoolean> NullableBool <T1>(
     this JsonQueryBuilder builder,
     IDbFragment <T1> value1,
     Func <T1, bool?> transformer)
 {
     return(builder.SelectNullable <GraphQLBoolean, T1, bool?>(value1, transformer));
 }
Beispiel #2
0
        // ---

        public static IValueAccessor <GraphQLString> NullableString <T1>(
            this JsonQueryBuilder builder,
            IDbFragment <T1> value1,
            Func <T1, string> transformer)
        {
            return(builder.SelectNullable <GraphQLString, T1, string>(value1, transformer));
        }
Beispiel #3
0
 public static IValueAccessor <GraphQLInt> NullableInt <T1>(
     this JsonQueryBuilder builder,
     IDbFragment <T1> value1,
     Func <T1, int?> transformer)
 {
     return(builder.SelectNullable <GraphQLInt, T1, int?>(value1, transformer));
 }
Beispiel #4
0
 public static IValueAccessor <GraphQLFloat> NullableFloat <T1, T2>(
     this JsonQueryBuilder builder,
     IDbFragment <T1> value1,
     IDbFragment <T2> value2,
     Func <T1, T2, decimal?> transformer)
 {
     return(builder.SelectNullable <GraphQLFloat, T1, T2, decimal?>(value1, value2, transformer));
 }
Beispiel #5
0
 public static IValueAccessor <GraphQLBoolean> NullableBool <T1, T2, T3, T4>(
     this JsonQueryBuilder builder,
     IDbFragment <T1> value1,
     IDbFragment <T2> value2,
     IDbFragment <T3> value3,
     IDbFragment <T4> value4,
     Func <T1, T2, T3, T4, bool?> transformer)
 {
     return(builder.SelectNullable <GraphQLBoolean, T1, T2, T3, T4, bool?>(value1, value2, value3, value4, transformer));
 }
Beispiel #6
0
        // ---

        public static IValueAccessor <GraphQLString> NullableString <T1, T2, T3, T4>(
            this JsonQueryBuilder builder,
            IDbFragment <T1> value1,
            IDbFragment <T2> value2,
            IDbFragment <T3> value3,
            IDbFragment <T4> value4,
            Func <T1, T2, T3, T4, string> transformer)
        {
            return(builder.SelectNullable <GraphQLString, T1, T2, T3, T4, string>(value1, value2, value3, value4, transformer));
        }
Beispiel #7
0
 public static IValueAccessor <GraphQLInt> NullableInt <T1, T2, T3, T4, T5>(
     this JsonQueryBuilder builder,
     IDbFragment <T1> value1,
     IDbFragment <T2> value2,
     IDbFragment <T3> value3,
     IDbFragment <T4> value4,
     IDbFragment <T5> value5,
     Func <T1, T2, T3, T4, T5, int?> transformer)
 {
     return(builder.SelectNullable <GraphQLInt, T1, T2, T3, T4, T5, int?>(value1, value2, value3, value4, value5, transformer));
 }
Beispiel #8
0
 public static IValueAccessor <GraphQLFloat> NullableFloat <T1, T2, T3, T4, T5, T6>(
     this JsonQueryBuilder builder,
     IDbFragment <T1> value1,
     IDbFragment <T2> value2,
     IDbFragment <T3> value3,
     IDbFragment <T4> value4,
     IDbFragment <T5> value5,
     IDbFragment <T6> value6,
     Func <T1, T2, T3, T4, T5, T6, decimal?> transformer)
 {
     return(builder.SelectNullable <GraphQLFloat, T1, T2, T3, T4, T5, T6, decimal?>(value1, value2, value3, value4, value5, value6, transformer));
 }
Beispiel #9
0
 public static IValueAccessor <GraphQLBoolean> NullableBool(this JsonQueryBuilder builder, IDbFragment <bool> value)
 {
     return(builder.SelectNullable <GraphQLBoolean, bool?>(new TypeCastDbValue <bool?>(value)));
 }
Beispiel #10
0
 public static IValueAccessor <GraphQLInt> NullableInt(this JsonQueryBuilder builder, IDbFragment <int> value)
 {
     return(builder.SelectNullable <GraphQLInt, int?>(new TypeCastDbValue <int?>(value)));
 }
Beispiel #11
0
 public static IValueAccessor <GraphQLFloat> NullableFloat(this JsonQueryBuilder builder, IDbFragment <decimal> value)
 {
     return(builder.SelectNullable <GraphQLFloat, decimal?>(new TypeCastDbValue <decimal?>(value)));
 }
Beispiel #12
0
 public static IValueAccessor <GraphQLEnum <TEnum> > NullableEnum <TEnum>(this JsonQueryBuilder builder, IDbFragment <TEnum> value)
     where TEnum : struct, Enum
 {
     return(builder.SelectNullable <GraphQLEnum <TEnum>, TEnum?>(new TypeCastDbValue <TEnum?>(value)));
 }
Beispiel #13
0
        // ---

        public static IValueAccessor <GraphQLString> NullableString(this JsonQueryBuilder builder, IDbFragment <string> value)
        {
            return(builder.SelectNullable <GraphQLString, string>(value));
        }