Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在 dbcontext(Entity framework 4.1) Please Help 中执行以下查询。
从 tblemployee 中选择 empcode+'-'+Empname 作为 empName
from employee in context.Employees select new { empName = employee.empcode + employee.Empname }