Class FieldSingleRelation
The field used to store a single relation
Inheritance
FieldSingleRelation
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
Defines the allowed elation types.
Declaration
[JsonProperty("relationTypes", Required = Required.Always)]
[Required]
public ICollection<RelationType> RelationTypes { get; set; }
Property Value
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
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
Settings for displaying purposes in the UI
Declaration
[JsonProperty("uiSettings", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public RelationUiSettings UiSettings { get; set; }
Property Value
Methods
Declaration
public static FieldSingleRelation FromJson(string data)
Parameters
Returns