Submit Entityforms Programmatically

Let's submit entityforms programmatically in Drupal 7. One of the useful modules in Drupal is Entityforms. Suppose we have entity form of type "my_entitty_form" ( machine name of entityform ) with fields like field_entityform_1 and & field_entityform_2, and entity form id is "1". So to save the above entityform, let's write few lines of code.