I know I am missing something completely obvious, but why can't I see the property Local
when working with an EF context? The typical example online looks like the following:
context.Parents.Local
But I am unable to see the Local
property. Now from what I understand, Local is a member of the DbSet class, and I don't think I'm working with a DbSet in my application. What I do know is I've added a reference to the EntityFramework, have using System.Data.Entity
and everything else I'm familiar with doing is working just fine. Except Local
isn't there, and I really do need some sorting capability for my DataGridView
.
Help!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…