Пример #1
0
 public ParentModel()
 {
     ModelName = "test.parent";
     Name      = FieldFactory.CreateStringField(this, nameof(Name), 100);
     Childs    = FieldFactory.CreateOne2ManyField(this, nameof(Childs), "test.user", "ParentId");
 }