public EmployeeWithOrgInfo EmployeeGetByIdWIthOrgInfo(int id)
{
// Attempt to get the matching object
var o = ds.Employees.Include("Employee1").Include("Employee2")
.SingleOrDefault(e => e.EmployeeId == id);
// Return the result, or null if not found
return (o == null) ? null : Mapper.Map<EmployeeWithOrgInfo>(o);
}