I have defined a new entity in my addon.
I have created the db-table and definded getStructure.
Now i am wondering how to use that entity... i mean how to create a new one, set values and then save it into the database.
If i am trying to `new` it i need an entitymanager but doenst have one (afaik).
Suggestions are welcome
I have created the db-table and definded getStructure.
Now i am wondering how to use that entity... i mean how to create a new one, set values and then save it into the database.
If i am trying to `new` it i need an entitymanager but doenst have one (afaik).
Suggestions are welcome