protected override FieldDefinition GetFieldDefinitionTemplate()
        {
            var def = new ComputedFieldDefinition
            {

            };

            if (Rnd.Bool())
                def.EnableLookup = Rnd.Bool();

            return def;
        }
 public static ModelNode AddComputedField(this ModelNode model, ComputedFieldDefinition definition, Action<ModelNode> action)
 {
     return model.AddDefinitionNode(definition, action);
 }
 public static ModelNode AddComputedField(this ModelNode model, ComputedFieldDefinition definition)
 {
     return AddComputedField(model, definition, null);
 }