Exemple #1
0
 protected FieldResult(FieldResult field)
 {
     Alias               = field.Alias;
     FieldName           = field.FieldName;
     Entity              = field.Entity;
     Property            = field.Property;
     Field               = field.Field;
     FunctionText        = field.FunctionText;
     FunctionArgs        = field.FunctionArgs;
     OverridenReturnType = field.OverridenReturnType;
 }
Exemple #2
0
 public MiscResult Get(FieldResult result, bool withCoalesce = false, Type?type = null)
 {
     if (withCoalesce)
     {
         return(new MiscResult(t => t.FnGetFieldWithCoalesce, new object[] { this, result }, type ?? typeof(object)));
     }
     else
     {
         return(new MiscResult(t => t.FnGetField, new object[] { this, result }, type ?? typeof(object)));
     }
 }
 public Assignment(FieldResult field, IValue value)
 {
     Field = field;
     Value = value;
 }
Exemple #4
0
 internal BooleanResult(FieldResult field) : base(field)
 {
 }
Exemple #5
0
 public StringResult(FieldResult field, Func <QueryTranslator, string?>?function, object[]?arguments = null, Type?type = null) : base(field, function, arguments, type)
 {
 }
Exemple #6
0
 internal StringResult(FieldResult field) : base(field)
 {
 }
Exemple #7
0
 internal NumericResult(FieldResult field) : base(field)
 {
 }
Exemple #8
0
 internal FloatResult(FieldResult field) : base(field)
 {
 }
Exemple #9
0
 internal DateTimeResult(FieldResult field) : base(field)
 {
 }
Exemple #10
0
 internal MiscResult(FieldResult field) : base(field)
 {
 }
 internal RelationFieldResult(FieldResult field) : base(field)
 {
 }