Class EntityObjectJsonConverter.JsonSchemaModelEntity
hierachical data structure representing an EntityObject.
Inheritance
System.Object
EntityObjectJsonConverter.JsonSchemaModelEntity
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: TimeCockpit.Data.JsonConverters
Assembly: TimeCockpit.Data.dll
Syntax
public class JsonSchemaModelEntity
Constructors
JsonSchemaModelEntity(String, ModelEntityBase)
Initializes a new instance of the JsonSchemaModelEntity class.
Declaration
public JsonSchemaModelEntity(string modelEntityName, ModelEntityBase modelEntity)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | modelEntityName | name of the model entity. |
| ModelEntityBase | modelEntity | the model entity representing this schema entity. |
Properties
ModelEntity
Gets the model entity for this schema entity.
Declaration
public ModelEntityBase ModelEntity { get; }
Property Value
| Type | Description |
|---|---|
| ModelEntityBase |
ModelEntityName
Gets the name of the model entity.
Declaration
public string ModelEntityName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Properties
Gets or sets the properties of the entity object represented by this schema.
Declaration
public EntityObjectJsonConverter.JsonSchemaProperty[] Properties { get; set; }
Property Value
| Type | Description |
|---|---|
| EntityObjectJsonConverter.JsonSchemaProperty[] |
Relations
Gets or sets the relations of the entity object represented by this schema.
Declaration
public EntityObjectJsonConverter.JsonSchemaRelation[] Relations { get; set; }
Property Value
| Type | Description |
|---|---|
| EntityObjectJsonConverter.JsonSchemaRelation[] |