var datas = (from s in db.students
select new {
Name = s. Name
}).Union(
(
from t in db.teachers
Name = t.Name
} ));