Hi varun.p,
Refer below article for exporting crystal report to PDF.
As you don't want to open the report file, you don't need to set the CrystalReportViewer ReportSource property.
You need to initalize the Crystalreport and set the DataSource using SetDataSource properties with Entity Framework.
Then set ExportFormatType to PortableDocFormat and exported it using the ExportToHttpResponse method.
The Crystal Report exported will be exported to PDF and downloaded as Attachment in Browser.
Database
For this example I have used of Northwind database that you can download using the link given below.
Download Northwind Database
HTML
<asp:Button ID="btnExport" runat="server" Text="Export" OnClick="Export" />
Code
protected void Export(object sender, EventArgs e)
{
CustomerReport crystalReport = new CustomerReport();
NorthwindEntities entities = new NorthwindEntities();
crystalReport.SetDataSource(from customer in entities.Customers.Take(5)
select customer);
crystalReport.ExportToHttpResponse(ExportFormatType.PortableDocFormat, Response, true, "Crystal");
Response.End();
}