What is the correct way or pattern within .NET SDK to model an object type (using UaModeler) which contains a child that should represent array or list of another object types? To give you an idea I would like to end up with something like this:
public class DummyObjectType
{
// variable NodeClass, BaseDataVariableType type definition, String data type
public string Foo { get; set; }
// variable NodeClass, BaseDataVariableType type definition, Int32 data type
public int Bar { get; set; }
// ? NodeClass, ? type definition, ? data type
public List<MummyObjectType> Mummies { get; set; }
}
public class MummyObjectType
{
// variable NodeClass, BaseDataVariableType type definition, Int32 data type
public int Baz { get; set; }
}
There are the ModellingRules OptionalPlaceholder (0 : n) and MandatoryPlaceholder (1 : n). You can use one of these ModellingRules for modelling arrays of nodes.
Note: The generated Model classes will not contain properties for children specified with one of these ModellingRules.