title: How to make string as primary key in entity framework!
body: <p>I have a legacy table containing employee name and employee id. Now the employee id is in char because it can hold values starting with an alphabet. Employee id is the only unique field available in the table.</p>
  
  <p>Now I am using a view to capture the data from the table (It is in a separate database). But my entity framework is refusing to identify the view due to the lack of int primary key.</p>
  
  <p>Any solution to this would be highly appreciated as I can not touch the legacy table.</p>