using (SchoolDataEntities1 store = new SchoolDataEntities1())
{
var businessDepts = from dep in store.Departments
where dep is DeptBusiness
select dep;
foreach (var item in businessDepts)
{
Console.WriteLine(item.GetType().ToString());
}
}
Monday, November 17, 2008
Entity Framework Inheritance
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment