In my C# class i have a following code:

```
var myData= Db.SetName;
myData = myData.Where(p => p.Set2.Date >= start
                && p.Set2.Date <= end);

```

Which Db is my DbObject( Or DbContext)

But i Get following error:

```
Error:Cannot implicitly convert type 'System.Linq.IQueryable<SetName>' to 
'System.Data.Objects.ObjectSet<SetName>'. An explicit conversion exists 
(are you missing a cast?)

```

Where is the problem?