I have following code
using (AdventureWorksEntities database = new AdventureWorksEntities())
But it is showing that
'New_WCF_App1.AdventureWorksEntities': type used in a using statement must be implicitly convertible to 'System.IDisposable'
How to solve this