Search Results for

    Show / Hide Table of Contents

    Class FieldSingleRelation

    The field used to store a single relation

    Inheritance
    object
    FieldBase
    FieldSingleRelation
    Inherited Members
    FieldBase.Id
    FieldBase.IndexId
    FieldBase.FieldNamespace
    FieldBase.Names
    FieldBase.Descriptions
    FieldBase.Required
    FieldBase.UiBehavior
    FieldBase.Index
    FieldBase.SimpleSearch
    FieldBase.Sortable
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: System.Dynamic.ExpandoObject
    Syntax
    [GeneratedCode("NJsonSchema", "13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.0.0))")]
    public class FieldSingleRelation : FieldBase

    Properties

    RelationTypes

    Defines the allowed elation types.

    Declaration
    [JsonProperty("relationTypes", Required = Required.Always)]
    [Required]
    public ICollection<RelationType> RelationTypes { get; set; }
    Property Value
    ICollection<RelationType>

    SchemaId

    The ID of the schema used for relation metadata (it must be of type Struct, and it cannot be a system schema).

    Declaration
    [JsonProperty("schemaId", Required = Required.Always)]
    [Required]
    public string SchemaId { get; set; }
    Property Value
    string

    SchemaIndexingInfo

    Indexing information of fields of the related schema identified by the SchemaId property.

    Declaration
    [JsonProperty("schemaIndexingInfo", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
    public SchemaIndexingInfo SchemaIndexingInfo { get; set; }
    Property Value
    SchemaIndexingInfo

    UiSettings

    Settings for displaying purposes in the UI

    Declaration
    [JsonProperty("uiSettings", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
    public RelationUiSettings UiSettings { get; set; }
    Property Value
    RelationUiSettings

    Methods

    FromJson(string)

    Declaration
    public static FieldSingleRelation FromJson(string data)
    Parameters
    string data

    Returns
    FieldSingleRelation

    ToJson()

    Declaration
    public string ToJson()
    Returns
    string

    Back to top Generated by DocFX