Well i was stuck at this question from past 1 hour but now i have finally found it.
In order to specify the server name for the .net provider of Oracle please use the EX Connect format as specidified below:
//localhost:1521/db_name
General syntax is:
//Name of the server:port number/Db