When using an entity framework model that is in the same project as the code below, everything works fine:
IQueryable
{
return db.sample1;
}
But when referencing an Entity Framework model from an external project I get this error:
Cannot implicityly convert type 'System.Data.Objects.ObjectSet
I am a little confused by this. Can someone explain to me why this is happening.
RichPosted Jul 27, 2012, 4:01 PM
Santhosh Kumar JayaramanPosted Jul 27, 2012, 5:00 AM
{
return db.sample1;
}