ColdBox - The parameter entityName to function is required but was not passed in.

I am not really sure this problem, but it seem problem with entity .  Because we are using ORM to interact with database we need to create orm-entity using CommandBox .

coldbox create orm-entity entityName=User primaryKey=id, properties=name,email,password --activeEntity



--activeEntity is most important to write because it will activate the entity ..


Make sure you don't have any space while write for properties. He will get dizzy if you put space like this properties=name, email, <space> password  <-- this is wrong .








Tiada ulasan

Tiada ulasan :

Catat Ulasan