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.
I have created entity mapping of view and entry to context.
public DbSet VDeviceReturnAuthorization { get; }
But i am getting exception message The entity 'VDeviceReturnAuthorization' does not have a key defined.
Anyone have idea?