how can i new entity struct just by java code!

0
i want to make new entity struct just by java code . i already konw how to make a new object by the entity i made on mendix studio, but how can i make the new entity without mendix studio but just use java code
asked
2 answers
1

You can use the Core.instantiate function to do so:

Core.instantiate(context, objectName)

 

answered
0

If you want to create an entire new entity in the Mendix domain model, you need to do this in Mendix Studio, Mendix Studio Pro, or by using the Mendix SDK which is Typescript based.

If you want to instantiate a new object from an entity, you can use the Java proxy classes that Mendix creates for you, or using Core.instantiate in your Java code.

answered