Written the autofetching methods for the Database mapping  objects.