SQL View support in the Odata controller
<p>I have three tables and one view in sql server. I am able to get data of tables but not sure how view would work.</p>

<p>I have created entity mapping of view and entry to context.</p>

<p>public DbSet VDeviceReturnAuthorization { get; }</p>

<p>But i am getting exception message The entity 'VDeviceReturnAuthorization' does not have a key defined.</p>

<p>Anyone have idea?</p>