How to fixed this issue whether running c#,mvc

Posted by Jayakumars under C# on 4/23/2017 | Points: 10 | Views : 3782 | Status : [Member] [MVP] | Replies : 0

how to fixed this repository get list issue

when i invoke this method i meet issue i mention below

 public IEnumerable<TEntity> GetAll()
return db.Set<TEntity>().ToList();

issue this

An exception of type 'System.Data.Entity.Core.EntityCommandExecutionException' occurred in EntityFramework.SqlServer.dll but was not handled in user code

Additional information: An error occurred while executing the command definition. See the inner exception for details.

any one guide me how to fixed this?

Mark as Answer if its helpful to you


(No response found.)

Login to post response