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.

Santhosh Kumar JayaramanRank #563 · 4.3K reputationPosted Jul 27, 2012, 1:00 AM EDT
{
return db.sample1;
}
Rich83 reputationPosted Jul 27, 2012, 12:01 PM EDT