how to make sqlite database of a custom made object so don’t have to declare every field in database class in android studio?

  Kiến thức lập trình

how can we make sqlite database using a custom object that has different type of declared datatype init so that we don’t have to declare every single filed in the database class.

i am making an app that manages employee sqlite database so i had made an custom object (model class)that has declared every filed that i need to manage in different datatypes. so now want to know that how can we insert this whole custom object into database so that i don’t have to declare every field in database.

New contributor

Daniel Van is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

LEAVE A COMMENT