Exemplo n.º 1
0
 public FieldListType()
 {
     //
     OptionParameter.Add(new OptionParameter()
     {
         Name        = "Collection",
         Type        = "text",
         Description = "Collection name"
     });
 }
Exemplo n.º 2
0
        public DateTimeFieldType()
        {
            OptionParameter.Add(new OptionParameter()
            {
                Name = "max",
                Type = "date"
            });

            OptionParameter.Add(new OptionParameter()
            {
                Name = "min",
                Type = "date"
            });
        }
Exemplo n.º 3
0
        public NumberFieldType()
        {
            OptionParameter.Add(new OptionParameter()
            {
                Name = "max",
                Type = "number"
            });

            OptionParameter.Add(new OptionParameter()
            {
                Name = "min",
                Type = "number"
            });
        }
Exemplo n.º 4
0
        public IntFieldType()
        {
            OptionParameter.Add(new OptionParameter()
            {
                Name = "max",
                Type = "int"
            });

            OptionParameter.Add(new OptionParameter()
            {
                Name = "min",
                Type = "int"
            });
        }
Exemplo n.º 5
0
        public TextFieldType()
        {
            OptionParameter.Add(new OptionParameter()
            {
                Name = "regexp",
                Type = "text"
            });

            OptionParameter.Add(new OptionParameter()
            {
                Name = "maxlength",
                Type = "int"
            });
        }
Exemplo n.º 6
0
        public ListType()
        {
            //
            OptionParameter.Add(new OptionParameter()
            {
                Name        = "allowNotMapped",
                Type        = "bool",
                Description = "true if you allow values not listed into values"
            });

            //comma separated values
            OptionParameter.Add(new OptionParameter()
            {
                Name        = "values",
                Type        = "text",
                Description = "comma separated values. Format is  A|B|C or 1=A|2=B. | and = are not allowed within values"
            });
        }
Exemplo n.º 7
0
        public RelationFieldType()
        {
            OptionParameter.Add(new OptionParameter()
            {
                Name = "Collection",
                Type = "entities-list"
            });

            OptionParameter.Add(new OptionParameter()
            {
                Name        = "Multiple",
                Type        = "bool",
                Description = "1N or NM",
            });

            OptionParameter.Add(new OptionParameter()
            {
                Name        = "Property",
                Type        = "fields-list",
                Description = "property to show in search list",
            });
        }