Personally I would start from the database and generate code to match the schema. Like others pointed out it's fairly difficult to go the other way.
Personally I would start from the database and generate code to match the schema. Like others pointed out it's fairly difficult to go the other way.