private CreateSchemaField AddField <T>(string name) where T : FieldProperties, new() { var field = new CreateSchemaField { Name = name.ToCamelCase(), Properties = new T { Label = name } }; command.Fields = command.Fields ?? new List <CreateSchemaField>(); command.Fields.Add(field); return(field); }
public StringFieldBuilder(CreateSchemaField field) : base(field) { }
public NumberFieldBuilder(CreateSchemaField field) : base(field) { }
public DateTimeFieldBuilder(CreateSchemaField field) : base(field) { }
public BooleanFieldBuilder(CreateSchemaField field) : base(field) { }
public TagsFieldBuilder(CreateSchemaField field) : base(field) { }
public JsonFieldBuilder(CreateSchemaField field) : base(field) { }
protected FieldBuilder(CreateSchemaField field) { this.field = field; }
public AssetFieldBuilder(CreateSchemaField field) : base(field) { }