예제 #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;
 }
예제 #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)));
     }
 }
예제 #3
0
 public Assignment(FieldResult field, IValue value)
 {
     Field = field;
     Value = value;
 }
예제 #4
0
 internal BooleanResult(FieldResult field) : base(field)
 {
 }
예제 #5
0
 public StringResult(FieldResult field, Func <QueryTranslator, string?>?function, object[]?arguments = null, Type?type = null) : base(field, function, arguments, type)
 {
 }
예제 #6
0
 internal StringResult(FieldResult field) : base(field)
 {
 }
예제 #7
0
 internal NumericResult(FieldResult field) : base(field)
 {
 }
예제 #8
0
 internal FloatResult(FieldResult field) : base(field)
 {
 }
예제 #9
0
 internal DateTimeResult(FieldResult field) : base(field)
 {
 }
예제 #10
0
 internal MiscResult(FieldResult field) : base(field)
 {
 }
 internal RelationFieldResult(FieldResult field) : base(field)
 {
 }