Working with Models in Magento 2

This is part 2 of two parts article. See part 1 by clicking here. This article is part 2 of “Working with Magento 2 Models”, which is talking about Model class file creation in Magento 2 and fetching data from database table using same. To see part 1 click on Creating Setup script in Magento(…)